XHTML requirement
All attribute values must be surrounded by
quotation marks.
The following elements must have an
as well as a
name
,
, and
iframe
img
<a name="intro">Introduction</a>
the correct form is
<a id="intro">Introduction</a>
<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 values:
align
,
,
center
justify
All script and style elements must have a
attribute.
(The
attribute of the
type
been required since HTML 4, when the
attribute was deprecated.)
All
and
img
area
attribute.
Server-side includes
A server-side include is a file that the server incorporates into your document when a browser
requests your document from the server.
When a visitor's browser requests the document containing the include instruction, your server
processes the include instruction and creates a new document in which the include instruction is
replaced by the contents of the included file. The server then sends this new document to the
visitor's browser. When you open a local document directly in a browser, however, there's no
server to process the include instructions in that document, so the browser opens the document
without processing those instructions, and the file that's supposed to be included doesn't appear in
the browser. It can thus be difficult, without using Dreamweaver, to look at local files and see
them as they'll appear to visitors after you've put them on the server.
With Dreamweaver you can preview documents just as they'll appear after they're on the server,
both in the Design view and when you preview in a browser.
Placing a server-side include in a document inserts a reference to an external file; it doesn't insert
the contents of the specified file in the current document. Dreamweaver displays the contents of
the external file in Design view, making it easier to design pages.
id
attribute:
,
,
a
applet
form
. For example,
map
is not valid;
or
.
, and
.
left
right
element has
script
elements must have an
Actions Dreamweaver performs to meet this
requirement
Places quotation marks around attribute values in
the code that it generates, and when cleaning up
XHTML.
attribute
Sets the
name
,
,
whenever the
frame
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.
Sets the
type
type
elements, and the
elements, in the code that it generates and when
cleaning up XHTML.
language
Sets these attributes in the code that it generates
alt
and, when cleaning up XHTML, reports missing
attributes.
alt
and
attributes to the same value,
id
attribute is set by a Property
name
and
attributes in
language
attribute in
type
style
About coding in Dreamweaver
script
419
Need help?
Do you have a question about the DREAMWEAVER MX 2004-USING DREAMWEAVER and is the answer not in the manual?
Questions and answers