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 ...

Get JavaScript™ 1.5 by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.