WEEK: 6

HTML Basics

HTML Basics Video

What other tags do we need to make stuff show up?
<html>
    <head>
        <title>My First Page</title>
    </head>
    <body>
        <h1>My first website</h1>
        <p>My stuff is really important.</p>
        <br />
        How do you like them apples?
    </body>
</html>

What are these tags?

  1. html - this is the main tag that lets the browser know that the page is going to contain HTML tags.
  2. head - this is the tag that contains items that will not show up directly in the browser, but can affect the items that do show up in the browser (see the 'title' tag and CSS next week)
  3. title - this tag is what is displayed at the top of the window of the browser or in the tab. It does not show in the page itself.
  4. body - this tag surrounds all the tags that are to show up in the web browser window.
  5. h1 - this is a header tag. There are headers 1-6 where h1 is the largest and h6 is the smallest
  6. p - the p tag creates paragraph breaks
  7. br - the br tag creates a simple line break

See the Pen HTML Basics by Michael Cassens (@retrog4m3r) on CodePen.


Previous section:
Next section: