Chapter One
How to Write XHTML and CSS
XHTML and CSS are two different animals, or specifications used to create web pages. Each has a
distinct look and purpose. When used together, the combination can produce a useful, information rich,
and highly attractive web page.
If you see an example here or in any later chapter typed in a particular way, you should copy that
exactly as you type along with the exercises in the book. The rules defining how a language is put
together are its
syntax. In this chapter, you will learn the syntax of XHTML and CSS. You will learn
what each of these specifications does, how each looks, and how to write both. Basic rules for typing
both XHTML and CSS, such as when to use the spacebar, when to type a semicolon, or when to type
a bracket, will also be explained in this chapter.
Anatomy of a Website
For those of you who have never built a website before, a summary of what goes into a site may help
you understand what HTML/XHTML and CSS do and how they can work t ...
read full excerpt from Integrated HTML and CSS: A Smarter, Faster Way to Learn ebook