The Wayback Machine - https://web.archive.org/web/20150908065121/https://developer.mozilla.org/it/docs/Web/API/CDATASection

CDATASection

di 6 collaboratori:
I volontari di MDN non hanno ancora tradotto questo articolo in Italiano. Registrati per tradurlo tu.

A CDATA Section can be used within XML to include extended portions of unescaped text, such that the symbols < and & do not need escaping as they normally do within XML when used as text.

It takes the form:

<![CDATA[  ... ]]>

For example:

<foo>Here is a CDATA section: <![CDATA[  < > & ]]> with all kinds of unescaped text. </foo>

The only sequence which is not allowed within a CDATA section is the closing sequence of a CDATA section itself:

<![CDATA[  ]]> will cause an error   ]]>

Note that CDATA sections should not be used (without hiding) within HTML.

As a CDATASection has no properties or methods unique to itself and only directly implements the Text interface, one can refer to Text to find its properties and methods.

Specification

Etichette del documento e nomi di chi ha collaborato alla sua stesura

Contributors to this page: teoli, kscarfone, Sheppy, ethertank, Brettz9, Sephr
Ultima modifica di: teoli,