Treehouse: Grow your CSS skills. Land your dream job.

HTM5 and Nesting Issue

  • # February 7, 2012 at 4:56 pm

    Hello, and thank you for checking out my post….

    I am new to the whole HTML5 and CSS3 advancement. And have question in respect to nesting one within an other.

    I am working on a WordPress theme, and would like to place a Menu within the Header. Under the old ways of HTML and CSS I would just use a div id=”nav”, and nest this within the div id=header. But I don’t know if I could nest a NAV Tag within a HEADER Tag. Would this be proper Mark-Up? Or in this case, just use a div id=”nav”

    Thank you….

    # February 7, 2012 at 4:59 pm

    I guess I just need to know if I could nest a HTML5 Nav Tag within an HTML5 Header Tag.

    # February 7, 2012 at 5:34 pm

    @MartyBoi You most certainly can! For any help with HTML5 I recommend checking out this site:

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.