[resolved] Can I use some html 5 elements? (4 posts)

  1. imjscn
    Posted 5 years ago #

    I've found some element in html 5 very easy for the eyes when editing a file. I can see where a section starts/ends clearly, I can also put something "aside". I would love to use some of the html 5 elements in my child theme, is it ok?

  2. Tara
    Volunteer Moderator
    Posted 5 years ago #

    Codex guide: http://codex.wordpress.org/WordPress_Coding_Standards#HTML

    In part, the above link states:

  3. Josh
    Posted 5 years ago #

    It's ok to use HTML5 markup. Check out the toolbox theme from the repository. You'll notice there's a JavaScript file in there that provides some backwards compatibility for less capable browsers. cough/ IE. cough/
    Here's how to use that script: http://remysharp.com/2009/01/07/html5-enabling-script/

  4. imjscn
    Posted 5 years ago #

    That's great! Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic