HTML elements
An HTML element is is a piece of content (usually text) that is enclosed within tags. The tag name defines what type of content it is and how it should be displayed.
<h1></h1>
Defines a Heading
<p></p>
Defines a paragraph
<a href="#"></a>
Defines an anchor link
Most HTML elements have an opening, and closing tag, the content sitting between them, for example:
<h1>This is a heading</h1>
<p>This is my first paragraph</p>
however, there are a few tags that don't have a closing tag. for example:
<br> This is used to insert a line break.
<hr> This with insert a horizontal rule.
<img src="https://images.unsplash.com/photo-1596854407944-bf87f6fdd49e" alt="ginger cat"> the img tag is used to insert and image.