Why THAT MAN works and EMPTY VOID doesn't....
html - Are void elements and empty elements the same? - Stack Overflow
How strong do you think Empty Void will be?
Empty Void hype
Videos
Its very simple
In webcomic, the buildup to That Man was very good. We knew nothing about him. He was very mysterious. Only the relevant things were revealed. Ones that would captivate readers. We learned that he had fought with Blast in the past. That it was a fierce battle and then he lost.
We learned that he was behind the evil Ninja Village. Where children were brought and treated so so badly. Then we learned how truly evil and powerful he was.
Heavenly njnja party revealed that his kill count was in SIX FIGURES. I bet he was the second monster ever after Boros to have that high of a count. Boros had destroyed entire planets, so he had much higher count but still, A SINGLE MONSTER HAVING A KILL COUNT IN SIX FIGURES IS INSANE.
They also revealed how he is was so much more faster than both Flash and Sonic combined. This put him at a level way higher than most of the dragon level monsters. Because Flash himself was so absurdly strong himself. Someone muchs stronger than him means A LOT
So, overall THAT MAN was pretty scary. Both character wise and feat wise. No God involvement. Nothing
Then came Empty Void. Became Blast's friend to know more about him. Got his sister to marry Blast so she could reveal the secrets of Blast (very dumb). Had accepted God's power which is why he became evil. He just looked tough from outside but cared so much about his sister and disciples(which is also dumb considering he started Village, an evil place, while he was sane). So far he has already become anti hero from pure evil, very generic. And then WE FIND OUT ABOUT THE WORST AND THE DUMBEST PLAN IN HISTORY.
The moment he absorbed Garou's powers, he decided to kill God by making more of God's avatars and then sacrificing himself at the end to transfer his powers to others so they can all become sane and fight and kill God together.
A guy that was purely evil in webcomic is now a hero who wants to sacrifice himself for greater good. WOW
Like seriously wow. Forget webcomic. Let's say they didn't want to follow that path. That they wanted to increase the stakes much more than webcomic. But still, can't a pure evil be pure evil these days?
The term "empty element" comes from SGML, on which HTML standards prior to HTML5 were based, and where the EMPTY keyword is used to represent elements with an empty content model. Here's what the HTML 4 spec says:
The allowed content for an element is called its content model. Element types that are designed to have no content are called empty elements. The content model for such element types is declared using the keyword "EMPTY".
With an example declaration for the img element:
This example illustrates the declaration of an empty element type:
Copy<!ELEMENT IMG - O EMPTY>
- The element type being declared is IMG.
- The hyphen and the following "O" indicate that the end tag can be omitted, but together with the content model "EMPTY", this is strengthened to the rule that the end tag must be omitted.
- The "EMPTY" keyword means that instances of this type must not have content.
XML defines an "empty element" quite differently:
[Definition: An element with no content is said to be empty.]
The difference here is that XML does not say that an "empty element" is "an element whose content model is empty". Instead, it simply says that an "empty element" is one that has no content. This is regardless of whether or not the document type or XML schema defines that specific element to have no content by necessity; XML itself by nature places no such restrictions.
An additional term, "empty-element tag", is used to describe the shortcut syntax /> commonly used to indicate empty elements (again, regardless of whether or not they are empty by definition). This is also commonly referred to as "self-closing" syntax.
The term "void element" is new to HTML5. It has the same definition as the pre-HTML5 definition of "empty element": namely, an element that only has a start tag, no end tag, and cannot have any content whatsoever. Although the W3C HTML5 spec does not reference the term "empty element", the term "empty-element tag" as described in XML is used in a related document:
In the HTML syntax, void elements are elements that always are empty and never have an end tag. All elements listed as void in the HTML specification or in an extension spec, MUST in polyglot markup have the syntactic form of an XML empty-element tag (
<foo/>). Other elements MUST NOT use the XML empty-element tag syntax.
It seems that modern HTML standards now prefer the XML definition and eschew the former definition. This seems fitting, because modern HTML is no longer an SGML application, but a markup language in its own right. (It's not XML either, but that's where polyglot markup comes into play.)
So, to summarize:
- An empty element is one that has no content, regardless of whether it is allowed to have content in the first place.
- A void element is one that cannot have any content.
Additionally, it can be said that all void elements are empty elements by definition, but an empty element does not necessarily represent a void element.
In answer to your questions:
-
If these are the same thing, should they be referred to as empty elements and never as void elements? In that case, is the W3 spec outdated and not to be trusted? Or should the W3 spec take precedence, even if it is outdated?
Elements such as
area,br,colandimgare more accurately referred to as void elements, as in HTML5. They are considered empty as well, but only because they can't be "non-empty".I have no idea why MDN has an article that says "['Void elements'] is an improper name and should be avoided." when it uses the name in most of its HTML references anyway, never mind that such a statement directly contradicts the official specifications.
-
If they are not the same thing, is
<col span="2" />valid syntax or should it be<col span="2">(without the slash) because the end tag is forbidden? I may have the wrong idea of "end tag" but I've always thought of the/>(as in<br />and<img />) to be an end tag of sorts.<col span="2" />is only valid syntax because HTML5 recognizes it as a popular way of marking up void elements thanks to XHTML, and to disallow it would needlessly break validation compatibility with many XHTML documents that would otherwise validate as HTML5. HTML5 itself defines/>to be meaningless (with one specific exception that's not really relevant here), so in actuality<col span="2" />in HTML5 simply represents acolwith just a start tag and no end tag, and is therefore identical to<col span="2">, albeit XML-friendly.
What you are citing as “W3 spec” is a non-authoritative reference. The W3C Recommendation HTML 4.01 refers to empty elements as elements with EMPTY declared content, i.e. elements that cannot have any content. It does not use the phrase “void element” at all.
HTML5 drafts specify the elements that are emppty elements in HTML 4.01 as having “empty” content model but do not actually define such a model. Instead, it mentions void elements and says that they “can't have any contents”.
So the confusion is in the HTML5 drafts. Independently of this, it is important to distinguish between empty/void elements that cannot (by the specs and by the parsing rules actually applied) ever have any content and elements that just happen to have empty content, such as empty <p> elements (bad practice) and empty <td> elements (usually bad practice, but valid and sometimes adequate).