Headings: [Skip]

Web-Design Tutorials by Dr Sam

XHTML Strict Specs, Part 1

Menu [Skip]

Slash to Close Tags

Stand-Alone Tags

Examples in the Body of a Document

Even those tags that stand alone, not in pairs, must be closed by a slash. Here are a few examples of stand-alone tags in the body of a document:

Notice the Space before the Closing Slash

There is a space before the closing slash in the stand-along tags. Look at the same examples again: