The Wayback Machine - https://web.archive.org/web/20090321014307/http://www.webreference.com:80/html/tutorial5/


spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

The Human Factor

Developer News
Smartphone App Success Tied to Easy Discovery
Marvell Intros $99 'Plug Computer'
Apple: Safari Is Faster and Drives Standards

Last time I went into a great tirade about HTML and its various specifications and implementations. If you thought that was bad, wait until you see what I have for you this week. In this, the fifth HTML with Style tutorial, I will introduce you to Cascading Style Sheets, or CSS.

Up to now, I have specified the need for your documents to have a logical structure that is sound and makes sense independent of the context of the document. However, if you're into the Web authoring business, one of your primary concerns is how to make your Web pages look good and attract readers. This can be accomplished through CSS.

This is going to be a very hands-on tutorial, with many examples that you can try out yourself. By the end of this tutorial you'll know how to give simple hints about how your documents will appear on screen. Later on we'll look at how you can also control printing and speech- based rendering of your documents.

It would really make your life easier if you had a browser that supports CSS at your disposal while reading this tutorial. At the time of writing, the most appropriate would be either Microsoft Internet Explorer 4.0 or Netscape Navigator 4.0, or a newer version of either. You can still read this tutorial without one of these browsers, but the in-page examples will not work unless your browser supports CSS.

This week, we'll look at the following topics:

Page
1.Separate Structure and Presentation1
2.The STYLE attribute & CSS declarations2
3.The STYLE element & CSS rule sets4
4.ID & CLASS selectors, Pseudoclasses6
5.The DIV and SPAN elements9
6.External Stylesheets10

Front Page12345678910

http://www.internet.com

Produced by Stephanos Piperoglou

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info
Copyright 2009 WebMediaBrands Inc. All Rights Reserved.

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers

webref The latest from WebReference.com Browse >
User Personalization with PHP: The Verification Code · Prototypal Inheritance Explained · Comet Programming: Using Ajax to Simulate Server Push
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Wi-Fi at Work in Agribusiness · SanDisk Upgrades its USB Memory Card Readers · Review: Foxmarks Bookmark Browser Add-On


All Rights Reserved. Legal Notices.

URL: http://www.webreference.com/html/tutorial5/
Created: August 20, 1998
Revised: August 20, 1998

Morty Proxy This is a proxified and sanitized view of the page, visit original site.