Sunday, December 27, 2015

HTML Tag

An HTML tag is composed of the name of the element, surrounded by angle brackets. An end tag also has a slash after the opening angle bracket, to distinguish it from the start tag. (wikipedia). 
example
HTML tag could be :
<openingTag> </closingTag>
<openingandclosingTag />

here some HTML tag with its description
<HTML> </HTML> = it is an element to define HTML document
example of use
<HTML>
.
..
....
.....
</HTML>

<HEAD> </HEAD> = it is an element to define document title, styles, links, scripts, and other meta information.
example of use
<HTML>
 <HEAD>
 ..links
 ....metadata
 ..... title
 </HEAD>

</HTML>
 .
<BODY> </BODY> = it is an element that contains all the contents of an HTML document, such as text, hyperlinks, images, tables, lists etc.
example of use

<HTML>
 <HEAD>
 ..links
 ....metadata
 ..... title
 </HEAD>
 <BODY>
 ..texts
 ...images
 .....list
 ......hyperlinks
 </BODY>

</HTML>
0

0 comments:

Post a Comment