HTML Interview Question and Answer
Difference between HTML tags and elements?
HTML tag is just opening or closing entity.
Example:
Example:
<p> and </p> are called HTML tags.
HTML element encompasses opening tag, closing tag, content (optional for content-less tags)
Example:
Example:
<p>This is the content</p> : This complete thing is called a HTML elements.
http://www.gadgetsnow.com/slideshows/13-must-visit-websites-you-may-not-know-about/SimplyNoise-ASoftMurmur/photolist/53342059.cms
ReplyDelete