Custom HTML Tags: Are there any specifications stating a standard way to handle them?

Posted by blesh on Programmers See other posts from Programmers or by blesh
Published on 2012-10-30T18:21:03Z Indexed on 2012/10/30 23:19 UTC
Read the original article Hit count: 252

Filed under:
|
|

It seems like for years they've just been given default styling and inline display. Is there a spec somewhere that has dictated this? I've looked over the RFC's but I'm not particularly good with RFC-ese, and I didn't notice anything anywhere.

For example

<body>
   Some content <mycustomtag>something else</mycustomtag> more content.
</body>

I can still style it with CSS, and the browser doesn't outright vomit... so it seems like there is some sort of expected behavior. Was that dictated by a specification?

© Programmers or respective owner

Related posts about html

Related posts about specifications