I've seen this done before on multiple websites.
What I'm looking to do is use tags like <header>
and <description>
and <contact>
without any attributes, in place of comments, as it looks much cleaner.
However, I'm wondering whether or not they'll be any repercussions for doing so, and whether or not it's safe to do?
Short answer; don't. It will not be valid (except in XHTML where you can add such tags)
It will not only break in some browsers it will be confusing for other people to read as well.
See this qustion: https://stackoverflow.com/questions/211394/when-to-use-custom-html-tags
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With