Earlier quoted context omitted.
You can link it: https://github.com/gildas-lormeau/SingleFile Pretty neat extension!
I was hesitating, thanks!
‡ including sound, solid reasoning for why the former is incorrect and the latter is correct
111–120 of 212 posts
Earlier quoted context omitted.
You can link it: https://github.com/gildas-lormeau/SingleFile Pretty neat extension!
I was hesitating, thanks!
‡ including sound, solid reasoning for why the former is incorrect and the latter is correct
Whilst the spec certainly allows you to ignore closing of a whole range of elements, it's not necessarily the wisest of choices to make. The parser does actually get slower when you fail to close your tags in my experience. Unscientific stats from a recent project where I noticed it: + Document is about 50,000 words in size. About 150 words to a paragraph element, on average. + Converting the entire thing to self-clo…
Are you sure you converted it properly? I'd expect those kinds of numbers if your elements were very deeply nested by mistake (e.g. omitting tags where it's not valid to do so), but I don't see why leaving out
should be so slow.Try these two pages:
XML is beautiful and clean, and I prefer to write full closing tags.
Of course, of course; but here they are talking about HTML (i.e., about HTML5), not about XML.
Earlier quoted context omitted.
> For some prettier mark up. But then if you run it through Prettier it'll add all the closing tags for you :)
If you’re running it through a processor, why it just write markdown and call it a day?
There are several for HTML different versions and it is standardized that you can omit some closing tags and some tags altogether.
The benefit of writing in a standardized language is that later you or anybody can run tools against your sources that check for conformity.
So that is why I prefer HTML. But I would like to hear your opinion on what is the best mark-down dialect currently?
Earlier quoted context omitted.
It’s funny you bring this up because while I have joined the Tables For Layout Are Considered Harmful club, I never really have heard a completely convincing argument on why tables have this bad rap. I think it’s mostly because, semantically, tables don’t make sense for layout, but back in the days before frameworks such as Foundation and Bootstrap (and more recently native CSS3 mechanisms), tables with invisible bor…
The "Tables are Harmful" club largely came from the crew who thinks HTML carries lots of semantics and that if you don't use the Blessed Tags that carry those semantics you're doing Bad Design. The rational evidence in favor of this claim has always been weak. The "div" tag basically finished it off. The people who use HTML "semantically" have always been dwarfed by the people just making it look good on the screen,…
> Google info boxes[...] have nothing to do with the semantic web and everything to do with Google throwing a crapton of machine learning and humans at the problem of parsing distinctly non-semantic HTML until they cracked the problem
This is verging on /r/SelfAwarewolves material.
Earlier quoted context omitted.
If you’re running it through a processor, why it just write markdown and call it a day?
Is there a standard definition for the "Markdown" -language? There are several for HTML different versions and it is standardized that you can omit some closing tags and some tags altogether. The benefit of writing in a standardized language is that later you or anybody can run tools against your sources that check for conformity. So that is why I prefer HTML. But I would like to hear your opinion on what is the best…
Quoted post unavailable.