HTML Tutorial
HTML Forms
HTML Graphics
HTML Media
An HTML element is defined by a start tag, some content, and an end tag.
<!DOCTYPE html>
.
The HTML document itself begins with <html>
and ends with </html>
The HTML element is everything from the start tag to the end tag:
HTML elements can be nested (this means that elements can contain other elements).
All HTML documents consist of nested HTML elements.
The following example contains four HTML elements (<html>
, <body>
, <p>
, <h1>
):
>