Wednesday 1 March 2017

Head Tag, Body Tag, Formatting Tag,

The HTML tag tells the browser that this is an html document, you must begin and end in your file with this tag.
Head Tag-
The head tag contain general information like tittle of your document.
Body Tag-
the body tag contains all the content like word, picture and other information.
Formatting Tag-
You can format the text with the help of many formatting tags. Some of them are-
Heading-
heading tags create a heading in the web page there are six heading tags.


 In which <h1> creates the largest text and <h6> create the smallest with a smooth progression between those level-
An example-
Use this coding to check the size.
Result-
 
 As you can see the sizes.
Second example-
Result-

Width Attribute-
This attribute lets you increase the width of a picture and a line.
Height Attribute-
This attribute lets you increase the height of a picture and a line.
E.g.- <hr width="50" height="100">
         <hr width="50%" height="100%">.












No comments:

Post a Comment