Answer Posted / sekar
CSS stand for Cascading style sheet.
it used to applying style for both HTML and XML document.
there are three way applying style
1.internal style.
2.external style.
3.inline style.
here is the example for use css
<html>
<head>
<title>sample</title>
<style type="text/css">
.top-left
{
float:left;
width:400px;
height:100px;
background-color:#000;
}
.top-right
{
float:left;
width:378px;
height:100px;
background-color:#000;
}
.body
{
float:left;
width:778px;
height:400px;
}
.bottom
{
float:left;
width:778px;
height:30px;
background-color:#000;
}
</style>
</head>
<body>
<div class="top_left">
</div>
<div class="top_right">
</div>
<div class="body">
</div>
<div class="bottom">
</div>
</body>
</html>
| Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
How does html form submit work?
How are php sessions stored?
What is the difference between for and foreach loop in php?
How to write the form tag correctly for uploading files?
What is $$ in php?
What is the difference between php and core php?
What is the capacity of mysql database?
How can we set and destroy the cookie in php?
What difference between require() and require_once()?
What are the features of php 7?
Does php support multiple inheritance?
List few sensible functions in PHP?
What is difference between strstr() and stristr()?
What are the rules to determine the “truth” of any value which is not already of the boolean type?
What is meant by ‘passing the variable by value and reference' in php?