DocMCQs Educational Banner

Which of following is HTML tag

Question: Which of following is HTML tag
  • A. (A) # and #
  • B. (B) { and }
  • C. (C) ! and ?
  • D. (D) < and > βœ“
Correct Answer: D. (D) < and >

The correct answer is:

D. < and >

Here’s why:

  • HTML tags are used to define the structure and content of a web page. They are enclosed within angle brackets (< and >). For example, <h1> defines a heading, and </p> closes a paragraph element.
  • # and #: This could represent comments in some programming languages but not in HTML.
  • { and }: These are braces commonly used in programming languages to define code blocks, but not for HTML tags.
  • ! and ?: These symbols might have specific purposes in different contexts, but they are not used for defining HTML tags

Leave a Comment

Your email address will not be published. Required fields are marked *

Join Our WhatsApp Channel ×
Scroll to Top