Document Object Model: Difference between revisions

Content deleted Content added
Susko3 (talk | contribs)
m Implementations: Reword to fix typo
Tags: Mobile edit Mobile app edit Android app edit App section source
m Elements as nodes: tweaked grammar of a list
Line 79:
 
=== Elements as nodes ===
Elements in an HTML or XML document are represented as nodes in the DOM tree. Each element node has a tag name, and attributes, and can contain other element nodes or text nodes as children. For example, an HTML document with the following structure:<syntaxhighlight lang="html">
<html>
<head>