Category Archive for "W3C"

How to optimize files and images of website?

Optimizing Websites: Optimizing your website’s files is very important for better utilization of server resources. Even a high end server can fail to deliver the speed and performance that you look for, if the website is not optimized. Following are the steps to achieve this: Images: Always work and save your images with 72 dpi. More than this will not make any difference in quality of the picture as far as web is concerned. Save an image with text or…

Read More

How to validate ‘target=_blank’ in anchor tag with W3C Compatibility

While the apply ‘_blank’ value to a native link’s attribute ‘target’ that will give you not validated for W3C, the solution is to handle the click on the link and open it in a new window. Please note this alternative methods are absolutely SEO friendly and W3C valid. The code for the solution is: <script type=”text/javascript”> $(document).ready(function(){ $(‘A[rel=”_blank”]’).click(function(){ window.open($(this).attr(‘href’)); return false; }); }); </script> <a href=”http://www.shashidharkumar.com/shashidharkumar/index.html” rev=”solution-02″ rel=”_blank”>Shashidhar Kumar</a> Shashi Dhar KumarShashi Dhar Kumar Experience in Web/software development including client…

Read More