Almost all web designers use Cascading Style Sheets to control the presentation of the websites they construct out of HTML. Why learn one and then the other when you can just as easily–and much more effectively–learn both at the same time?
This book’s integrated approach speeds your progress and leaves you with a stronger, more cohesive set of skills. Inside, you’ll learn about:
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, informationrich, 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.
Download Integrated HTML and CSS
This book’s integrated approach speeds your progress and leaves you with a stronger, more cohesive set of skills. Inside, you’ll learn about:
- Writing well-structured HTML for use by any web-capable device
- Designing page layouts using CSS
- Controlling fonts, colors, backgrounds, borders, and margins
- Using lists to create attractive, button-like menus
- Using images as backgrounds, links, page content, and decoration
- Creating and styling forms
- Personalizing your weblog
- Understanding and applying design and usability principles
- Publishing and testing your pages
- Validating your code
- Making pages accessible to all visitors
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, informationrich, 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.
Download Integrated HTML and CSS