Appendix A. HTML Tags

Basic Tags/Attributes

Tag/Attribute

Description

<!-->

Inserts a comment

<!DOCTYPE>

Indicates what version of HTML is used

<BODY>

Identifies content on a Web page

<BR>

Creates a new line

<H1>, <H2>, <H3>, <H4>, <H5>, <H6>

Creates heading levels

<HEAD>

Contains information about a Web page title, style sheets, and search engine keywords

<HTML>

Identifies an HTML document

<META>

Contains extra information about the Web page

CONTENT

Specifies custom information about a page

NAME

Adds description or copyright information to a Web page

<P>

Starts a new paragraph

ALIGN

Aligns a paragraph

<TITLE>

Creates a title for a Web page

Text Formatting Tags/Attributes

Tag/Attribute

Description

<B>

Bolds text

<BASEFONT>

Specifies a default font for the entire page

COLOR

Specifies ...

Get Teach Yourself VISUALLY™ HTML and CSS now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.