Cascading Style Sheets (CSS)

CSS using cooltext.com

Yes! We’re finally here!

Tired of using font tags every where? Well. CSS sure will save you. This is probably the most convenient               and easiest way to change fonts and backgrounds; technically whatever you want on your page.

You can customize fonts and borders, align text etc.

 

Basically, you just have to incorporate it in your HTML code. Sounds complicated? Not at all. All you have to do is:

<html>
<head>
<style type=”text/css”>
CSS CODE HERE
</style>
<title> IF NEEDED </title>
</head>

You can also always make a css document and import it. (I’ll explain that later)

And trust me, there isn’t much I have to explain. You’ve used the font tag. In CSS face becomes font-family and stuff like that. You’ll even understand the code. I’m posting a sample code. Check it out!

<html>
<head>
<style type=”text/css”>
body{
background: Black;
font-family: Algerian;
}

#main{
border: 5pt dotted green;
background: red;
}

#one{
border: 3pt double red;
background: yellow;
font-family: Chiller;
font-size: 40pt;
}

#two{
border: 3pt double black;
background: 3pt double red;
font-family: Algerian;
font-size: 30pt;
}
</style>
</head>
<body>
<div id=”main”>
<div id=”one”>
Watzowski Enterprise
<div id=”two”>
Welcome To Watzowski Enterprise
</div>
</div>
</div>
</body>
</html>

Save it as whatever you want and try it! 😀

I’ll explain my code in my next post!

Advertisements
Categories: HTML | Leave a comment

Post navigation

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: