These HTML tags are in just about every page. They are just "sections" of the page. Use them with the appropriate LessThanGreaterThan HTML brackets.
Some of these might be safe to leave out. Keep in mind, however that if you leave off the HTML tags, these files might not load into word processors (for editing) correctly.
The BODY tag (funny) should specify the Background Color you want. Otherwise, the background could be ANY color, as specified by each user's browser.
These HTML tags are used for formatting page (i.e., for page layout). Use them with the appropriate LessThanGreaterThan HTML brackets.
These don't need the closing slash
IMG SRC=filename.gif or .jpg
These do need the closing slash
H1 (through H6)
Other neato stuff
You can decide the graphic's width and height like so:
WIDTH=500 (or by % saying =50%) HEIGHT=10
If you really want to, you can add all the extra stuff, but here's stuff I left
and the page still worked (at least in some browsers).
File and Path names
When I took a basic HTML class, the instructor advised us to keep ALL our files in the
same directory. That seems a bit extreme to me, but I would think that one should keep as
many files as possible in as few directories as possible. That way you very seldom have to
include (or update!) directory names; and broken links within your own site would be kept
to very few or none.
IMG SRC tag
I DIDN'T NEED THIS
AND DIDN'T NEED QUOTE MARKS AROUND THE FILE NAME. Yay.
If I have a file or directory name that has spaces in it, then I need the quotes around the path.
Typical page codes
Unless I have a specific need for them, I leave out certain codes from Linked sub-pages. If I want the page to have a "title," then I include them. If I want the page to have special programs that are not part of official HTML code, then I include them.
I have left these off without noticeable side-defects:
Back to "I took a class" Page.
Back to HTML Code and Comments page.