Can I Create Custom tags?

So in my code can i create custom tags like this?

<legs> <h1> i am a leg</h1> </legs>

if not, please tell me.

Not in HTML.