Introduction to css

CSS otherwise known as Cascading Style Sheets defines how to display HTML elements.

One of the great benefits of CSS is allowing you to save time. Let's admit it, building a website is fun but when you are managing multiple websites we need a more effective way to make updates. Thanks to the power of CSS this can be achieved.

CSS can either be embedded into a single page or you can link it to an external CSS document all on it's own.

Examples:

Embedded CSS Code:
<style type="text/css">
<!--
body {
font-size: 16px;
color: #000;
}
-->
</style>
External Link Code:
<link href="default.css" rel="stylesheet" type="text/css" />

 

To see the power of CSS and to see what happens when you take it away from a website that uses it:

Firefox Users: click the View button on the top > Page Style > No style
(switch back to Basic Page Style to return to it's normal state)

Internet Explorer Users: click View > Style > No Style

See what happens to this website. How to a website is made up of HTML, CSS, and PHP.

Latest Blog Entries

Subscribe to RSS headline updates from:
Powered by FeedBurner

Website Resource Links

SBI (Site Build It) | Build Quality Sites With Simple Tools
Godaddy | Buy a Domain Name

My Top 3 Website Hosting Companies
Host Gator | Affordable Website Hosting
Blue Host | Website Hosting
Fat Cow | Eco Friendly Hosting