what are empty elements and is it valid
Answers
Answered by
2
An empty element is an element from HTML, SVG, or MathML that cannot have any child nodes (i.e., nested elements or text nodes). The HTML, SVG, and MathML specifications define very precisely what each element can contain. ... In HTML, using a closing tag on an empty element is usually invalid.
Answered by
6
Answer:
An empty element is an element from HTML, SVG, or MathML that cannot have any child nodes (i.e., nested elements or text nodes). The HTML, SVG, and MathML specifications define very precisely what each element can contain. ... In HTML, using a closing tag on an empty element is usually invalid.
Similar questions