Book description
This book will teach you how to build hand-crafted web pages the Web Standardistas way: using well-structured XHTML for content and CSS for presentation.
By embracing a web standards approach, you will hold the key to creating web sites that not only look great in all modern browsers, but also are accessible to a wide variety of audiences across a range of platforms—from those browsing on everyday computers, to those accessing the Web on the latest emerging mobile devices.
Even if you're an absolute beginner in web design, this book will teach you how to build future-proof web pages the right way using easy-to-master tools which are, in most cases, free. Through 14 easy-to-follow chapters, we introduce you to the fundamentals of contemporary web design practice. Step by step we'll assemble well-structured XHTML webpages, which we'll then style using handcrafted CSS.
By the end of the book, you'll have a firm knowledge of the essentials of web design: everything you need to know to move forward in your lifelong journey as a Web Standardista.
To equip you on this noble quest, we've included enjoyable practical assignments at the end of each chapter. Embracing these challenges will not only teach you how to create great looking web sites that are the envy of your peers, but also equip you with an unrivaled knowledge of monkeys that journeyed to space and apes that starred in the movies—the real stars of this book.
On completion of this book not only will you be able to create well-crafted web sites, but you will have earned the badge of a Web Standardista, proving your worth as a good citizen of the Web.
Table of contents
- Copyright
- About the Authors
- Acknowledgments
- Introduction
-
1. A Solid XHTML Foundation
- 1. Are You a Web Standardista?
-
2. Building Basic Web Pages
- 2.1. HTML: Tags in action
- 2.2. Your first web page: Hello World!
- 2.3. To mark up a web page, you just type
- 2.4. Every page has a <head> and a <body>
- 2.5. Defining your document type
- 2.6. Tags have structure too: Nested elements
- 2.7. Making your markup easier to follow
- 2.8. Summary
- 2.9. Homework: Create your first space-monkey-themed XHTML page
-
3. Structured Markup
- 3.1. Adding structure and meaning
- 3.2. What is structured markup?
- 3.3. Signposts for reading
- 3.4. An introduction to phrase elements
- 3.5. Block-level and inline-level elements
- 3.6. Valid code is browser-friendly markup
- 3.7. Getting the search mix right
- 3.8. Summary
- 3.9. Homework: Introducing Miss Baker
- 4. Markup That Adds Meaning
- 5. Including Images
-
6. Creating Links with Anchors
- 6.1. Meet <a>
- 6.2. Let's create some links!
- 6.3. Absolute vs. relative links
- 6.4. Structuring your site
- 6.5. Linking between different folders in our site
- 6.6. Summary
-
6.7. Homework: Housekeeping first; links second
-
6.7.1.
-
6.7.1.1.
- 6.7.1.1.1. 1. The content audit
- 6.7.1.1.2. 2. Here's one we prepared earlier
- 6.7.1.1.3. 3. Move your images into the images folder
- 6.7.1.1.4. 4. Move your monkey pages into the pioneers folder
- 6.7.1.1.5. 5. Fix the image references
- 6.7.1.1.6. 6. Add links to the references
- 6.7.1.1.7. 7. Link your pages together
-
6.7.1.1.
-
6.7.1.
- 7. Getting Your Site Online
-
2. Adding Style with CSS
- 8. CSS 101
- 9. Styling Text
-
10. A One-Column CSS Layout
- 10.1. The Cascade in Cascading Style Sheets
- 10.2. Introducing margins, borders, and padding
- 10.3. Dividing up your document
- 10.4. Using div elements to create CSS layouts
- 10.5. Styling details with the span element
- 10.6. Styling with class attributes
- 10.7. Enhancing your design by adding background images with CSS
- 00.8. Summary
- 10.9. Homework: Creating a one-column CSS layout
- 11. A Two-Column CSS Layout
- 12. List-O-Matic
-
13. Harnessing the Power of External Style Sheets
- 13.1. The head elements that make it all happen
- 13.2. The importance of meta tags
-
13.3. External Style Sheets
- 13.3.1. Embedded vs. linked style sheets
- 13.3.2. Linking to an external style sheet
- 13.3.3. Using @import
- 13.3.4. Creating our external CSS file
- 13.3.5. The real power of CSS
- 13.3.6. Adding a print style sheet
- 13.3.7. Building the print style sheet
- 13.3.8. Conditional comments for Internet Explorer
- 13.3.9. A conditional comment in action
- 13.3.10. Adding a favicon
- 13.4. Adding scripts
- 13.5. Testing and troubleshooting
- 13.6. Summary
- 13.7. Homework: Linking to external style sheets
-
14. Where to from Here?
- 14.1. But really, where to from here?
- 14.2. www.webstandardistas.com
- 14.3. Tools to make your life easier
- 14.4. Recommended books
- 14.5. Recommended sites
- 14.6. A fond farewell
- 14.7. Summary
- 14.8. Homework: You've earned the badges—now use them!
Product information
- Title: HTML and CSS Web Standards Solutions: A Web Standardistas' Approach
- Author(s):
- Release date: December 2008
- Publisher(s): Apress
- ISBN: 9781430216063
You might also like
book
Getting Started with CNC
Getting Started with CNC is the definitive introduction to working with affordable desktop and benchtop CNCs, …
book
Threat Modeling: Designing for Security
Adam Shostack is responsible for security development lifecycle threat modeling at Microsoft and is one of …
book
Learning Go
Go is rapidly becoming the preferred language for building web services. While there are plenty of …
book
Fundamentals of Data Observability
Quickly detect, troubleshoot, and prevent a wide range of data issues through data observability, a set …