How to make sure your website works on all browsers

Ever wondered if your website is shown properly in all browsers!!!

Each browser has a different techniques to analyze and interpret your website code.Here are some important points which should be taken care while writing your website code to make it compatible for all browsers.We will also know how to test your website using different tools.

1.Write pages using valid HTML and CSS.

The Best way to make sure that your website looks same in all browsers is to write code using valid html and css.There are some best validation tools provided by W3 consortium.


Always use HTML(http://validator.w3.org/) and CSS validators(http://jigsaw.w3.org/css-validator/).Test your website at these links.


2.Test your website in all browser at one place

No need to install and check your website in all browser.You can use adobe free service to test your website in all browsers here.




Tidy is an open source tool which helps to clean up your code.It is unix based program.Windows version is not yet released.The best part of tidy is that it corrects your code automatically.You have to use unix terminal to run it.

You can  download tidy source here.

It can be used to clean up your files like below,

tidy -f errs.txt -m index.html

Index.html is your file to be corrected and errs.txt is a file which contains error messages which was corrected.Tidy automatically corrects index.html.

4.check your RSS feeds

This is also one of the way you can check your website feed compatibility.You can check your rss feed compatibility here.


5.Character encoding

Sometimes back I wrote an article in word-pad and copy pasted it in my blog.After publishing ,I found that my feed is not working.It was clearly due to character encoding compatibility.

You should always specify an encoding standard for your website page to help browsers render the text on your page. This encoding should appear at the top of the page as some browsers do not recognize charset declarations ,embedded elsewhere in the page.

An example of encoding is <?xml version=”1.0″  encoding=”UTF-8″?>

6.Checking accessibility

These days java-script applications are very often used in websites,not all users would have java-script enabled in their browsers.Checking your website in text based browser is best thing because almost all browsers can view text pattern.Many search engines are text based and it is always better to check your website in text based browser such as lynx so that it can be indexed by all search engines.

Leave a Reply