hlo friends gd evening ........plz answer
what is the use of tags in HTML ?? and also explain types of tags ........................................
thx .
Answers
Answered by
7
Answer:
Tags : Tags are used to denote the various elements in an HTML document, we use tags. HTML tags consists of a left angular bracket ( < ), a tag name, and right bracket ( > ).
Tags are basically of two types -
- Container tags : You must have noticed that for every tag, there is a starting tag and an ending tag. These types of tags come in the category of container tags which are same as starting tags except ( / ) after <.
- Empty tags : These tags have only an ON tag - there are no OFF tags as it does not enclose any data. The reason for this is that they do something on their own. They do not act on block of text. An example of this would be the <BR> (Break) tag and <HR> (Horizontal Line) tag. The <BR> tag inserts a single carriage return or break into the document. The <HR> element draw a horizontal line across the page. This horizontal line can be used to divide information or sections.
Anonymous:
thx
Answered by
1
Answer:
Tags:
Tags are used to denote the various elements in an HTML document, we use tags. HTML tags consists of a left angular bracket ( < ), a tag name, and right bracket ( > ).
Similar questions
English,
6 months ago
Math,
6 months ago
Math,
6 months ago
CBSE BOARD X,
1 year ago
Geography,
1 year ago