Re:When does white space matter in HTML? (2016)
by paulddraper on Sunday July 29, 2018 @02:54PM
(#17639670)
Putting yourself in the driver's seat decades ago, how should these render? What content should the browser put on the clipboard? How should text selection work?
Given that HTML is a text markup language, it made sense for text (including whitespace) to be significant, and the SGML to be minimally disruptive. 10% tags 90% text.
Now, in 2018 we want to develop applications not documents, and our HTML is now 90% tags 10% text.
In retrospect, inline should do what inline-block does now. And flexbox should have been used instead of many table/inline-block/float hacks. CSS is a mess: 20/100 foresight and 20/20 hindsight.
Now, in 2018 we want to develop applications not documents, and our HTML is now 90% tags 10% text.
In retrospect, inline should do what inline-block does now. And flexbox should have been used instead of many table/inline-block/float hacks. CSS is a mess: 20/100 foresight and 20/20 hindsight.