Text
interface represents the textual content of Element
or Attr
. Text
that contains the element's text. However, if the element contains markup, it is parsed into information items and Text
nodes that form its children.Text
node for each block of text. Over time, more Text
nodes may be created as the document's content changes. The Node.normalize()
method merges adjacent Text
objects back into a single node for each block of text.SuperText implements all the properties and methods of the following classes:
CDATASection | CharacterData |
EventTarget | Node |
Text |