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

The following table lists some of the most common HTML tags that you'll use to build your website. After you've worked in HTML for a little while, these tags will become second nature to you.

Tag Name Code Example
> anchor href="http://www.yourdomain.com/">Click Here
bold Bold Type
body of document All of the contents of your Web page.

line break Soft line break
Soft line break
center
Center your content
font face="Times New Roman">Example
form action="mailto:[email protected]">
Name: "Name" value=" size="10" />

heading 1

Heading 1 Example

heading 2

Heading 2 Example

heading 3

Heading 3 Example

heading of document Contains elements describing the document
hypertext markup language Title of your webpageWebpage contents
<i> italic <i>Italic Typei>
  • list item
      "i">
    1. List item 1

    2. List item 2

    3. List item 3

    4. List item 4

    meta name="Description" content="Description of your site" />
    name="keywords" content="keywords describing your site" />
      ordered list

      1. List item 1

      2. List item 2

      3. List item 3

      4. List item 4

      paragraph

      This creates a line break and a space between lines.

      </span></td> <td>document title</td> <td><span class="code"><b><title></b></span><span class="code">Title of your webpage</span><span class="code"><b>
        unordered list

        • List item 1

        • List item 2

        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: