SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 418 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"


Using the Reference Panel
Pop quiz: What value of a form tag??™s enctype attribute should you use if the user is submitting a file?
A. application/x-www-form-urlencoded
B. multipart/form-data
C. multipart/data-form
CAUTION CAUTION
TIP TIP
TIP TIP
189
Accessing the Code Directly 6
Unless you??™ve recently had to include such a form in a Web page, you probably had to pull down that wellworn
HTML reference book you keep handy and look up the answer. All code for the Web??”including
HTML, JavaScript, and Cascading Style Sheets (CSS)??”must be precisely written or it is, at best, ignored; at
worst, an error is generated whenever the user views the page. Even the savviest of Web designers can??™t
remember the syntax of every tag, attribute, and value in HTML, every function in JavaScript, or every style
rule in CSS. A good reference is a necessity in Web design. (By the way, the answer to the pop quiz is B.)
Adobe has lightened the load on your bookshelf considerably with the addition of the Reference panel,
shown in Figure 6-21. With the Reference panel, you can quickly look up any HTML tag and its attributes,
as well as JavaScript objects and CSS style rules. Dynamic site builders can rely on references for CFML,
ASP, PHP, JSP, XML, and XSLT.


Pages:
406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430