Contact Us

|

FriendFeed FriendFeed

|

follow us on twitter Twitter

|

 Rss Feed

|

Favorites Add to Favorites

Sunday, December 3, 2006

Applying CSS

There are three types of applying CSS to html. They are as follows...
1) Inline
2) Internal
3) External

In-line:

In-line styles are put straight into the HTML tags using the style attribute.
Ex: <p style="color: red">Blog</p>

Internal:

Embedded, or internal styles are used inside the head tags.
Ex: <style type="text/css">
a {
color: blue;
}
</style>

External:

External styles are used for the multiple-page website. Used inside the head tags
Ex:<link rel="stylesheet" type="text/css" href="style.css" />

1 Comments:

Blogger Thiru Moorthy said...

Thanks for your grateful informations, am working in Web Design Company in Bangalore

October 17, 2013 at 8:52:00 PM PDT  

Post a Comment

Subscribe to Post Comments [Atom]

<< Home