Skip to main content

HTML Headings

HTML Headings
Headings are defined with the <h1> to <h6> tags.

<h1> defines the most important heading. <h6> defines the least important heading.
Example
<h1>Web Design</h1>
<h2>HTML</h2>
<h3>CSS</h3>

Headings Are Important

Use HTML headings for headings only. Don't use headings to make text BIG or bold.
Search engines use your headings to index the structure and content of your web pages.
Since users may skim your pages by its headings, it is important to use headings to show the document structure.
H1 headings should be used as main headings, followed by H2 headings, then the less important H3 headings, and so on.
HTML Lines

The <hr> tag creates a horizontal line in an HTML page.
The hr element can be used to separate content:

Example

<p>website horizontal line.</p>
<hr>
<p>website horizontal line.</p>
<hr>
<p>website horizontal line.</p>

HTML Tag Reference

You will learn more about HTML tags and attributes in the next chapters of this tutorial.

Tag                            Description
<html>                    Defines an HTML document
<body>                   Defines the document's body
<h1> to <h6>       Defines HTML headings
<hr>                         Defines a horizontal line
<!-->                         Defines a comment

Comments

Popular posts from this blog

ALPACAS : THE SOUTH AMERICAN DOMESTIC ANIMAL

as Alpaca is a very strange animal. It is a domesticated animal of South American Camelid. There are two breeds of alpaca were alive - one Suri Alpac a and other was Huacaya Alpaca. This creature resembles like llama but these creatures are very small in appearance than llama. Alpaca’s fiber works like wool. this fiber is used to weave different sweater, blanket, bedding etc. An adult alpaca is generally reached the length of 81 to 99 cm and their weight generally fluctuate between 48 to 84 kg. Alpaca’s are social animal which live in group. Alpacas are very popular of making different kind of sound. The small alpacas made  ‘wark’ when they were in excited mood.

Weird Device Cures Snoring

Weird Device Fixes Snoring and Sleep Apnea According to sleep experts, you need to be getting at least eight solid hours of sleep a night. Most people aren’t. The result is you feel sluggish in the morning. No wonder America is addicted to Red...

HTML Editors

Writing HTML Using Notepad or Text Editor HTML can be edited by using a professional HTML editor like:     Adobe Dreamweaver     Microsoft Expression Web     CoffeeCup HTML Editor However, for learning HTML we recommend a text editor like Notepad (PC) or TextEdit (Mac). We believe using a simple text editor is a good way to learn HTML. Follow the 4 steps below to create your first web page with Notepad. Step 1: Start Notepad To start Notepad go to: Start All Programs Accessories Notepad Step 2: Edit Your HTML with Notepad Type your HTML code into your Notepad: Notepad Step 3: Save Your HTML Select Save as.. in Notepad's file menu. When you save an HTML file, you can use either the .htm or the .html file extension. There is no difference, it is entirely up to you. Save the file in a folder that is easy to remember, like imzas.com. Step 4: Run the HTML in Your Browser Start your web browser and open your html file from the File, Open menu, or just browse the folder and double-c...