Answer:
<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.dotnetfunda.com/">DotNetFunda</a></span></font>
Asked In: Many Interviews |
Alert Moderator