Beginning HTML5 and CSS3 For Dummies
Book image
Explore Book Buy On Amazon

If you're creating Web pages, you can't escape using HTML, and really, why would you want to? The Web language translates your glorious ideas into engaging Web pages. The lists here offer the basic HTML tags used most often in formatting Web pages, including links to other Web pages, inserting images on your page, and creating tables.

Formatting text

You need headings to organize your Web page, differing types of type to place emphasis, and lists to keep things interesting. These tags help you format them all:

  • Headings:

    Top heading

    ,

    Next-level heading

    , ...
    Lowest heading

  • Bold: text

  • Italic: text

  • Paragraph:

    A paragraph of text

  • Bulleted list:

    • First list item
    • Second list item

  • Numbered list:

    1. Item #1
    2. Item #2

Inserting links

Web sites are meant to link to other sites and be linked to them. These HTML tags are the ones you need to connect in the ether:

Graphics and multimedia

You want graphics and multimedia on your Web page to add visual interest. These HTML tags show how to include visuals:

  • Photos and still images:

    My photo!

  • Moving images:

Drawing tables

Setting up tables means setting a border and making HTML tags for every row and cell:

  • Start table with 1-pixel border:

  • Rows and cells:


  • Table end:

  • First Row, First CellFirst Row, Second Cell
    >Second Row, First CellSecond Row, Second Cell

About This Article

This article is from the book:

About the book authors:

Ed Tittel is a 30-year veteran of the technology industry, with more than 140 computing books to his credit, including the bestselling HTML For Dummies. Chris Minnick is an author, trainer, and web developer who has worked on web and mobile projects for both small and major businesses. Learn more at watzthis.com.

This article can be found in the category: