how can i create my own html tags in HTML or HTML5 so i can make my own html tag and css library
such as
<mymenu> ul li or some text </mymenu>
<heading> Yeah My Own Heading</heading>
is their a way to do that? if yeah please tell me how i am really curious about it. and tell me what problems should i will be having after making my personalize tags (if you know any) .
The “proper” way of doing this is to use classes:
<div class="mymenu">. That being said, every browser I know of will display your<mymenu>tag just fine and you can style it however you want:demo: http://jsfiddle.net/cwolves/DPMCM/2/
Note that IE<9 will not immediately display this properly. To get around that, simply use the following JS anywhere on your page (before the elements are created):
which will tell the IE CSS engine that a
mymenutag exists.