Every HTML document consists of the following building blocks-

  • Attribute: In HTML an attribute provides extra information about an element and that is applied within Start TAG. It contains two fields i.e. Name and Value
  • Tags: Tags in HTML surround the content and add meaning to it and they are written between < and > brackets.
  • Elements: In HTML file, everything written within tags are termed as HTML elements.
BY Best Interview Question ON 17 Jan 2021