0% found this document useful (0 votes)
48 views1 page

Css Examples:: Hey Hetz.. This Is CSS Example... !

This document provides an example of CSS code that styles an HTML page. The CSS code sets the background color of the body to a light blue, centers and sets the color of level one headings to blue, and sets the font family and size of paragraphs to Times New Roman 15px. The HTML page with this CSS applied displays the heading "Hey hetz.. this is CSS example...!" in blue and centered, and a paragraph in Times New Roman 15px about using CSS to control style and layout of web pages.

Uploaded by

kashyapp_47
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
48 views1 page

Css Examples:: Hey Hetz.. This Is CSS Example... !

This document provides an example of CSS code that styles an HTML page. The CSS code sets the background color of the body to a light blue, centers and sets the color of level one headings to blue, and sets the font family and size of paragraphs to Times New Roman 15px. The HTML page with this CSS applied displays the heading "Hey hetz.. this is CSS example...!" in blue and centered, and a paragraph in Times New Roman 15px about using CSS to control style and layout of web pages.

Uploaded by

kashyapp_47
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

CSS EXAMPLES :

<html>
<head>
<style type="text/css">
body
{
background-color:#d0e4fe;
}
h1
{
color: BLUE;
text-align:center;
}
p
{
font-family:"Times New Roman";
font-size:15px;
}
</style>
</head>

<body>

<h1>Hey hetz.. this is CSS example...!</h1>
<p>By using CSS we will learn how to control the style and layout of multiple Web pages all at
once...</p>

</body>
</html>

OUTPUT
Hey hetz.. this is CSS example...!
By using CSS we will learn how to control the style and layout of multiple
Web pages all at once...

You might also like