Monday, 22 July 2013

What is css ?

Cascading Style Sheets (CSS) is a style sheet language used to formatting layout content and mange web pages. you can   be used to define text styles, table sizes, layout width, height  and more.
ex:-
<!DOCTYPE HTML>
<html>
<head>
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
<title>Untitled Document</title>

<body style="background-color:#black">
<h2 style="background-color:red;">This is a heading</h2>
<p style="background-color:green;">This is a paragraph.</p>




</body>
</html>

No comments:

Post a Comment