- TITLE sets the title of your HTML document to whatever you specify.
Example:
<TITLE>My Web Page</TITLE>
- H1, H2, H3, H4, H5, and H6 let you make headers. Example:
<H1>This is a big header</H1>
<H6>This is a tiny header</H6>
- P lets you specify a paragraph, line break followed by a blank line. Example:
Joe said, "Isn't this a nice Paragraph?"<P>
"Not really, I kinda like this Paragraph more," said Bobby.
- BR puts in a line break. Example:
Roses are red,<BR>
Violots are blue;<BR>
I can do line breaks,<BR>
...but can you do them too?
- A HREF lets you create links. Here's an example:
If you like fishing on the Sandy River, visit the <A HREF =
"http://www.europa.com/~timp/">Sandy River Fishing Homepage</A>.
- IMG SRC lets you pop in a
Example:
Here's a picture of my dog: <IMG SRC="mydog.gif" alt="[MY DOG]">
- B puts text in bold. Example:
The dog said, "I'm so <B>hungry</B>!"
- I puts text in italic. Example:
But then the <I>owner</I> said...
- HR draws a horizontal rule/line wherever you throw it in. Example:
...blah blah, blah. That concludes the first section.
<HR>
And so this is the second section... blah blah blah...
- UL and OL start lists. (This page is actually a giant UL list).
Example:
<OL>
<LI>This is the first part of my list
<LI>This is the second.
</OL>
- CENTER centers an area of text. Example:
<CENTER>Run Fido, Run</CENTER>
- PRE is for preformatted. This will draw down in a uniform font,
(usually courier), and preserve any spacing you have in the text between <PRE> and </PRE>. PRE was used for the examples on this page. Here's an example:
Blah Blah, Blah. See the file:
<PRE>
c:\blah\blah.exe Now some more text with a bunch of spaces
You could line things up.
</PRE>