XHTML and HTML5 Compliant Flash – Stop Using Embed and Invalid XHTML/HTML5
Posted 2010/02/24
When I moved across to XHTML a few years ago, the transition was mostly quite easy. Using thesse logical rules got me though 90% of the transition:
- Close all tags, use lower-case tags, use lower-case attributes and maintain nesting order.
- Markup is for content, CSS is for presentation. That one was easy.
- Use the right tag for the right job (in the right place) and make things accessible.
However, one thing that can’t be covered by a general rule is the complete removal of tags. Most removed tags were non-standard and started out as proprietary – like <marquee> and the tag we’re going to talk about, <embed>. (more…)
