+ 1

Are tags and elements same?

17th Feb 2021, 12:31 PM
PHILOMATH PRATIK
PHILOMATH PRATIK - avatar
5 Antworten
+ 3
HTML Tags: Tags are the starting and ending parts of an HTML element. They begin with < symbol and end with > symbol. Whatever written inside < and > are called tags. HTML elements: Elements enclose the contents in between the tags. They consist of some kind of structure or expression. It generally consists of a start tag, content and an end tag.
17th Feb 2021, 12:47 PM
Mr. Unknown
+ 1
vatsal k you can add an explanation as well , or just refrain from commenting if you don't have much info about the topic.
17th Feb 2021, 12:44 PM
Abhay
Abhay - avatar
+ 1
tag and element are almost same... but tag define the source code, while element define the (virtual) node ^^
17th Feb 2021, 3:15 PM
visph
visph - avatar
0
Not quite
17th Feb 2021, 12:34 PM
vatsal k
vatsal k - avatar
0
Tag <p> </p> Close tag Element = start tag contents and close tag: <p>Hello</p>
17th Feb 2021, 1:20 PM
Chris Coder
Chris Coder - avatar