This content was uploaded by our users and we assume good faith they have the permission to share this book. If you own the copyright to this book and it is wrongfully on our website, we offer a simple DMCA procedure to remove your content from our site. Start by pressing the button below!
Element Creating Line Breaks Using the
Element Creating Preformatted Text Using the <pre> Element
Presentational Elements The The The The The The The The The The
Element Element Element (Deprecated) <s> and <strike> Elements (Deprecated) Element <sup> Element <sub> Element Element <small> Element
Element
Phrase Elements The The The The The The
ftoc.indd vii
<em> Element Adds Emphasis <strong> Element Adds Strong Emphasis Element Is for Addresses Element Is for Abbreviations Element Is for Acronym Use Element Is for Special Terms
xxi 1 1 2 4 5 7 8 9
10 10 11 13 15 15 16
19 20 20 21 21 21 22 22 22 22 23
23 24 24 24 25 25 26
11/20/09 11:34:14 PM
Contents The Element Is for Quoting Text Using the cite Attribute with the
Element The
Element Is for Short Quotations The Element Is for Citations The
Element Is for Code The Element Is for Text Typed on a Keyboard The Element Is for Programming Variables The <samp> Element Is for a Program Output
Lists
26 27 27 27 28 29 30 30
30
Using the Element to Create Unordered Lists Ordered Lists Definition Lists Nesting Lists
Editing Text Using Character Entities for Special Characters Comments The Element (Deprecated) Understanding Block and Inline Elements Grouping Elements with
31 31 33 34
38 39 40 40 41 42
The XML Declaration Document Type Declaration
43 43
Core Elements and Attributes
45
The The The The
Element Element
Attribute Groups Core Attributes Internationalization UI Events
Summary Exercises
Chapter 2: Links and Navigation Basic Links Linking to Other Web Pages Linking to E-mail Addresses
Understanding Directories and Directory Structures Understanding URLs Absolute and Relative URLs The
45 45 46 47
47 47 49 51
51 52
55 55 56 58
61 62 63 66
viii
ftoc.indd viii
11/20/09 11:34:14 PM
Contents Creating Links with the Element Creating a Source Anchor with the href Attribute Creating a Destination Anchor Using the name and id Attributes (Linking to a Specific Part of a Page) The Element’s Other Attributes
Advanced E-mail Links Summary Exercises
Chapter 3: Images, Audio, and Video Adding Images Using the Element The The The The The The The The The
src Attribute alt Attribute height and width Attributes align Attribute (Deprecated) border Attribute (Deprecated) hspace and vspace Attributes (Deprecated) ismap and usemap Attributes longdesc Attribute name Attribute (Deprecated)
Using Images as Links Image Maps Client-Side Image Maps Server-Side Image Maps
Choosing the Right Image Format GIF Images Animated GIFs JPEG Images PNG Images Keeping File Sizes Small
Adding Flash, Video, and Audio to Your Web Pages Adding Flash Movies to Your Site Adding Videos to Your Site Adding Videos Using Flash Video Video Size Adding Audio to Your Site Automatically Playing Audio and Video When a Page Loads A Closer Look at the