Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML DOM Tutorial

HTML DOM Tutorial

DOM (Document Object Model) is translated asDocument Object Model, which is the programming interface for HTML and XML documents.

The HTML DOM defines the standard methods for accessing and manipulating HTML documents.

The DOM represents an HTML document as a tree structure.


HTML DOM Tree Structure:

HTML DOM Examples

Learn 100 examples! Using our editor, you can edit the HTML document, then click the "Try it" button to see the result.

Online Examples!

HTML DOM Examples

Click the light bulb to turn the light on/off

Try it »

HTML DOM Reference Manual

At Runoob Tutorial, we provide a complete HTML DOM reference manual with online examples.

HTML DOM Reference Manual