The Wonderful World of HTML Tags and CSS Properties

HTML Tags

  1. <a>

    The a tag (for "anchor") along with the href argument allows the creation of hyperlinks, like this one to my personal site.

  2. <img>

    The img tag is used to insert images into pages.

  3. <ol>

    The ol tag is all about creating ordered lists.

    1. First you put in an ol tag
    2. Then you put some li tags
  4. <div>

    The div tag is your ticket to organization and formatting without adding visible things to the page. You can rack up some divs to give different style to different parts of the page. This paragraph is rocking it's own special div that makes it blue.

  5. <title>

    The title tag lives up in the <head> and sets the title text that appears in the tab you're viewing this in.

CSS Tags

  1. color

    The color property is used to change text color. We already showed you blue before so why not see some red now?

  2. font-family

    The font-family property is what you're going to want to emply to use a different font. The tags that start each list item here have a font-family of "Courier."

  3. background-color

    Guess what the property background-color changes.

  4. border

    The border property's function is also betrayed by its name. It's a spiffly little property though, because it lets you specify width, color, and dashedness all at once.

  5. font-size

    Man, they really were pretty straightforward when they named these CSS properties. font-size, as you'd imagine, specifies the font size.