HTTTML - Create custom HTML tags (htttml.com)
almost 7 years ago from Colin Keany, Product Designer at GitHub, previously MongoDB, DigitalOcean - www.colinkeany.com
almost 7 years ago from Colin Keany, Product Designer at GitHub, previously MongoDB, DigitalOcean - www.colinkeany.com
Before anyone criticises this:
This was created for fun. It is not recommended that you use HTTTML in production for a major application, despite how well it may perform.
Fun experiment, wouldn't be surprised if someone uses it for a 404 page easter egg or something similar.
If you like the concept but in a more serious note, this is essentially http://polymer-project.org/
Also see https://x-tags.org and https://skatejs.github.io
Finally I get to have my <hamburger>
tag. phew
Isn't that just … XML?
Yeah, I remember a time when people didn't want XML in their HTML, cared about markup validation, and the widespread extinction of XHTML in the wild was a thing.
i remember those too! Good ol' times …
I remember those too! Good ol' times …
You just switch the names of the tags, nothing big.
You can use any tag in your markup anyway. The browser still renders it.
I wish this didn't require jQuery. :(
This doesn't really let you make custom tags like Polymer or Angular. It lets you use different names for existing tags and then swaps them out.
One idea to make it useful would be to be able to define html partials that get substituted in, so for example, <my-input label="Name">
becomes <label for="my-input">Name</label><input id="my-input" type="text">
Yeah, I suppose it could be worded better. But what you said is essentially all it's meant to do.
It's meant to be a simple way to change the standard tags we use every day into something a bit more interesting, while still rendering semantic code.
I bet this grinds some gears for an SEO Analyst.
Designer News
Where the design community meets.
Designer News is a large, global community of people working or interested in design and technology.
Have feedback?
Login to Comment
You'll need to log in before you can leave a comment.
LoginRegister Today
New accounts can leave comments immediately, and gain full permissions after one week.
Register now