I have read this topic, but I still have doubts. Is there any way to define void tag?
I tried this:
(know that slash is
You shouldn't define your own HTML tags, period.
HTML is useful because it's a set of agreed meanings for tags.
(For example, browsers make links clickable because we've agreed (via the HTML spec) that the tag is a link to another page.)
You can create your own tags, but they won't have meaning to anyone except yourself.
For a given purpose, that might be fine, but you're not really using HTML any more.