WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. imjscn
    Member
    Posted 3 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
    Member
    Posted 3 years ago #

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

    In part, the above link states:

  3. Josh
    Member
    Posted 3 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
    Member
    Posted 3 years ago #

    That's great! Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags