In this overview of tags, I have used some simple rules to make the syntax clear. It also allows me to provide the information in a short format.
To illustrate the syntax rules, here's the section on IMG:
|May occur in:||BODY, H1, H2, H3, H4, H5, H6, P, LI, DT, DD, DIV, CENTER, BLOCKQUOTE, FORM, TD, TH, PRE, ADDRESS as well as TT, I, B, U, STRIKE, BIG, SMALL, SUP, SUB, EM, STRONG, DFN, CODE, SAMP, KBD, VAR, CITE, A, IMG, FONT, APPLET, BR, SCRIPT, MAP, BASEFONT, INPUT, SELECT, TEXTAREA and plain text.
The first section, Appearance, gives a common way to use this tag. As you can see here, the IMG tag does not have an ending tag. If the beginning or ending tag appears inside square brackets, it is optional and may be left off.
The next section describes the attributes for the IMG tag. If an attribute appears in bold, it is required, otherwise it may be omitted. In the above case, SRC is required, but the other attributes are not. Note that the attributes themselves are listed in all caps, and the possible values (if possible) in lower case. Note that an attribute value must be quoted if it contains more than just letters, digits, hyphens and periods.
The contents section describes which tags are permitted inside this tag. For IMG, there are none. And last, you can see which tags allow IMG inside them.
The attributes and their values are noted in a very compact format as
well. The "|" character is used to separate mutually exclusive
attributes or values. For example,
that attribute "A" may get foo or bar as value, but not both, or
that you may use either A or B, but not both.
If an attribute can take more possible values than can be given in a list, the following special symbols are used:
Reference index ~ Wilbur index ~ Tag overview ~ Feedback
Copyright © 1996 Arnoud "Galactus" Engelfriet.