Perhaps the first time was modifying MySpace or some 90s/2000s social media site.
It's used for laying out pages, adding buttons or building whole UIs. Safari, Chrome, Firefox, Edge, Opera all implement some latest standard of HTML.
What's your biggest issue with HTML today in 2022? What's the one big thing you would change? Which of your needs are not being met with HTML as it is today?
But the big issue is all the UI stuff that goes around that editorial content, that we have to reinvent all the time or use piles of third-party stuff for. HTML has no tabs, no cards, no popins, no mega menus, no button groups, no steppers, etc.
We shouldn't use that "platform" to build applications.
What do you think is a better platform for the web?
That meets similar requirements: - fast to deploy/load cross platform - accessible to build with
For the application-like stuff… there was some good and some bad in Java applets, Flex, and Silverlight but none of that had a barrier as low as HTML/CSS/JS.
I think the way forward is for HTML and the DOM is to adopt ideas from the framework space (like one/two-way binding) and expose more high-level UI elements out of the box.
Just imagine something like:
<script>
const myDataTable = new DataTable()
myDataTable.head = ["Foo", "Bar", "Baz"]
myDataTable.items = [[1, 2, 3],[4, 5, 6]]
</script>
<table binding="myDataTable" class="my-data-table" sortable />
with everything needed built into the platform, and no hard need for any third-party framework.God, I wish we just had a better language for the Web altogether. Something with sane UI primitives that automatically translate into platform API calls (i.e. you say <button>, the OS renders a button based on its own UI guidelines).
Some days I'm still nostalgic for XML + XSLT, which is like a super strict but super powerful alternative to HTML + CSS. You define the structure however you like, using a schema of your choosing, and then use XSLT to define the output, transformations, and styling. Instead, we get kludges like React trying to shoehorn their own abstractions into a million autogenerated nested <div>s because the DOM is the DOM, and having to build a UI lib on top of that, once per project per company per platform. It sucks!
HTML is a blank piece of paper force-fed into a 90s-style typewriter. Modern UIs are composed out of layers of abstractions that vaguely signal intent. The two are not a good pairing :(
Do you imagine a better version of HTML to be more like that? Or perhaps like SwiftUI? If you're familiar with that.
Lack of widgets. We have people writing emoji pickers in JS and placing them in documents, and some of them work horribly on mobile. Then there's the caveat of emoji pickers being already available on mobile and no such JS widget is needed. Then there's 100+ variations of dropdown menus implemented in JS, which all have their own bugs, don't work well on mobile, and are already somewhat natively available on mobile anyway so the JS widget is not needed.
Like each browser does it differently, and on top of that renders emojis differently. Is this similar to the issue you're talking about?
Would you stick with HTML if you'd write a 'new browser' from scratch?
When people claim they want HTML improved I stop taking them seriously.
Coming from a gaming background, the web seems awesome. I can publish my game without gatekeepers like Apple or Steam. But, building the game itself using HTML/JS/WebAssembly has too many limitations.