Which of following is HTML tag

  • A. (A) # and #
  • B. (B) { and }
  • C. (C) ! and ?
  • D. (D) < and >
Correct Answer: D. (D) < and >

If you think there is any confusion in the given MCQs, you can comment below.

Follow us on WhatsApp

docmcqs.com is Pakistan's No.1 online platform for preparing for all types of exams including PPSC, FPSC, KPSC, SPSC, Ministry of Defence, and for one-paper MCQs. This includes Pedagogy MCQs, general knowledge MCQs, current affairs MCQs, and much more.

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 *

Scroll to Top