Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Jan 2010
    Posts
    122
    Thanks
    50
    Thanked 0 Times in 0 Posts

    question about sectioning element

    I just want to ask if div element is still the best for sectioning our webpage today?

    I heard about html5 "section" and "article" is better now for sectioning our webpage. Is it true?

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,471
    Thanks
    6
    Thanked 980 Times in 953 Posts
    It depends what you want to do. All elements have a meaning (semantics). However, division elements (div) are still perfectly valid and, in fact, sometimes the only valid choice over section or article; HTML5doctor has some informative articles.


  •  

    Posting Permissions

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