Which of the following is NOT a valid HTML tag?

Practice Questions

Q1
Which of the following is NOT a valid HTML tag?
  1. <div>
  2. <span>
  3. <section>
  4. <bodytag>

Questions & Step-by-Step Solutions

Which of the following is NOT a valid HTML tag?
Correct Answer:
  • Step 1: Understand what an HTML tag is. An HTML tag is a special code that tells a web browser how to display content.
  • Step 2: Look at the options given in the question to identify the tags.
  • Step 3: Check if each tag follows the correct format. A valid HTML tag usually has a name enclosed in angle brackets, like <tagname>.
  • Step 4: Identify the tag <bodytag>. Notice that it has 'tag' added to 'body'.
  • Step 5: Compare <bodytag> with the correct tag <body>. The correct tag does not have 'tag' at the end.
  • Step 6: Conclude that <bodytag> is not a valid HTML tag because it is not recognized in HTML.
No concepts available.
Soulshift Feedback ×

On a scale of 0–10, how likely are you to recommend The Soulshift Academy?

Not likely Very likely