Showing posts with label #webdevelopment #webdesigning #html_websites #website_development #web_hosting #website_designing_2019 #mobile_app_development. Show all posts
Showing posts with label #webdevelopment #webdesigning #html_websites #website_development #web_hosting #website_designing_2019 #mobile_app_development. Show all posts

Friday, June 7, 2019

What is the difference between HTML tags and elements?

HTML tag is simply opening or closing entity. HTML element is the collection of  start tag, attributes and close tag. In certain cases, both are interchangeable.





Do you get it from the above image? HTML tags and elements are not case sensitive. We recommend lower case for HTML tags and elements name.

Note that all HTML elements don't require closing tag. Some are self-closing or empty elements.


Examples : HTML TAGs

<p></p>


Examples: HTML Elements

<p>This is the content of HTML elements</p>









Back to Questions: Was this article helpful ? - "What is the difference between HTML tags and elements?"