Review: The 4 Main Document Elements

Can you see how a single page is similar to how you’re structured? You only have one head and one body, and the head always comes first.

stick figure representing head and body of an HTML document

This is the basic layout of an HTML document.

<!DOCTYPE html>
    <!-- Meta data and information about your site, not visible to visitors. -->

    <!-- “My Way-Cool Awesome Site!” contents, visible to visitors. -->

html document elements page structure