Search DaTutorials:  
HOME
Html Tutorials
Basics
Forms
Frames
Hyperlinks and URLS
Images
Lists
Background
Colors
Fonts
Tables
Meta Tags
Events
Javascript Integration
Sound
Other
Search For a Tutorial
Html Reference

HTML Text Formatting Tutorial - Heading Text

Description:


How to make headings in an html page.

Code:

<html>
<body>

This is normal text.

<h1>This is heading text.</h1>
<h2>This is heading text.</h2> 
<h3>This is heading text.</h3>
<h4>This is heading text.</h4>
<h5>This is heading text.</h5>
<h6>This is heading text.</h6>

</body>
</html>

Play with the code:

See working example:


Explanation:

To make a heading in an html page, use the <h1></h1> tags to surround the text you want as heading. The headings are six sizes, from H1 to H6. H1 is the biggest and H6 is the smallest.

Note that the html automatically adds an extra blank line before and after the heading.

See Also:

HTML: Html, Body, H1 , H2, H3, H4, H5 , H6


Online Html Forum  Discuss this tutorial in our HTML forum


     Car Loan | Dutch Bodybuilding Forums | Reference And Education Articles | Debt Loans | New York Hotel
Home     Link To Us     Ad With Us     Contact Us     Tell A Friend     Affiliates     Blog     MsOfficeHelp