what are empty tag...... ....... ..
Answers
Answered by
26
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/>.
HTML5 does not require empty elements to be closed. But if you want stricter validation, or if you need to make your document readable by XML parsers, you must close all HTML elements properly.
<br> is an empty element without a closing tag. Empty elements can be "closed" in the opening tag like this: <br/>.
HTML5 does not require empty elements to be closed. But if you want stricter validation, or if you need to make your document readable by XML parsers, you must close all HTML elements properly.
Answered by
0
Answer:
In HTML, SVG, or MathML, an empty element is one that has no child nodes.
Explanation:
- An element is referred to as an empty element if it does not have an enclosing tag. It will be improper syntax to add the closing tags to the empty elements. There are no child nodes for the empty elements.
- In essence, empty elements are not container tags but rather self-closing or void elements. The empty components can be used to incorporate things like input fields, lists, breaks, horizontal lines, hyperlinks, and meta-data. For instance, the closing tag on the p> tag meant that it wasn't an empty element.
- Note that some HTML elements, such as the br> element, are empty. These are referred to as empty elements. Elements that are empty lack an end tag.
For further information on the topic:
Explaining empty tag:
https://brainly.in/question/5712097
Name a tag which is used is an empty element that is used to break a line:
https://brainly.in/question/6139322
Similar questions