O'Reilly logo

JavaScript™ 1.5 by Example by Kathie Kingsley-Hughes, Adrian Kingsley-Hughes

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Introduction to CSS

On the face of it, CSS might seem complicated, but fortunately, it isn't! In its simplest form, adding CSS to a Web page is as simple as adding some new attributes to existing HTML tags.

Consider this simple Web page:

<html>
<head>
<title>A Simple Page</title>
<script language="JavaScript">
<!-- Cloaking device on!

// Cloaking device off -->
</script>
</head>
<body>
<h1>Welcome to this page!</h1>
<p>A lot of interesting text goes here! A lot of interesting text goes here! A lot of 
interesting text goes here! A lot of interesting text goes here! A lot of interesting text
 goes here!</p>
</body>
</html>

Say you want to give ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required