CSS CSS Flexbox Layout Flexbox Properties Changing the Order of Flex Items

David Finney
David Finney
4,116 Points

Question about SEO Comment.

In the video and in the notes it references SEO:

"You can structure an HTML document for SEO or accessibility first, then rearrange the content without ever editing the HTML."

Can someone give a little more detail? It is talked about almost in passing but is also written in the notes.

1 Answer

Alan Brown
Alan Brown
20,367 Points

Hi David Finney, I think the big takeaway with this statement is to focus on the information architecture of the page in your mark-up. Pay attention to the document object model. This will ensure your page is coded for SEO and more accessible.

Pay attention to the heading tags you use. Have only one H1 in your page near the top and cascade down. That is to say your section heading would be H2, and nested under those H3 etc.

If you/one concentrates on this mark-up here first and make it clear without styling you’ll be in a good place. Only then change focus and start styling your page with CSS.