Rough Cuts are manuscripts that are developed but not yet published, available through Safari. Rough Cuts provide you access to the very latest information on a given topic and offer you the opportunity to interact with the author to influence the final publication.
This is the Rough Cut version of the printed book.
THE CLASSIC WEB AUTHORING GUIDE, NOW 100% UPDATED AND BETTER THAN EVER!
If it’s for the Web, this book will help you create it…faster, smarter, better! Don’t settle for canned templates or boilerplate designs! Take control, with the classic guide to HTML web authoring…now completely revised for the latest techniques and shortcuts, including HTML5!
Build it right…
Build it all…
Contains quick reference guides to HTML elements and CSS properties–including the newest HTML5 and CSS3 improvements!
Acknowledgments xii
About the Author xiii
Preface xiv
Chapter 1 HTML and the Web 2
HTML: The Language of the Web 3
A Bit of Web History 7
Hypertext Content and Online Media 11
Uniform Resource Locators (URLs) 11
Web Browsers and Servers 12
The Web Bestiary 15
HTML5 and Web Standards 19
Do We All Have to Learn HTML5 Now? 21
Chapter 2 The HTML Language 24
Language Overview 25
Page Structure and the DOM 31
HTML5 Syntax 35
Comments 35
Character Entities 36
Markup Elements 37
HTML5 Semantics 40
HTML Attributes 51
Event Handlers 55
Block Elements 57
Headings 57
Paragraphs, Block Quotes, and Address Blocks 61
Lists 67
Division and Section Elements 73
Tables 77
Links and Anchors 85
Uniform Resource Locators 86
Anchor States 88
Anchor Attributes 89
Inline Images 90
Audio and Video 95
Input Forms 99
The HTML5 Canvas 110
Chapter 3 Elements of Style 114
Cascading Style Sheets 115
CSS Selectors 119
Pseudo-Classes and Pseudo-Elements 124
Typography 128
Font Style 131
Font Weight 131
Font Variant 132
Font Size 132
Font 136
Colors 138
Background Properties 141
Text Properties 144
text-align 144
text-decoration 144
text-indent 146
text-transform 146
line-height 146
Letter and Word Spacing 148
white space 150
vertical-align 150
Box Properties 152
Height and Width 153
Margins and Padding 154
Borders 157
List Styles 161
CSS Positioning 166
Other CSS Properties 171
Display and Visibility 172
Overflow 177
Float and Clear 177
Chapter 4 Using HTML 180
Tools of the Trade
