Answers for "difference between tag and element"

1

difference between tag and element

HTML tag is just opening or closing entity. For example:

<p> and </p> are called HTML tags

HTML element encompasses opening tag, closing tag, content (optional for content-less tags) Eg:

<p>This is the content</p> : This complete thing is called a HTML element
Posted by: Guest on January-31-2021

Code answers related to "difference between tag and element"

Browse Popular Code Answers by Language