DEV Community

Discussion on: What HTML tag do you wish existed?

Collapse
 
allenmiller304 profile image
Allen Miller • Edited

Html now is extendable, you can create a new tag by a simple css, like

CSS:
box { Border: 1px solid black }

Html:
< box >Test</ box >

And if you use JSX with Typescript, you can do fancy things

Collapse
 
kallmanation profile image
Nathan Kallman • Edited
  1. I'm aware I can put basically anything in a tag and browsers will simply treat it like a div if they don't recognize it.
  2. I'm also aware of HTML custom elements which allows expanding on point 1 to the nth degree using JS.
  3. And yes, JSX used in React or most other rendering frameworks lets me code a page as though I've extended HTML to have all sorts of fancy tags.

None of those things are the point of my question; I'm making a wishlist of native, agreed upon, standardized HTML tags.

Collapse
 
allenmiller304 profile image
Allen Miller

Oh sorry, I misunderstood the original question 😊
Ideally, I would love if the browser simplifies 3D so more developers can start exploring that area and introduce 3d UI that can be used in business apps.
I found this link on the internet a few years ago, someone made 1 million characters on a web page presented at the same time in 3d

alteredqualia.com/xg/examples/text...

The amount of content on the page, and the render performance slow hardware, is just stunning!

Thread Thread
 
kallmanation profile image
Nathan Kallman

Yeah! Having more accessible 3D elements would help a lot with making web pages work well in things like VR and AR