1.0 Template for HTML files
<HTML>
<HEAD>
<TITLE>Document_Title_Goes_Here</TITLE>
</HEAD>
<BODY>
content does here, between the body tags
</BODY>
</HTML>
2.0 Basic text formatting
2.1 Font size
Text formatted with the <H1>...</H1> tags.
Text formatted with the <H2>...</H2> tags.
Text formatted with the <H3>...</H3> tags.
Text formatted with the <H4>...</H4> tags.
Text formatted with the <H5>...</H5> tags.
Text formatted with the <H6>...</H6> tags.
Text formatted with the <H7>...</H7> tags.
Text formatted with the <H8>...</H8> tags.
Text formatted with the <H9>...</H9> tags.
Text formatted with the <H10>...</H10> tags.
Normal text, with no tags will appear like this.
2.2 Font style
Boldface formatted with the <b>...</b> tags.
Italics formatted with the <i>...</i> tags.
Underline formatted with the <u>...</u> tags.
2.3 Spacing
Line break formatted with the <br>tag.
Paragraph break formatted with the <p>tag.
Horizontal line with shade formatted with the <hr>tag.
Horizontal line with no shade formatted with the <hr noshade>tag.
Centererd text formatted with the <center>...</center> tags.
3.0 Images
3.1 Basic image
For example, the code: <IMG SRC="icon29.gif"> will appear as
3.1 Aligning images
For example, the code: <IMG SRC="icon29.gif align=right"> will appear as
For example, the code: <center><IMG SRC="icon29.gif align=center"</center> will appear as
4.0 Basic links
4.1 A Text Link
Making a text link requires four components:
- (1) beginning tag: <a href="http://www.unc.edu">
- (2) URL embedded in beginning tag: "http://www.unc.edu"
- (3) text to click on to enact link: Click here
- (4) ending tag: </a>
For example, the code:
<A HREF="http://www.unc.edu">Click here</A>
will appear as
Click here
4.2 An Image Link
Making an image link requires four components:
- (1) beginning tag: <a href="http://www.unc.edu">
- (2) URL embedded in beginning tag: "http://www.unc.edu"
- (3) image code to click on to enact link: <IMG SRC="icon29.gif">
- (4) ending tag: </a>
For example, the code:
<A HREF="http://www.unc.edu"><IMG SRC="icon29.gif"></A>
will appear as
Click here to learn about tables and frames.