117k views
2 votes
Give an example of empty tags in HTML​?

1 Answer

7 votes

Answer:

An "empty tag" refers to HTML coding where the line of code stands alone and is not closed with slash characters. Empty tags are used to insert images, lists, breaks, meta tags, horizontal rules and hyperlinks. Empty tags are bracketed by "<" and ">" characters. Empty tags do not have any outside content from other programs, and they only contain a single code to place something on a Web page.

Step-by-step explanation:

The empty elements in HTML:

<area>

<base>

<br>

<col>

<colgroup> when the span is present

<command>

<embed>

<hr>

<img>

<input>

<keygen>

<link>

<meta>

<param>

<source>

<track>

<wbr>

User Vaishak Suresh
by
5.1k points