HTML documents consist of nested elements, where elements contain other elements.
The subsequent illustration comprises four HTML elements: <html>, <body>, <h1>, and <p>.
Example
<!DOCTYPE html> <html> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> </body> </html> |