differences between tag and attributes
Answers
Answered by
4
hii bro..
that was nice question...
--------answer-------
HTML attributes. An attributedefines a property for an element, consists of an attribute/value pair, and appears within the element's start tag. An element's start tag may contain any numberof space separatedattribute/value pairs. The most popular misuse of the term "tag" is referring to alt attributes as "alttags
plz mark me as brainlist or follow me..
that was nice question...
--------answer-------
HTML attributes. An attributedefines a property for an element, consists of an attribute/value pair, and appears within the element's start tag. An element's start tag may contain any numberof space separatedattribute/value pairs. The most popular misuse of the term "tag" is referring to alt attributes as "alttags
plz mark me as brainlist or follow me..
tanya4862:
thanks
Answered by
6
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.
It defines the tags for the results appearance as well as their behavior on the web page.
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.
It defines the tags for the results appearance as well as their behavior on the web page.
Similar questions