Google Chrome is relatively new in the browser market but it is gradually taking up the market share too. So it is very important for website developers to optimize the code of their website so that the websites look great and impressive even on the Google Chrome browser. After receiving many insightful questions from users, the Chrome team has released some important tips with which developers can optimize their website to look great even on Google Chrome.
Here they are:
- You can show / render plug-in content like Flash and Java in Google Chrome using NPAPI (Netscape Plug-in Application Programming Interface ) plug-ins as Google Chrome doesn't support ActiveX plug-ins. You can check these good resources for more information about NPAPI. You should also look at web app examples and samples which make use of plugin capabilities of Chrome.
- Block elements like <div> should NOT be placed inside inline elements like <a>. For eg., <div><a>Some Text</a></div> will defenitely have a better output on the Browser than<a><div>Some Text</div></a>.
If you want to optimize a cached version of your website for the Chrome browser, then you could send an email to [email protected].