edit-article
Home
Up
Delete
Article Name:
Article Description:
whats NEW ...]
Chapter ID/Name:
Status:
Write
Writing
Written
Add Photo:
Owner ID:
Content:
use HTML
Edit Content
<h2 style="text-align: center;">objects -DOM CORE nodes</h2> <h2>[WHAT]</h2> <ol> <li><strong>] the browser reads the html page and constructs the "DOM",</strong></li> <ol> <li>each html element becomes a DOM node including the Document itself</li> </ol> <li><strong>] In the HTML DOM (Document Object Model), everything is a "node"</strong></li> <ol> <li>The document itself is a document node</li> <li>All HTML elements are element nodes</li> <li>All HTML attributes are attribute nodes</li> <li>Text inside HTML elements are text nodes</li> <li>Comments are comment nodes</li> </ol></ol> <h2>[WHY]</h2> <ol> <li><span style="text-decoration: line-through;">] <a href="http://www.w3schools.com/jsref/dom_obj_node.asp" target="_blank">dom node</a></span></li> <ol> <li><span style="text-decoration: line-through;">] </span></li> </ol> <li><span style="text-decoration: line-through;">] <a href="http://www.w3schools.com/jsref/dom_obj_nodelist.asp" target="_blank">dom nodeList</a></span></li> <ol> <li><span style="text-decoration: line-through;">] </span></li> </ol> <li><span style="text-decoration: line-through;">] <a href="http://www.w3schools.com/jsref/dom_obj_namednodemap.asp">DOM NamedNodeMap</a> </span></li> <ol> <li><span>In the HTML DOM, the <strong>NamedNodeMap object</strong> represents an unordered collection of an elements attribute nodes. </span></li> <li><span>Nodes in a NamedNodeMap can be accessed by name or by index (number).</span></li> </ol> <li>] <a href="http://www.w3schools.com/jsref/dom_obj_document.asp" target="_blank">DOM Document</a></li> <ol> <li>OLD <a href="http://www.w3schools.com/jsref/dom_obj_core_document.asp">http://www.w3schools.com/jsref/dom_obj_core_document.asp</a></li> </ol> <li>] <a href="http://www.w3schools.com/jsref/dom_obj_all.asp" target="_blank">DOM Element</a></li> <ol> <li>OLD <a href="http://www.w3schools.com/jsref/dom_obj_element.asp">http://www.w3schools.com/jsref/dom_obj_element.asp</a></li> </ol> <li>] <a href="http://www.w3schools.com/jsref/dom_obj_attributes.asp" target="_blank">DOM Attribute</a></li> <ol> <li>OLD <a href="http://www.w3schools.com/jsref/dom_obj_attr.asp">http://www.w3schools.com/jsref/dom_obj_attr.asp</a></li> </ol> <li>] <a href="http://www.w3schools.com/jsref/dom_obj_event.asp" target="_blank">DOM Events</a></li> <ol> <li>]</li> </ol></ol> <h2>[WHERE]</h2> <ol> <li>]</li> </ol> <h2>[WHEN]</h2> <ol> <li>]</li> </ol> <h2>[EXAMPLE]</h2> <ol> <li>]</li> </ol> <h2>[HOW-TO]</h2> <ol> <li>]</li> </ol> <h2>[REFERENCE]</h2> <ol> <li>]</li> </ol>