3 ms·
HTML is quite good at what it was invented for. Why is it so out of fashion?
by solarkraft 4y ago
HTML is quite good at what it was invented for. Why is it so out of fashion?
- leephillips 4y ago17^th^ is more pleasant to read and write than 17<sup>th</sup>, for example. For me, I use Markdown because I can transform it with Pandoc and my own filters to any other kind of document: https://lee-phillips.org/panflute-gnuplot/ https://lee-phillips.org/panflute-gnuplot/
- abathur 4y agoVerbosity is the obvious answer, but this past year I stumbled into a conclusion that wasn't obvious to me before: "semantic" HTML isn't serving authors' needs--it's serving the UA's needs. I picked at what I mean a little in a post this summer: https://t-ravis.com/post/doc/the_gizmos_role_in_markup/ https://t-ravis.com/post/doc/the_gizmos_role_in_markup/ (I've also made the first post in an unfinished series that will continue to explore these ideas about markup, but a bit less directly: https://t-ravis.com/post/doc/what_color_is_your_markup/ https://t-ravis.com/post/doc/what_color_is_your_markup/)
- Cyberdog 4y agoAside from the sibling answers, Markdown, though originally intended solely for HTML output, is useful for writing other types of documents; I've written an e-book which was eventually destined for PDF format as a series of Markdown files. I could have used HTML instead, but aside from being more difficult to write, Markdown's document orientation solves some problems with that (should the HTML-to-PDF translator handle CSS and evaluate JavaScript? How does it deal with <audio> or <video> tags?) by not making them a possibility in the first place. Similarly, for things like comments on message boards or blogs, a user can just dump a bunch of text into the text box without knowing the first thing about Markdown and expect it to look more or less like how it was entered, with paragraph breaks and such. If you force these people to use HTML instead, you're forcing them to at least learn and use <p></p> - which is probably simple for those of us reading HN, but I don't consider it a reasonable request for the normies on Reddit. So, sure, HTML is quite good at what it was invented for, but not everything that involves text input on the internet or elsewhere should be HTML.