Download Using Dreamweaver CS4
Transcript
USING DREAMWEAVER CS4 290 Working with page code XHTML requirement Actions Dreamweaver performs All elements in the document must nest properly: Generates correctly nested code and, when cleaning up XHTML, corrects nesting in code that was not generated by Dreamweaver. <p>This is a <i>bad example.</p></i> <p>This is a <i>good example.</i></p> All element and attribute names must be lowercase. Forces HTML element and attribute names to be lowercase in the XHTML code that it generates and when cleaning up XHTML, regardless of your tag and attribute case preferences. Every element must have a closing tag, unless it is declared in the DTD Inserts closing tags in the code that it generates, and when cleaning as EMPTY. up XHTML. Empty elements must have a closing tag, or the opening tag must end Inserts empty elements with a space before the closing slash in empty tags in the code that it generates, and when cleaning up XHTML. with />. For example, <br> is not valid; the correct form is <br></br> or <br/>. Following are the empty elements: area, base, basefont, br, col, frame, hr, img, input, isindex, link, meta, and param. And for backwards-compatibility with browsers that are not XMLenabled, there must be a space before the /> (for example, <br />, not <br/>). Attributes can’t be minimized; for example, <td nowrap> is not valid; the correct form is <td nowrap="nowrap">. Inserts full attribute-value pairs in the code that it generates, and when cleaning up XHTML. This affects the following attributes: checked, compact, declare, defer, disabled, ismap, multiple, noresize, noshade, nowrap, readonly, and selected. Note: If an HTML browser does not support HTML 4, it might fail to interpret these Boolean attributes when they appear in their full form. All attribute values must be surrounded by quotation marks. Places quotation marks around attribute values in the code that it generates, and when cleaning up XHTML. The following elements must have an id attribute as well as a name Sets the name and id attributes to the same value, whenever the name attribute is set by a Property inspector, in the code that attribute: a, applet, form, frame, iframe, img, and map. For example, <a name="intro">Introduction</a> is not valid; the Dreamweaver generates, and when cleaning up XHTML. 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 Forces enumerated type values to be lowercase in the code that it generates, and when cleaning up XHTML. lowercase. An enumerated type value is a value from a specified list of allowed values; for example, the align attribute has the following allowed values: center, justify, left, and right. All script and style elements must have a type attribute. (The type attribute of the script element has been required since HTML 4, when the language attribute was deprecated.) All img and area elements must have an alt attribute. Sets the type and language attributes in script elements, and the type attribute in style elements, in the code that it generates and when cleaning up XHTML. Sets these attributes in the code that it generates and, when cleaning up XHTML, reports missing alt attributes. 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. Updated 24 September 2009
Related documents
Manual de Adobe Dreamweaver CS5
Dreamweaver Reference
Wiley Dreamweaver CS4 For Dummies
MACROMEDIA COLDFUSION 5 - INSTALING AND CONFIGURING SERVER System information
MANUEL D`UTILISATION DU SCRIPT updateRs05112010.pl I)Les
Como usar o Adobe® Acrobat® 9 Standard
Using ColdFusion Builder
Class Notes
Resco Mobile CRM Woodford User Guide
Halstead - Jetstreme
9 Page Layout
User Manual - Ecommerce software
User Manual - Ecommerce software
Epsilon User Manual-v2.3 - Idea Device Technologies
Mentor manual () - tim