82 Part III . Document Objects Reference Table (Web hosting service)
82 Part III . Document Objects Reference Table 14-3 W3C DOM HTML-Related Node Types Type Number nodeName nodeValue Description IE5+ NN6 Element 1 tag name null Any HTML or XML tagged element Yes Yes Attribute 2 attribute name attribute value A name-value attribute pair in an element No Yes Text 3 #text text content A text fragment contained by an element Yes Yes Comment 8 #comment comment text HTML comment No Yes Document 9 #document null Root document object No Yes DocumentType 10 DOCTYPE null DTD specification No Yes Fragment 11 #documentfragment null Series of one or more nodes outside of the document No Yes Applying the node types of Table 14-3 to the node diagram in Figure 14-3, you can see that the simple page consists of one document node, six element nodes, and four text nodes. Node properties A node has many properties, most of which are references to other nodes related to the current node. Table 14-4 lists all properties shared by all node types in DOM Level 2. Table 14-4 Node Object Properties (W3C DOM Level 2) Property Value Description IE5/Win IE5/Mac NN6 nodeName String Varies with node type (see Table 14-3) Yes Yes Yes nodeValue String Varies with node type (see Table 14-3) Yes Yes Yes nodeType Integer Constant representing each type Some Yes Yes
If you are looking for affordable and reliable webhost to host and run your business application visit our ftp web hosting services.