What is the CDATA section in HTML?

What is the CDATA section in HTML?

We know that All text of XML document we parsed by the parser.But if we write any text inside the double quotes than when it will parsed by the parser it will gives the result like that.

Example:

\"We should know that in XML every start tag like <s> should be closed like </s>\"

 If  it will parse by the parser than.

<XML>\"We should know that in XML every start tag like &lt;s&gt; should be closed like &lt;/s&gt;\"</XML>


 If you want that our given text like that we have write than we have to use this in a CDATA 

element.

\"<!CDATA[We should know that in XML every start tag like <s> should be closed like </s>]]>\"



By:Vivek
Date:2015-01-09 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related XML Subjective Links

XML Subjective interview questions and answers for experienced and fresher