Computer Science, asked by roshan483477, 5 months ago

which one of the following is an empty tag​

Answers

Answered by tanishakumari123
4

Answer:

HTML elements with no content are called empty elements or empty tag. <br> is an empty element without a closing tag. Empty elements can be "closed" in the opening tag like this: <br/>.

Answered by SamikshaDhere
0

Answer:

<br />

Explanation:

1. <br /> is the empty tag in HTML.

2. <img src ="image location" alt="alternate text" /> is also an empty tag in HTML.

HTML tags

  • HTML tags are the keywords.
  • They define how web browser will format and display the contents.
  • It helps to differentiate between HTML content and a simple content.

Empty Tag / Empty element

  • An empty element is an element in the HTML that do not have any child node.
  • Empty tags contain only the opening tag.
  • But, empty tags can perform some actions in the webpage.
  • syntax for empty tags is <tag_name>.

Few examples of empty tags are :

  1. <br>:
  2. <hr>:
  3. <img>:
  4. <input>:
  5. <link>:
  6. <meta>:
  7. <source>:

The empty elements in HTML are :

  1. <area>
  2. <base>
  3. <br>
  4. <col>
  5. <embed>
  6. <hr>
  7. <img>
  8. <input>
  9. <keygen>
  10. <link>
  11. <meta>
  12. <param>
  13. <source>
  14. <track>
  15. <wbr>

#SPJ2

Similar questions