Friday 20 July 2012

How to Set the size of the font in css


<!DOCTYPE html>
<html>
<head>
<style type="text/css">
h1 {font-size:250%;}
h2 {font-size:200%;}
p {font-size:100%;}
</style>
</head>

<body>
<h1>This is 1</h1>
<h2>This is 2</h2>
<p>This is paragraph.</p>
</body>

</html>

0 Responses to “How to Set the size of the font in css”

Post a Comment