Div divisiveness | scottohara.me

submited by
Style Pass
2022-01-23 16:30:07

In HTML 3.2 <div> and <center> were defined as essentially the same element. <center> was treated as a "shorthand" for <div align=center>, with the element becoming part of the HTML specification because Netscape had introduced the element prior to implementing the standardized <div> element. Cow paths be paved... even if they eventually lead nowhere.

<div class=button onclick=foo()> Click me! </div>

<div class=button onclick=foo()> Click me! </div>

<body> <div class=header> ... </div> <div id=main> ... </div> <div class=footer> </div> </body>

Leave a Comment