MARATHI TEAM
Welcome on the Marathi Team Forum.
To take full advantage of everything offered by
our forum, please log in if you are already a
member or join our community if you're not
yet....
Log in

I forgot my password

Top posting users this week

Nimbuzz id Maker
freebuzz is my love :D

user name

password

captcha


Style - Inline vs. Head

Go down

Heart Style - Inline vs. Head

Post  storm on Fri Dec 14, 2012 11:30 am

You have two ways to make an object stylish. First you can add them in the head part and another using inline styles. This code shows both abilities for your page.

Code:
<!-- This Script is from www.htmlfreecodes.com, Coded by: Krishna Eydatx-->
<html>
<head>
<style type="text/css">
.Headstyle {
   color: #0000FF;
   background-color: #C0C0C0;
}
</style>
</head>
<body>
<div>
   <span class="Headstyle">This text uses Head style!</span></div>
<div>
   <span style="color: #993399;background-color: #FFFF00;">This text uses Inline style!</span></div>
<br>
</body>
</html>

<font face="Tahoma"><span style="font-size: 8pt; text-decoration: none"><a target="_blank" href="http://www.htmlfreecodes.com/">HTML Free Code</a></span></font>
avatar
storm
Member
Member

Posts : 155
Points : 458
Reputation : 1
Join date : 2012-12-05

View user profile

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum