Table of contents : 0071496297 Contents Acknowledgments Introduction Part I: Core Markup 1 Traditional HTML and XHTML First Look at HTML and XHTML Hello HTML and XHTML World HTML and XHTML: Version History HTML and XHTML DTDs: The Specifications Up Close (X)HTML Document Structure Browsers and (X)HTML The Rules of (X)HTML Major Themes of (X)HTML The Future of Markup—Two Paths? Summary 2 Introducing HTML5 Hello HTML5 Loose Syntax Returns XHTML5 HTML5: Embracing the Reality of Web Markup Presentational Markup Removed and Redefined HTML5 Document Structure Changes Adding Semantics HTML5’s Open Media Effort Client-Side Graphics with HTML5 Form Changes Emerging Elements and Attributes to Support Web Applications Internationalization Improvements HTML5 Metadata Changes HTML5: Beyond Markup Major HTML5 Themes Summary 3 HTML and XHTML Element Reference Flavors of HTML and XHTML Core Attributes Reference Language Attributes Reference Other Common Attributes Reference Common HTML5 Attributes Reference Event Attributes Reference HTML Element Reference Part II: Core Style 4 Introduction to CSS Presentational HTML The Slow Rise of CSS First Look at CSS Hello CSS World CSS Versions The Specification of CSS Applying Style to a Document Media Types Alternative Styles User Styles Document Structure and CSS Inheritance Selectors CSS Properties Preview Measurements and Values CSS and (X)HTML Elements Fundamentals Major Themes of CSS Summary 5 CSS Syntax and Property Reference CSS Versions CSS Basics Style Inclusion Methods CSS Measurements CSS Strings and Keywords CSS Color Values CSS Selectors Miscellaneous CSS Constructs CSS1 and CSS 2.1 Properties CSS2 and CSS 2.1 Aural Style Properties 6 CSS3 Proprietary and Emerging Features Reference The State of CSS3 Implemented CSS3 and Browser-Specific Features Part III: Appendixes A: Character Entities Encoding Quirks and Considerations Traditional HTML Entities HTML 4.x and XHTML 1.x Character Entities Embracing Unicode B: Fonts Specifying Fonts Downloadable Fonts Font Replacement with Images sIFR and Other Text Replacement Techniques C: Colors (X)HTML Colors CSS Color Values Browser-Safe Colors D: URLs Basic Concepts Data URIs Other Emerging URL Forms Relative URLs URL Challenges Beyond URLs E: Reading a Document Type Definition Element Type Declarations Occurrence Indicators Logical Connectors SGML Content Exclusion and Inclusion Attribute Declarations SGML and XML Keywords Parameter Entities Comments The DTDs Index 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