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


spacer

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

The Human Factor

Developer News
Why IE Doesn't Support HTML 5 Video (Yet)
Linux Reaction Mixed to Google's New Chrome OS
Chrome OS: Weighing Google's Game Plan

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 | Freelance Jobs

webref The latest from WebReference.com Browse >
XML and PHP Simplified - XML,PHP and the Database · Introduction to Server-side JavaScript · Mod Rewrite Part 3 - Redirecting Browser Dependent Content with Apache and Mod Rewrite
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Enhance your Queries with Stored Functions · Turn a Profit From Data Storage · Touch-Screen Phone Marks snom's Future Platform


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.