What are the two ways of making an object stylish?

 Posted by Kmandapalli on 2/24/2014 | Category: JavaScript Interview questions | Views: 653 | Points: 40
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 

Comments or Responses

Login to post response