HTML Interview Question and Answer

Difference between HTML tags and elements?

HTML tag is just opening or closing entity. 
Example:
<p> and </p> are called HTML tags.

HTML element encompasses opening tag, closing tag, content (optional for content-less tags)
 Example:
<p>This is the content</p> : This complete thing is called a HTML elements.

Comments

  1. http://www.gadgetsnow.com/slideshows/13-must-visit-websites-you-may-not-know-about/SimplyNoise-ASoftMurmur/photolist/53342059.cms

    ReplyDelete

Post a Comment

Popular posts from this blog

Bootstrap Breakpoints