TAGS :- Special formatting code called tags.
HTML tags are element that surrounded
by angle bracket.
html tags normally come in pair .
1- open tags <>
2- closed tags </>
The start tag is also called the opening
tag.
The end tag the closing
tag.
Most of the tags belonging to the first category.
1) html tags are not case sensitive.
Upper case and lower both cases are accept in html code.
Example:- <HEAD> ,
<Head> , <head> ----- </HEAD> , </Head> , </head>
All these type of
case are accept in html.
2) Some
tags can have one more named attributes to define some additional
characteristics of the tags.
<img src = “body .jpg”> (img = image, src source file, .jpg= path of the file).
<body text =
“#FFFFFF” bg color = “#0000FF” > (“#FFFFFF = code of
color”),(00 = off of the color code ,FF= on of the color code).
<body text =
“white” bg color = “blue”>
3) Un
recognized tag:-
Browser normally ignore tags
it does not recognize.
4) Comment lines:-
comments are included b/w <!---and--->
Comment can not be
nested.
<!---a comment
here ->
<!---another
comments in two lines--->
No comments:
Post a Comment