HTML: the Root Element

By Xah Lee. Date: .

What's Root Element?

root element” of HTML is the element represented by the <html></html> tags.

Root element of XML may be other, depending on the XML. For example, root element of SVG is represented by the <svg></svg> tags.

[see Practical SVG Tutorial]

Root element of Atom Web Feed is <feed></feed>.

Why is Root Element Important?

It's important because many CSS unit's meaning refers to it.

[see CSS: Units]

Liket it? I spend 2 years writing this tutorial. Help me spread it. Tell your friends. Or, Put $5 at patreon.

Or, Buy JavaScript in Depth

If you have a question, put $5 at patreon and message me.

Web Dev Tutorials

  1. HTML
  2. Visual CSS
  3. JS in Depth
  4. JS Object Ref
  5. DOM Scripting
  6. SVG
  7. Blog