Chikita leaderboard

Sabado, Nobyembre 5, 2011

How to use Heading Tags and Internal CSS in DHTML.

In this video tutorial, you will learn how to use Heading tags in your HTML page and how to manipulate them using Internal CSS.

Heading tags are used to define the headings in your page. There are 6 available, h1 set of heading tags being the biggest and boldest and the h6 set being the smallest. An internal style sheet should be used when a single document has a unique style. Here are the codes for this tutorial:




<html>

<head>

<style type="text/css">

<!--

h1{font-size:12;font-family:Comic Sans MS;color:#0000FF}

h2{font-size:18;font-family:Monotype Corsiva;color:#00FF00}

h3{font-size:24;font-family:Tahoma;color:#FF0000}

-->

</style>

<body>

<h1>This is H1 Heading</h1>

<h2>This is H2 Heading</h2>

<h3>This is H3 Heading</h3>
</body>

</head>

</html>




Share and Enjoy!



1 komento: