A brief introduction to HTML
|
HTML 4.01
-
If you want to use HTML 4.01, you need
exactly this at the beginning of your document:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN">
<html>
- You can just copy this: it will always be the
same.
- Obviously, you still need </html> at
the very end...
-
In HTML 4.01
- attribute and tag names can be either upper or lower
case
- attribute values don't always have to be quoted (but
the rules about when they don't are complex so it's
better to)
- empty tags don't have to have the trailing slash