non è esatto:Originariamente inviato da prinzart
mi chiedevo anche se è valido, se uno vuole fare un sito interamente in html5 usa il tag <section> o <article> o <aside> ecc.. in base alle necessità. E non il tag <div> che è stato sostituito da quegli altri.
il tag div NON è stato sostituito: il tag div è stato affiancato da altri elementi per cui un sito con doctype html5 può - anzi DEVE - usare quel tag quando ha semplice funzione di contenitore neutro per motivi legati all'aspetto del layout (esempio: come wrapper per centrare il layout o per contenere due blocchi float-tati all'interno di una section che contiene anche altri elementi)
Le specifiche attuali (http://www.w3.org/TR/2011/WD-html5-2...he-div-element) dicono
... The div element has no special meaning at all. [...] It can be used with the class, lang, and title attributes to mark up semantics common to a group of consecutive elements. [...] div elements can be useful for stylistic purposes or to wrap multiple paragraphs within a section that are all to be annotated in a similar way [...]