HTML

HTML Elements


HTML Elements

The HTML element is everything from the start tag to the end tag

 

content
  • <tagname>: This is the opening tag that marks the beginning of the HTML element.
  • content: This is the actual content of the element. It can be text, other nested elements, or various types of media.
  • </tagname>: This is the closing tag that marks the end of the HTML element. The forward slash / indicates that it's a closing tag.
  • <p> is the opening paragraph tag.
  • This is a paragraph. is the content of the paragraph.
  • </p> is the closing paragraph tag.
<p>
    This is a paragraph.
</p>
<p>
    In this example:
</p>