Mohamed Fadel Buffon
Make them believe that the data is inside acomment.
For example :
With the script element, use a single lineECMAScript comment (//) to hide the endtoken from browsers .
For example :
In HTML, their contents aredefined as CDATA, meaningeverything from the start of thecontents to the next occurrence ofthe closing token (</ in this case)is considered character data thatisn't parsed as markup.
in XHTML their contents aredefined as PCDATA, meaning thecontents are parsed as markup.
If you wish to include < and &characters in your script or style
sheet, you will run into problems.
in XHTML, you must mark up aspecial CDATA section.
So, use the styling or scriptinglanguage to comment out theCDATA section markers.
For example:
to write XHTML that can also be handled bycommon HTML user agents as well as old browsersthat don't support the style and script elements.
Contact : [email protected]