Home >Web Front-end >HTML Tutorial >About the difference between cognos' HTML project tools and rich text tools_html/css_WEB-ITnose
In the toolbox of cognos report studio, there are two controls
HTML project and rich text project, as shown below
These two things, everyone who has some experience in cognos probably know that they are used to enrich the cognos report page, and can achieve more functions or styles that cognos does not have (such as freezing headers and the like)
I have used them before, but I have never figured out what the big difference is between them.
When I was doing the test today, I discovered a small difference (or I never noticed it) Bar)
Rich article projects cannot add tags such as 3f1c4e4b6b16bbbd69b2ee476dc4f83a, c9ccee2e6ea535a969eb3f532ad9fe89, 6c04bd5ca3fcae76e30b72ad730ca86d, 100db36a723c770d327fc0aef2ce13b1. If these tags are written, it will Error report
As for the HTML project control, there is no such restriction
From the error message, the rich text project control only allows div,
of tags such as span, ul, ol, img, table, etc. I also tested it here, and it is indeed possible
and table is special
cannot be an empty table tag , what does it mean?
Even an empty table like f5d188ed2c074f8b944552db028f98a1f16b1740fad44fb09bfe928bcc527e08 does not meet the requirements
If you go to the table with tr and td tags as shown below
<table><tr><td></td><td></td></tr><tr><td></td><td></td></tr></table>
It meets the requirements
As for the HTML project control, I haven’t found any specific restrictions for the time being
Summary: I don’t understand why cognos is divided into two controls, because the HTML project control is used You can write any front-end code. If you want to save trouble, it is recommended to only use HTML project controls
End of this blog~~~~