SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Feb 2011
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question hgroup not working for me. Why?

    I just got HTML5&CSS1 in the mail yesterday and I've already started. Immediately I ran into a small problem with the hgroup element. I did it exactly as described in the book, but my results doesn't outline. Take a look at my code:
    <header>
    <hgroup>
    <h1>The HTML5 Herald</h1>
    <h2>Produced with that Good Ol' Timey HTML5 &amp;
    CSS3</h2>
    </hgroup>
    <nav></nav>
    </header>
    This is what it looks like in the browser:
    The HTML5 Herald
    Produced with that Good Ol' Timey HTML5 & CSS3

    No outline! What am I not getting right? Please respond.
    Last edited by swydell; Jun 15, 2011 at 10:45. Reason: I hadn't finished.

  2. #2
    Robert Wellock silver trophybronze trophy xhtmlcoder's Avatar
    Join Date
    Apr 2002
    Location
    A Maze of Twisty Little Passages
    Posts
    6,316
    Mentioned
    60 Post(s)
    Tagged
    0 Thread(s)
    Apparently you are supposed to download some JavaScript called h5o to see that effect in the browser by the looks of things [p39].


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •