What is the syntax to write the HTML tags ?
-
<HTML>
-
HTML
-
<%HTML%>
-
"HTML"
A
Correct answer
Explanation
HTML tags are enclosed in angle brackets, with the tag name inside. The syntax is for opening tags. Option A shows which is correct. Option B is just the text without brackets, C uses <% %> which is JSP/ASP syntax, and D uses quotes which are not tag delimiters.