Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Cover
Table of Contents
Title Page
Copyright
Dedication
About the Author
Credits
Acknowledgments
Introduction
A Brief History of the Internet and the World Wide Web
What This Book Covers
User Agent (Browser) Coverage
Web 2.0
Terminology
Who Should Read This Book?
This Is Not a Web Design Book
What Is Contained in This Book?
How to Use This Book
Conventions and Features
Companion Website
Part I: Creating Content with HTML
Chapter 1: What Is a Markup Language?
What Are We Doing Here?
Understanding Hypertext
Understanding Markup Instructions
Understanding Markup Language
Summary
Chapter 2: HTML Values and Units
Basic Tag Attribute Format
Common Attributes
Text and Comments
Uniform Resource Indicators
Language and International Options
Summary
Chapter 3: What Goes into a Web Document?
Specifying Document Type
Overall Document Structure: HTML, Head, and Body
Style Definitions
Block Elements: Markup for Paragraphs and Other Blocks of Content
Inline Elements: Markup for Characters
Special Characters (Entities)
Organizational Elements
Linking to Other Pages
Images
Comments
Scripts
Putting It All Together
Summary
Chapter 4: The HEAD Elements
Specifying the Document Title
Providing Information to Search Engines
Setting the Default Path
Script Sections
Style Sections
Specifying Profiles
Background Color and Background Images
Summary
Chapter 5: Text Structuring Essentials
Formatting Paragraphs
Line Breaks
Divisions
Rules
Block Quotes
Preformatted Text
Summary
Chapter 6: Character Formatting Essentials
Methods of Text Control
Bold and Italic Text
Use of Emphasis Instead of Italics
Monospace (Typewriter) Fonts
Superscripts and Subscripts
Abbreviations
Marking Editorial Insertions and Deletions
Grouping Inline Elements with the Span Tag
Summary
Chapter 7: Lists
Understanding Lists
Ordered (Numbered) Lists
Unordered (Bulleted) Lists
Definition Lists
Nested Lists
Summary
Chapter 8: Links
What's in a Link?
Linking to a Web Page
Absolute versus Relative Links
Link Targets
Link Titles
Keyboard Shortcuts and Tab Order
Creating an Anchor
Choosing Link Colors
Link Destination Details
The Link Tag
Summary
Chapter 9: Tables
Parts of an HTML Table
Table Width and Alignment
Cell Spacing and Padding
Borders and Rules
Rows
Cells
Table Captions
Row Groups—Header, Body, and Footer
Background Colors
Spanning Columns and Rows
Grouping Columns
Formatting with Tables
Summary
Chapter 10: Frames
Frames Overview
Framesets and Frame Documents
Targeting Links to Frames
Nested Framesets
Inline Frames
Summary
Chapter 11: Forms
Understanding Forms
Inserting a Form
Field Labels
Text Input Boxes
Password Input Boxes
Radio Buttons
Check Boxes
List Boxes
Large Text Input
Hidden Fields
Buttons
Images
File Fields
Submit and Reset Buttons
Tab Order and Keyboard Shortcuts
Preventing Changes
Fieldsets and Legends
Using Events with Forms
Form Scripts and Script Services
Summary
Chapter 12: Colors and Images
Web Color Basics
Other Means to Specify Colors
The Evolution of Color on the Web
Using Proper Means to Specify Colors
Image Formats for the Web
Creating Graphics
Inserting an Image
Image Alignment
Specifying Text to Display for Nongraphical Browsers
Sizing an Image
Image Borders
Image Maps
Summary
Chapter 13: Multimedia
Animated Images
Animation and Video Formats, Plug-ins, and Players
Embedding Media via the Object Tag
Embedding a Windows Media Player Using <object>
Embedding YouTube Videos
Adding Sound to Web Pages
Creating Multimedia Files
A Final Word About Multimedia
Summary
Chapter 14: Special Characters
Understanding Character Encodings
Special Characters
En and Em Spaces and Dashes
Copyright and Trademark Symbols
Currency Symbols
“Real” Quotation Marks
Arrows
Accented Characters
Greek and Mathematical Characters
Other Useful Entities
Summary
Chapter 15: Internationalization and Localization
Internationalization and Localization
Translating Your Web Site
Understanding Unicode
Summary
Chapter 16: Scripts
Client-Side versus Server-Side Scripting
Setting the Default Scripting Language
Including a Script
Calling an External Script
Triggering Scripts with Events
Hiding Scripts from Older Browsers
Summary
Chapter 17: Dynamic HTML
The Need for DHTML
How DHTML Works
The Document Object Model
The JavaScript DOM
Using Event Handlers
Accessing an Element by Its ID
Cross-Browser Compatibility Issues
DHTML Examples
Form Automation: Check boxes
Summary
Chapter 18: The Future of HTML: HTML5
More Publishing and Layout Features
Accessible Multimedia
Changes: Elements and Attributes
Summary
Part II: HTML Tools and Variants
Chapter 19: Web Development Software
Text-Oriented Editors
WYSIWYG HTML Editors
Other Tools
Summary
Chapter 20: Publishing Your Site
Introducing FTP
FTP Clients
Notable FTP Clients
Principles of Web Server File Organization
Summary
Chapter 21: An Introduction To XML
XML Basics
XML Syntax
Working with Document Type Definitions
Introducing XML Schemas
Working with Schemas
Using XML
Summary
Chapter 22: Creating Mobile Documents
Understanding the Evolution of the Mobile Web
XHTML Basic 1.1
Mobile Web Development Tools
Summary
Chapter 23: Tidying and Validating Your Documents
Tidying Your HTML Code
Validating Your Code
Additional Testing and Validation
Summary
Chapter 24: HTML Tips and Tricks
Preloading Images
Controlling Text Breaks in Table Cells
Stretching Title Bars
Simulating Newspaper Columns
Including Image Size for Fast Display
Protecting E-mail Addresses
Automating Forms
Modifying the User Agent Environment
Summary
Part III: Controlling Presentation with CSS
Chapter 25: CSS Basics
The Purpose of Styles
Styles and HTML
CSS Levels 1, 2, and 3
Defining Styles
Cascading Styles
Summary
Chapter 26: Style Definitions
The Style Definition Format
Understanding Selectors
Understanding Style Inheritance
Using Pseudo-Classes
Pseudo-Elements
Shorthand Expressions
Summary
Chapter 27: CSS Values and Units
General Property Value Rules
Property Value Metrics
Summary
Chapter 28: CSS Inheritance and Cascade
Inheritance
Cascade
Specificity
Summary
Chapter 29: Font Properties
Understanding Fonts
Font Types
Font Sizing
Font Styling
Line Spacing
Embedding Fonts in a Document
Summary
Chapter 30: Text Formatting
Aligning Text
Indenting Text
Controlling White Space Within Text
Controlling Letter and Word Spacing
Specifying Capitalization
Using Text Decorations
Autogenerated Text
Using CSS Table Properties
Controlling Table Attributes
Table Layout
Aligning and Positioning Captions
Summary
Chapter 31: CSS Lists
An Overview of Lists
CSS Lists—Any Element Will Do
List Style Type
Positioning of Markers
Using Images as List Markers
Summary
Chapter 32: Padding, Margins, and Borders
The CSS Box Formatting Model
Element Padding
Element Borders
Element Margins
Dynamic Outlines
Summary
Chapter 33: Colors and Backgrounds
Element Colors
Background Images
Summary
Chapter 34: CSS Layouts
Understanding CSS Positioning
Specifying the Element Position
Floating Elements to the Left or Right
Defining an Element's Width and Height
Stacking Elements in Layers
Controlling Element Visibility
Summary
Chapter 35: Pseudo-Elements and Generated Content
The Content Property
Pseudo-Elements
Quotation Marks
Numbering Elements Automatically
Summary
Chapter 36: Dynamic HTML with CSS
Accessing CSS Properties with JavaScript
Useful CSS Manipulation
Summary
Chapter 37: Media Styles and Defining Documents for Printing
Understanding CSS Media Types
Setting Up Documents for Printing
Creating a Multimedia Document
Summary
Chapter 38: The Future of CSS: CSS3
Just Better
Modularity
Using CSS3 Properties Today
More Control over Selections
Revisiting the Brass Ring of CSS: Rounded Corners
Summary
Part IV: Additional CSS Tools
Chapter 39: User Interface Styles
Changing the Cursor
User Interface Colors
User Interface Fonts
Summary
Chapter 40: Testing and Validating CSS
Testing Syntax As You Create Styles
A Word About Formatting
Validating CSS
Firefox Add-ons for CSS Editing
Summary
Chapter 41: CSS Tips and Tricks
Hanging Indents
Expanding Buttons
Pull Quotes
Tabbed Menus
Summary
Appendix A: XHTML Element Quick Reference
Element Listings
Event Attributes
Other Common Attributes
Appendix B: HTML Special Characters Quick Reference
Appendix C: CSS 2.1 Properties Quick Reference
Property Listings
Appendix D: CSS 2.1 Selectors Quick Reference
Basic Element Selectors
Descendant Selectors
Child Selectors
Adjacent Sibling Selectors
Class Selectors
ID Selectors
Attribute Selectors
Appendix E: Pseudo-Elements and Pseudo-Classes Quick Reference
Pseudo-Elements
Pseudo-Classes
Index
Advertisement
← Prev
Back
Next →
← Prev
Back
Next →