Computer Science, asked by angadsk4940, 5 months ago

What is called empty tag in html 2

Answers

Answered by subhashmkg667
1

Answer:

Elements with no closing tag are known as an empty tag.

For eg: <br>, <link>, <img>, <hr>, <meta>, <source> etc.

Since we can not specify anything in between those.

Answered by yashsingh8704
0

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/>.

Explanation:

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.

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>

Similar questions