Computer Science, asked by tanya4862, 1 year ago

differences between tag and attributes

Answers

Answered by Deadpool98
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..

tanya4862: thanks
Answered by Anonymous
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.

tanya4862: he explain answer with e.g.
tanya4862: that's why I mark him as brainliest
tanya4862: np ??
tanya4862: ❤(ӦvӦ。)
tanya4862: ok
tanya4862: Good Night
Similar questions