CBSE BOARD X, asked by nikhih200, 1 year ago

Distinguish between tag and tag with the help of one example

Answers

Answered by shivasahani002
0

Tag is an element which instruct the web-browser ‘what & how's to show. It is given inside <angular brackets>.

They are of 2 types : Container (needs to close again followed by a </slash> & Empty (need not to close). For example = paragraph, body, heading, etc. are the container tags. While, BreakLine, HR, I'M GOING, etc. are empty.

Attributes are those commands & values, which are given inside a <tag _>. Here, “_” is the place left for an attribute. THATS HOW YOU CAN DIFFERENCIATE BETWEEN THEM. It defines the tags for the results appearance as well as their behavior on the web page.



Similar questions