Problem Statement
What is the difference between an HTML tag and an HTML element?
Explanation
A tag is a keyword enclosed in angle brackets that tells the browser how to display content, like the paragraph tag or the heading tag. An element includes both the opening tag, the content inside, and the closing tag.
Practice Sets
This question appears in the following practice sets: