4 ms·
The president of the Federation in Star Trek VI said it best: "Let us redefine progress to mean that just because we can do a thing, it does not necessarily me
by glesica 14y ago
The president of the Federation in Star Trek VI said it best:
"Let us redefine progress to mean that just because we can do a thing, it does not necessarily mean we must do that thing."
Other than the initial level of indenting, which is basically a non-issue for most people I suspect, there just isn't any reason to omit tags like this.
At the same time, they make the markup clearer, and help a reader quickly delineate between two important sections of the document. Therefore, since they provide at least a very small positive benefit, it is perfectly reasonable, IMHO, to include them.
- podperson 14y agoI'm not sure I agree (I too did not know they weren't required any more). We frequently see things like JavaScript pulled in at the bottom of documents -- the head and body long since stopped having functional impacts, and all they seem to do is make you feel guilty about doing things it seems it's not only pragmatic but perfectly OK to do now. I guess omitting the outermost HTML tags would disturb me slightly if one wants to keep XML-ish. But then it's always bugged me that XML kind of assumes the "file" has no semantic significance.
- TazeTSchnitzel 14y agoDo you need to delineate explicitly? There's a block of meta tags followed by a block of content tags. Quite possibly with whitespace inbetween. I think it's fairly obvious.