Sanjeev Pandit's profileExpert

Sanjeev Pandit

Principal Engineer

Answered 1 questions


About

Answered by Sanjeev Pandit
Sanjeev Pandit
Expert
last year

Hi Ramesh Bhuttewadkar,

A tag is the part inside angle brackets, like <p> or </p>.

An element is the full thing, meaning the opening tag + the content + the closing tag.

Example:

<p>Hello</p>
  • Tags: <p> and </p>

  • Element: <p>Hello</p>

If you have more questions, I am here to help 😊

HTML
This question was asked as part of the Learn HTML course.