Adobe 38040334 - Dreamweaver CS3 User Manual page 311

Pc
Hide thumbs Also See for 38040334 - Dreamweaver CS3:
Table of Contents

Advertisement

XHTML requirement
The following elements must have an
attribute as well as a
attribute:
name
applet
,
form
,
frame
,
iframe
. For example,
map
<a name="intro">Introduction</
a>
is not valid; the correct form is
<a id="intro">Introduction</a>
or
<a id="section1"
name="intro"> Introduction</a>
For attributes with values of an enumerated
type, the values must be lowercase.
An enumerated type value is a value from a
specified list of allowed values; for example, the
attribute has the following allowed
align
values:
,
,
center
justify
left
right
.
All script and style elements must have a
attribute.
(The
type
attribute of the
script
has been required since HTML 4, when the
attribute was deprecated.)
language
All
img
and
area
elements must have an
attribute.
See also
"Make pages XHTML-compliant" on page 328
About regular expressions
Regular expressions are patterns that describe character combinations in text. Use them in your code searches to help
describe concepts such as lines that begin with 'var'" and "attribute values that contain a number. "
The following table lists the special characters in regular expressions, their meanings, and usage examples. To search
for text containing one of the special characters in the table, escape the special character by preceding it with a
backslash. For example, to search for the actual asterisk in the phrase
pattern might look like this: apply\*. If you don't escape the asterisk, you'll find all the occurrences of "apply" (as well
as any of "appl", "applyy", and "applyyy"), not just the ones followed by an asterisk.
Character
Matches
^
Beginning of input or line.
$
End of input or line.
*
The preceding character 0
or more times.
+
The preceding character 1
or more times.
Actions Dreamweaver performs
Sets the
and
id
name
id
,
whenever the
attribute is set by a Property
a
name
,
img
, and
inspector, in the code that Dreamweaver generates, and
when cleaning up XHTML.
.
Forces enumerated type values to be lowercase in the
code that it generates, and when cleaning up XHTML.
, and
Sets the
and
type
type
language
elements, and the
type
in the code that it generates and when cleaning up
element
XHTML.
alt
Sets these attributes in the code that it generates and,
when cleaning up XHTML, reports missing
attributes.
Example
matches "T" in "This good earth" but not in "Uncle Tom's
^T
Cabin"
h$
matches "h" in "teach" but not in "teacher"
matches "um" in "rum", "umm" in "yummy", and "u" in
um*
"huge"
um+
matches "um" in "rum" and "umm" in "yummy" but
nothing in "huge"
September 4, 2007
attributes to the same value,
attributes in
script
attribute in
elements,
style
alt
some conditions apply*
DREAMWEAVER CS3
304
User Guide
, your search

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dreamweaver cs3

Table of Contents