Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

The importance of semantic coding for seo

Featured Replies

The title was just supposed to be "The importance of semantic coding for seo" if a mod could change it to that instead of it looking like I have stuttered that would be great :)

 

 

Ok, so you have your back links and you update your site every day with new interesting things, what about the code itself?

 

Does the way your site is coded make a difference to SEO? For example say there are 3 ways to build a site:

 

1.) Table based and have style info in the html like this:

 

<td>
<font size="3" color="#000000"><strong>HEADING</strong></font><br>
<font size="2" color="#ff22ff"><em>sub heading</em></font><br><br>
<font size="1" color="#000000">paragraph here</font><br>
</td>

 

2.) Replacing tables with divs and using classes and spans to change text like this:

 

<div id="container">
<div class="heading1"><strong>Heading</strong></div>
<div class="heading2"><em>sub heading</em></div>
<div class="text_style_1">paragraph here</div>
</div>

 

3.) Using Semantic html like this:

 

<div id="container">
<h1>Heading</h1>
<h2>littler text</h2>
<p>paragraph here</p>
</div>

 

 

It would be great to get some opinions on this, and if possible some articles, as it is all well and good saying coding in Semitic html not just for seo but for usability and accessibility too...but I would like to hear the and read the reasons as to why (if any) the way the site is coded helps seo compared to site that are not coded so well, or use what is given to them...

 

 

So really what I am after is proof and reasons why it either helps or doesn't help with seo, rather than just taking someone's word that it does :)

 

 

 

 

*as a side note all the above codes would validate to their appropriate doctypes, so this debate isn't about valid coding, as valid coding to w3c standards doesn't always mean clean coding :pp

Off the top of my head, the first point would be that a search engine only reads x amount of data from a webpage, if you clog it up with unnecessary code, the search engine starts to read more code than content, and chances are it'll miss out the good bits :(

 

I'll dig around for some articles to post.

Off the top of my head, the first point would be that a search engine only reads x amount of data from a webpage, if you clog it up with unnecessary code, the search engine starts to read more code than content, and chances are it'll miss out the good bits sad.gif

 

not true, they used to only read 100kb from any given page but now they index more. link to article - and that guy actually works for google, hes not just another blogger.

 

I dont think i have ever seen any actual proof, or any actual testing done on this.

 

I supose youwould need to set up a test, find a very long keyword, make it into 2 domains maybe, heyflyingkitesisreallycoolkids.co.uk and wowflyiung...........co.uk make 1 site table, other divs create the backlinks (the most importaint seo factor) and see which is the highest after a couple of weeks.

  • Author

So it doesn't matter how the site is coded, juts providing the relevant information is there, the little spiders don't care how much crap they have to sort through to get to the useful bits?

Google will crawl and index every bit of information it can find on your website. Whether you get in the index or the supplemental index depends on many factors, as does what rank you will achieve for a specific keyword or keyphrase.

 

Backlinking, as most SEO enthusiasts will know, is the key to a succesful SEO campaign but it's not the only factor.

 

With regards to semantic coding, it most definitely helps with SEO.

 

Google, amongst other things, looks for keywords and keyword phrases within your content and uses them to identify what the page is about and how relevant it is to those keywords and keyword phrases.

 

Google will score your site higher if your keywords are in your title, then your description, then H1, H2, H3 etc and in that order. Re-arrange the order and Google will mark you down for this.

 

Coding your website in this way also allows Google to index your information quicker and more accurately which in turn will give you a higher score within its algorithm.

 

Basically, if Google can understand and read what your page is about easily and in a logical and meaningful way, as if it where a human reading the page then you will rank higher. That is why it is important to code semantically when thinking about SEO as well as usability and accessibility.

 

Barry Wise

 

The above article goes in to more detail and I have many more sources if you need them.

 

I could go in to further detail myself but I'm very tired. If you like I'll explain more tomorrow. In fact I'm going to blog about it, because it is important.

 

Hope this helps. :)

Google will crawl and index every bit of information it can find on your website. Whether you get in the index or the supplemental index depends on many factors, as does what rank you will achieve for a specific keyword or keyphrase.

 

Backlinking, as most SEO enthusiasts will know, is the key to a succesful SEO campaign but it's not the only factor.

 

With regards to semantic coding, it most definitely helps with SEO.

 

Google, amongst other things, looks for keywords and keyword phrases within your content and uses them to identify what the page is about and how relevant it is to those keywords and keyword phrases.

 

Google will score your site higher if your keywords are in your title, then your description, then H1, H2, H3 etc and in that order. Re-arrange the order and Google will mark you down for this.

 

Coding your website in this way also allows Google to index your information quicker and more accurately which in turn will give you a higher score within its algorithm.

 

Basically, if Google can understand and read what your page is about easily and in a logical and meaningful way, as if it where a human reading the page then you will rank higher. That is why it is important to code semantically when thinking about SEO as well as usability and accessibility.

 

Barry Wise

 

The above article goes in to more detail and I have many more sources if you need them.

 

I could go in to further detail myself but I'm very tired. If you like I'll explain more tomorrow. In fact I'm going to blog about it, because it is important.

 

Hope this helps. :)

 

 

Thanks for the link Gareth - very clear.

 

S

Basically, if Google can understand and read what your page is about easily and in a logical and meaningful way, as if it where a human reading the page then you will rank higher.

Nicely put Gareth.

Which is why you should never write for robots or go 'designing' your content - start your design with 100% semantically correct XHTML as dictated by the content and then don't bugger it up with what you do next!!!

 

Another point to think about is the direction search engines and 'black-hatters' are taking (rather than the specifics of the algorithm now)?

Search engines want organic SERPs to be accurate - spammy crud is bad for business.

In isolation... Meta tags, titles, 'h' tags, anchor text, strong, italic etc. are all prone to keyword stuffing and abuse, and backlinks are prone to manipulation.

If I was Google I'd be developing cleverer and cleverer ways of content analysis that don't give any one individual element a heavy weighting if it doesn't fit a sitewide pattern that matches how it's linked in. There was an interview/article on this (the link to which escapes me at the moment).

So, what I'm saying IMO is that well-written and well structured content that's semantically coded is the only way for long term success with organic SEO.

  • Jo 90 locked this topic
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.