You must use a space in the following places:
Before the closing angle bracket (>) on the
After the opening parentheses in a list of values for an attribute
Before a closing parentheses in a list of values
Before and after each pipe (|) in a list of values.
You must include an exclamation point (!) without a space before each of the following
words:
,
ELEMENT
ATTLIST
You can include
!Error
area.
messages can contain only plain text.
!msg
HTML comments (
interfere with parsing. Dreamweaver does not report an error for comments because all
browsers support them.
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
without an
!Error
indicates a value that is supported by the attribute.
validValue
,
, and
(
Error
msg
ELEMENT
,
, and
!Warning
) cannot be listed as tags in browser profiles because they
!---->
attribute is optional. If specified,
NAME
is an attribute that is not supported. Any tags or attributes not
is an attribute that is supported by
designation are considered to be supported by the browser.
line
!ELEMENT
,
,
!ATTLIST
!Error
within the
!Info
!ELEMENT
is used in error messages.
htmlTag
htmlTag
Working with browser profiles
,
).
!msg
or the
!ATTLIST
tag is
HR
is used in error
tagName
. Only tags listed
31
Need help?
Do you have a question about the DREAMWEAVER 8-EXTENDING DREAMWEAVER and is the answer not in the manual?
Questions and answers