MACROMEDIA DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER Spezifikationen Seite 23

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 504
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 22
Ways to customize Dreamweaver 23
content_model describes what kinds of content the tag can contain and where in an
HTML file the tag can appear. Valid values are
"block_model", "head_model",
"marker_model", and "script_model":
block_model specifies that the tag can contain block-level elements such as div and p,
and that the tag can appear only in the body section or inside other body-content tags
such as
div, layer, or td.
head_model specifies that the tag can contain text content and that it can appear only
in the
HEAD section.
marker_model specifies that the tag can contain any valid HTML code, and that it
can appear anywhere in an HTML file. The HTML validator in Dreamweaver ignores
tags that are specified as marker_model. However, the validator doesnt ignore the
contents of such a tag; so even though the tag itself can appear anywhere, the contents
of the tag may result in invalid HTML in certain places. For example, plain text
cannot appear (outside a valid head element) in the head section of a document, so
you cant place a marker_model tag that contains plain text in the head section. (To
place a custom tag containing plain text in the head section, specify the tag’s content
model as head_model instead of marker_model.) Use marker_model for tags that
should be displayed inline (inside a block-level element such as p or div—for example,
inside a paragraph). If the tag should be displayed as a paragraph of its own, with line
breaks before and after it, dont use this model.
script_model lets the tag exist anywhere between the opening and closing HTML
tags of a document. When Dreamweaver encounters a tag with this model, it ignores
all of the tag’s content. Used for markup (such as certain ColdFusion tags) that
Dreamweaver shouldnt parse.
start_string specifies a delimiter that marks the beginning of a string-delimited tag.
String delimited tags can appear anywhere in the document where a comment can appear.
Dreamweaver does not parse tags or decode entities or URLs between
start_string and
end_string. This attribute is required if end_string is specified.
end_string specifies a delimiter that marks the end of a string-delimited tag. This
attribute is required if
start_string is specified.
Seitenansicht 22
1 2 ... 18 19 20 21 22 23 24 25 26 27 28 ... 503 504

Kommentare zu diesen Handbüchern

Keine Kommentare