The following example shows the syntax for a tag entry:
<!ELEMENT htmlTag NAME="tagName ">
<!ATTLIST htmlTag
unsupportedAttribute1 !Error !msg="The unsupportedAttribute1
attribute of the htmlTag tag is not supported.Try using
supportedAttribute1 for a similar effect."
supportedAttribute1
supportedAttribute2 (validValue1 |validValue2 |validValue3 )
unsupportedAttribute2 !Error !msg="Don't ever use the
unsupportedAttribute2 attribute of the htmlTag tag!"
>
The elements shown in this syntax are defined as follows:
•
is the tag as it appears in an HTML document.
htmlTag
•
is an explanatory name for the tag; for example, the name for the
tagName
"Horizontal Rule." The
messages; if you do not supply a name,
•
unsupportedAttribute
specifically mentioned as supported attributes are assumed to be unsupported. Specify
unsupported tags or attributes only when you want to create a custom error message.
•
supportedAttribute
an
designation are considered to be supported by the browser.
!Error
•
indicates a value that is supported by the attribute.
validValue
The following example shows an entry for the
Navigator 3.0:
<!ELEMENT APPLET Name="Java Applet">
<!ATTLIST APPLET
Align (top |middle |bottom |left |right |absmiddle |
absbottom |baseline |texttop )
Alt
Archive
Class !Warning !msg="This browser ignores the CLASS attribute for the APPLET
tag."
Code
Codebase
Height
HSpace
ID !Warning !msg="This browser ignores the ID attribute for the APPLET tag.
Use NAME instead."
Name
Style !Warning !msg="This browser ignores the STYLE attribute for the APPLET
tag."
VSpace
Width
>
40
Chapter 2: Extending Dreamweaver
attribute is optional. If specified,
NAME
htmlTag
is an attribute that is not supported. Any tags or attributes not
is an attribute that is supported by
APPLET
tagName
is used in error messages.
. Only tags listed without
htmlTag
tag that would be accurate for Netscape
tag is
HR
is used in error
Need help?
Do you have a question about the DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER and is the answer not in the manual?
Questions and answers