Why Validate? - March 31st, 2008

At Just Designing we take every care to ensure that all websites we develop are validated using The World Wide Web Consortium (W3C) Validators. Why do we spend so much time doing this?

Internet users use different browsers to view webpages and having a standard format for the layout of a webpage allows these different browsers to translate and display the code of websites in a standardised way.

Up until 2005 this didn’t matter as Microsoft’s Internet Explorer had the majority share of the browser market (more than 70%). Nowadays the browser market is divided more equally, Firefox has around a 40% share, and Internet Explorers share has shrunk to roughly 50%. Despite attempts by the W3C to standardise translation both Firefox and Internet Explorer still translate some HTML and CSS code differently meaning that developers must test their code in both browsers.

We want our pages to be indexed by Search Engines such as Google and Yahoo!, these companies spider the internet using machines therefore if the code is valid it is more likely that the search engine will be able to pick up links to other pages and cache site content.

Finally, it is easier for us to modify websites later on if we know where to find it! Ensuring our websites are valid enables us to make updates to both design and content easily.

Content to Code Ratio (C2C) - March 28th, 2008

C2C Ratio represents the percentage of actual text content in a webpage, typically C2C tools calculate the text content ratio by stripping all HTML tags from the page this includes CSS and JavaScript.

The C2C Ratio is important as search engines spiders use the calculated ratio the relevancy of a webpage as part of their indexing algorithm which is subsequently used to determine your PageRank. Naturally not all search engines use the C2C Ratio, however it is typically considered that a higher Content to Code Ratio gives you a better chance of getting a good page ranking for your webpage.

Not surprisingly, There is no specific target ratio of content to code that has been identified. However, common sense tells us that the higher the percentage of content the better, as search engines love content and quality content is king. There are a number of ways to improve your Ratio.

Physically add more paragraphs of descriptive text (Content) to the webpage.
Removing Script code (JavaScript) from a page to an external file.
Removing Cascading Style Sheets (CSS) from a webpage to an external file.

SEO Programmer
Vipul

« Previous