Tag:
A HTML tag is a keyword (tag name) surrounded by angle brackets.
<tag name>content</tag name>
HTML tags usually come in pairs, a start tag (<p>) and an end tag (</p>). The end tag is written like the start tag but with a slash before the tag name.
Element:
HTML Elements are written with a start tag and an end tag with the content in between. The HTML element is anything from the start to the end of the tag.
<p>Jasmine's Paragraph</p>
Attribute:
<html lang="en-US">
No comments:
Post a Comment