IsaKiko / D3-visualising-data

Lesson plans for teaching the basics of HTML, CSS, SVG, JSON, and JS (primarily D3.js), in order to create browser-based data visualisations.
http://isakiko.github.io/D3-visualising-data/
Other
35 stars 35 forks source link

HTML5 has section as element #32

Closed rgaiacs closed 8 years ago

rgaiacs commented 8 years ago

On 01-html.md we have

HTML has more predefined elements that will vary in size and style. To divide the page into different section, we can create a division using <div> to open and </div> to close it.

I would suggest replace <div> with <section> based on http://www.w3.org/TR/html/sections.html#the-section-element. I'm also happy to reword the text to

HTML has more predefined elements that will vary in size and style. To divide the page into different **blocks**, we can create each **block** using <div> to open and </div> to close it.
IsaKiko commented 8 years ago

I wanted this to be as generic as possible, giving them essentially one element that'll always be useful.

is great for this.