SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Mar 2011
    Posts
    72
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Twitter Bootstrap - HTML5

    Just a quick question about bootstrap and the use of all the <div> elements. I am looking at the navigation and sections and was wondering if I could just change <div> to <nav> or <section> etc or if this is not the correct way to implement the HTML5 options with this template?

    Thanks for any suggestions and/or help
    Ryan.

  2. #2
    SitePoint Wizard bronze trophy
    Join Date
    Jul 2006
    Location
    Augusta, Georgia, United States
    Posts
    4,048
    Mentioned
    16 Post(s)
    Tagged
    3 Thread(s)
    I haven't tested it but I don't think it matters. From what I recall looking at the source selections are made based on class names rather than element type. That is part of reason for the excessive use of classes for many frameworks including bootstrap.


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
  •