Keeping it semantic

As I rebuild the Wordpress theme for this site I’m trying to keep the markup nicely semantic. For those who don’t understand, the idea is to use only semantic tags in the markup - HTML tags that mean something in the context of the document, rather than HTML devoted to, say, presentation.

One thing I’ve done is to take my navigation and site title elements to the physical end of the generated HTML file and used CSS to move it for presentation purposes to the top. Search engines then should dive straight into content rather than negotiating a list of site links and the website title and/or banner.

It’s worth remembering, when wondering why people bother with accessible, semantic markup, that search engines approach your site much as a blind person might. If for no other reason than self-interest, making your markup semantic and accessible helps promote your content to Google.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*