I notice that most people use the words HTML tags and HTML elements interchangeably.
But what is the difference between them?
The way I s
HTML tag is just opening or closing entity. For example:
and
HTML element encompasses opening tag, closing tag, content (optional for content-less tags) Eg:
This is the content : This complete thing is called a HTML element
This is the content