Question: Which of following is HTML tag
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