+ 1
Are tags and elements same?
5 odpowiedzi
+ 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.
+ 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.
+ 1
tag and element are almost same...
but tag define the source code, while element define the (virtual) node ^^
0
Not quite
0
Tag <p> </p> Close tag
Element = start tag contents and close tag: <p>Hello</p>