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:

What is the value of sum after the execution of the following code?

int sum = 0;

for (int i = -5; i<=;i++)

{

         if (!i) break;

         sum += i;

}

 

 

_____________ is the correct syntax of IF( ) Function:
Choose the correct HTML element for the largest heading.
Identify the HTML section that contains the content displayed in the browser window.