Document Structure Elements | Text Formatting Elements | Page Layout Elements | Additional Resources |
The basic structure of an HTML tag is illustrated in the following:
<H1 ALIGN=right>This is the title</H1>
The entire structure seen above can be regarded as an element. This element consists of a start tag and an end tag, which together contain and format the enclosed content. The align property of the start tag is an example of an attribute. Attributes enable one to modify standard elements or specify particular properties.
Document Structure Elements |
|
---|---|
<HTML>...</HTML> | This element identifies the document as containing HTML elements |
<HEAD>...</HEAD> | Contains an unordered collection of information about the document |
<TITLE>...</TITLE> | This is the only required element within the Head element |
<BODY>...</BODY> | Contains all of the text and images that make up the page |
<META...> | Used within the <HEAD> element to embed any useful information not defined by other HTML elements |
Text Formatting Elements |
|
---|---|
<!-- ... --> | Allows comments to be embedded in HTML that won't be rendered |
<B>...</B> | Render text in boldface |
<FONT>...</FONT> | Enables specifying font type, size, and color |
<I>...</I> | Render text in italics |
<SUB>...</SUB> | Subscript element |
<SUP>...</SUP> | Superscript element |
<U>...</U> | Render text as underlined |
<A HREF...>...</A> | Anchor element (designates contained text as a hypertext link) |
Page Layout Elements |
|
---|---|
<TABLE>...</TABLE> | The main wrapper for all other table elements |
<TH>...</TH> | Table header element (default boldface font and center alignment) |
<TR>...</TR> | Table row |
<TD>...</TD> | Table data (specifies a table cell contained in a table row) |
<P>...</P> | Paragraph element |
<BR> | Line break element |
<HR> | Horizontal rule element (size, width, and color properties can be modified) |
<IMG SRC=...> | Embeds in-line graphics into an HTML document |
There are literally thousands of Web authoring resources out there. Here is a small sampling to help you get started.