Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

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

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.