0
Html is the most popular than any other language.
What is html tag?
Every website is designed with thousands of tags like a house make with thousand of brick. For example, to add a pic in a website we need to use <img/> tag. There are thousands of tags.
But there are 5 basic tags in html.
1.       <html> </html>
2.       <head> </head>
3.       <title> </title>
4.       <body> </body>
5.       <p> </p>
Kinds of html tag.
There are 2 kind of html tag.
1.       Empty tag: single tag is called empty tag. There is no ending tag of empty tag. There are few Empty tag in html. For example <br/> is an empty tag(it use for breaking a ling).
2.       Container tag: double tag is called container tag. Every container tag has a ending tag. For example,<html></html>.Every ending tag has a “ / “ .Maximum tag of html is Container tag.
What is html attribute?
Attribute give some extra information about tag. It’s the helper of tag.Its complete the meaning of tag. For example for adding paragraph we need to use <p></P> tag. But we can also add text font, text color, and text size by using attribute.
How to use attribute?

First you have to write tag. Before “>” mark of first tag we need to write the attribute. For example for, <p size=“14” face=“Times new roman” color=“red” >This is a demo paragraph</p>. The output will be “This is a demo text
Bye friends.wish you have a nice day and remember me....

Post a Comment

 
Top