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


spacer

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

Developer News
News Flash: Adobe Has iPhone Workaround
Adobe's Flash 10.1 Goes Mobile (Minus iPhone)
A Salute to Visionary CEOs

Now let's use the STYLE element to insert our stylesheet into our document:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
"http://www.w3.org/TR/REC-html40/strict.dtd">
<HTML>
<HEAD>
<TITLE>Acme Computer Corp.: Who We Are</TITLE>
<STYLE TYPE="text/css" MEDIA="screen">
BODY {
 background-color: #E0DD06;
 color: #027002;
}
H1 {
 text-align: right;
 font: bold italic 150% sans-serif;
 color: red;
}
P {
 text-align: justify;
 margin-left: 2cm;
}
</STYLE>
</HEAD>
<BODY>

<H1>Acme Computer Corp.</H1>

<P>Acme Computer Corporation is a
technology-based company that seeks to offer 
its customers the latest in technological innovation. 
Our products are created using the latest 
breakthroughs in computers and are designed
by a team of top-notch experts.</P>

<H1>Global Presence, Global Thinking</H1>

<P>We are based in Acmetown, USA, and have
offices in most major cities around the world. 
Our goal is to have a global approach to the 
future of computing. Have a look at our product 
catalog for some examples of our innovative
approach.</P>

<HR>

<ADDRESS>
Comments to:
<A HREF="mailto:webmaster@acme.com">Web Master</A>, 
Acme Computer Corp., One Acme Road, AcmeTown, USA.
</ADDRESS>

</BODY>
</HTML>

Have a look at what we just did.

Indeed, the effect is staggering. Our sterile, boring document has been transformed into a presentable Web page that attracts the attention of your readers, which in Acme's case is customers. That is, if you ignore my terrible taste for colors. But you get the picture.

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 >
HTML 5: Offline Application Caching · Using GreyBox in your HTML Applications · The Wonderful World of Web Applications: HTML Apps (HTA)
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
x86 Keeps Humming Along · How to Create Lists in Microsoft Word · Free Twitter Tools to Tweak Your Tweets


All Rights Reserved. Legal Notices.

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

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