Difference between html elements and tags

what is the difference between html elements and tags?

Welcome to the forum, @manishaasianmart.

I don’t know that there’s any defined difference.

I think of an HTML element as the thing itself - a paragraph element, an image element, a link element, etc.

An HTML tag is the way that element is written: <p>, <img>, <a> and so on.


This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.