HTML in Ten Minutes

BLHteacher | Resources | Project


  1. Start with the Basics.

    Create an HTML document

    <html></html>
    Set off the title and other information that won't be displayed.
    <head></head>

  2. Next: Add a Title.

    Every HTML document needs a Title. The title text is preceded by the start tag <title> and ends with the matching end tag </title>. The title should be placed at the beginning of your document. The Title labels the page when the page is bookmarked.

    <title>My first HTML document</title>
    

  3. Add Headings and Paragraphs.

    HTML has six different levels of headings. H1 is the most important, H2 is slightly less important, and so on down to H6, the least important.

    Here is how to add a heading:

    <h1>An important heading</h1>
    

    and here is a slightly less important heading:

    <h2>A slightly less important heading</h2>
    

    Each paragraph you write should start with a <p> tag. The </p> is optional, unlike the end tags for elements like headings. For example:

    <p>This is the first paragraph.</p>
    
    <p>This is the second paragraph.</p>
    
  4. Add Emphasis.

    You can add emphasis to one or more words with the <em> tag, the <strong> tag or the <b> bold tag.

    This is a really <em>interesting</em> topic!
    

    or

    This is a really <strong>interesting</strong> topic?