what is a self closing tag
Answers
Answered by
1
Answer:
Explanation: Self closing tags in HTML are that tags who do not need to close them
ex. <p>This is a <br> paragraph with a line break.</p>
here break is used to add new line but we do not need to close it
Here is the list of some self closing tag in HTML:
<area />
<base />
<br />
<col />
<embed />
<hr />
<img />
<input />
<link />
<meta />
<param />
<source />
<track />
<wbr />
Answered by
1
Explanation:
A self closing tag is a type of tag in HTML that need not to be closed by a closing tag, which means there is no saperate closing tag for it as </tag>. For example <img /> tag, <input /> tag, <br /> tag, etc
Similar questions