Saturday 22 December 2012

Lesson 1 for HTML: what are Headings

Headings: Font size in HTML web page
There are 6 levels of Headings in HTML

<h1>, <h2>, <h3>, <h4>, <h5>, <h6>

<h1> is used for main headings it is like this "Heading"
<h2> is used for subheadings it is like this "Heading"

for paragraph writing we use this size of font which is <h3>
<h3> element is used and its size is like this "Heading" it is also called Normal Font

and so on...
all are terminated by "/" like </h1>, </h2> ...

The usage of these codings is written below
<h#> My name is Hatif Kashmiri </h#>

Browsers display the contents of headings at different sizes. The contents of an <h1> element is the largest, and it also called the heading of some thing. The contents of an <h6> element is the smallest. Usually it is not used commonly we use <h3> for normal font.  The exact size at which each browser shows the headings can vary slightly. You can also adjust the size of text in your own browser. You will see how to control the size of text, its color, and the fonts used when we come to look at CSS. This was your first Lesson for HTML WEB PROGRAMMING.

HATIF KASHMIRI

No comments:

Post a Comment