we can easily set the margin of the web page through margin tag the there are two types of margins can be used in html.
1- top margin
2- left margin
if you set 72 pixels in the margin it means you have set 1 inch margin, the margin tag is always start in the body tag like this <body topmargin="72" leftmargin="72"> both top and left margins tag is inclued in the body tag, after setting the left and top margin no need to set margins from righ and botton of the page it will automatically adjust.
HEADINGS IN HTML:
Heading tags is simply used to create headings in html in different sizes it 1-6 sizes headings, heading tags is always start from <H>......and closed on </H>
HEADING SIZES:
<h1> this tag contains the smallest size of the heading</h1>
<h2> this tag is bigger than h1 tag</h2>
<h3> this tag is bigger than h2 tag</h3>
<h4> this tag is bigger than h3 tag</h4>
<h5> this tag is bigger than h4tag</h5>
<h6> this tag is bigger than all heading tags</h6>
if you want to write heading bigger to small type these tags from <h6> to <h1>
<h6> this tag is bigger than all heading tags</h6>
<h5> this tag is smallest than h6 tag</h5>
<h4> this tag is smallest than h5 tag</h4>
<h3> this tag is smallest than h4 tag</h3>
<h2> this tag is bigger than h3 tag</h2>
<h1>this tag contains the smallest size of the heading </h1>
Background color:
we can change the color of the background of the web page with the help of this tag it always start from <body bgcolor="color name"> no need to close this tag it is single tag.
No comments:
Post a Comment