Skip Navigation.

NWE Help: Web: Authoring: HTML: Common Goofs

NWE Home :: Help :: Web :: Authoring :: HTML

Here are some of the mistakes commonly made in HTML documents:

Omitting a closing tag
Type your tags in pairs to make sure that you don't create a document with all bold fonts, which looks awful.
Information in a table has vanished!
Make sure you have a <TABLE> tag. If you don't, none of your data will show up.
Crossing tags
Container tags should be opened and closed in the order they appear.
Wrong: <STRONG> <EM> </STRONG> </EM>
Right: <STRONG> <EM> </EM> </STRONG>
Typing outside the HEAD or BODY
Header information (META tags, titles, etc) belongs in the HEAD of your document. The content of the page goes in the BODY. Period.
Not including quotes in pairs
If you use quotes to delimit attribute values like the names of images or alignment of paragraphs, make sure your quotes appear in pairs. A single missing quote can wreak havoc.
Not having a document skeleton
Always use a full document skeleton or your pages may not display properly.