Which symbol is used to enclose HTML tags?

  1. ( )

  2. < >

  3. [ ]

  4. { }

  5. None of the above.


Correct Option: B
Explanation:

To solve this question, the user needs to have knowledge of HTML and the syntax used for HTML tags.

The correct answer is:

B. < >

HTML tags are enclosed by angle brackets (< >). The opening tag is represented by , and the closing tag is represented by . The content between the opening and closing tags is affected by the tag.

A. ( ): Parentheses are not used to enclose HTML tags. They have other purposes in programming and mathematics.

C. [ ]: Square brackets are also not used to enclose HTML tags. They are used in other programming contexts, such as arrays or character classes in regular expressions.

D. { }: Curly braces are not used to enclose HTML tags. They have various uses in programming languages, such as defining blocks of code or representing sets in mathematics.

E. None of the above: This option is incorrect because, as explained above, HTML tags are enclosed by angle brackets (< >).

The Answer is: B. < >

Find more quizzes: