Challenger App

No.1 PSC Learning App

1M+ Downloads
An example for an empty tag in HTML is :

A<html>

B<img>

C<body>

D<b>

Answer:

B. <img>

Read Explanation:

  • According to the HTML5 specification, there are 15 empty tags, these are also known as self-closing or void tags because they do not have a corresponding closing tag and they cannot contain other elements.

  • Some common examples of empty tags include <br> , <hr> , <img> , <input> , <link> , and <meta>


Related Questions:

Which of the following Object Oriented Programming concept provides usability ?
A markup language used for creating web pages and web applications
What is the correct JavaScript syntax to write "Hello World"?
Which .NET component is responsible for managing the execution of .NET programs ?