X-Tag: Custom HTML Elements On-Demand

X-Tag is a tiny JavaScript library for creating custom HTML elements which can have totally custom functionalities.

The library is based on the W3C Web Components draft and it is built/supported by Mozilla.


As an example, we can create an HTML element named "accordion" and, using JavaScript, customize it to convert its contents to an accordion. As a result, whenever we use <accordion></accordion>, the contents will be presented as an accordion.

The things that can be created with the library is totally up to our imagination (like a tabbox, tree, special input, slider, navigation, etc.).