open notepad type the following and save the file with name testcss.html on desktop and then open this file in internet explorer :
<html>
<head>
<title>css tutoriaL</title>
<style type="text/css">
body {
background: #006699;
font-family: "Trebuchet MS", Verdana, Arial, serif;
}
</style>
</head>
<body>
<p style ="font-size:20px">
This text is written in <br>color code #006699 font size 20
</p>
</body>
</html>
output :
<html>
<head>
<title>css tutoriaL</title>
<style type="text/css">
body {
background: #006699;
font-family: "Trebuchet MS", Verdana, Arial, serif;
}
</style>
</head>
<body>
<p style ="font-size:20px">
This text is written in <br>color code #006699 font size 20
</p>
</body>
</html>
output :
Comments
Post a Comment