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


Join the forum, it's quick and easy

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....
MARATHI TEAM
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Log in

I forgot my password

Latest topics
Top posting users this week
No user

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 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>
storm
storm
Member
Member

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

Back to top Go down

Back to top

- Similar topics

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