If you are a UI or web developer then it's common for you to use website validator or some similar software to validate your code. You might be working on HTML, XHTML, SMIL, MathML etc then i'm sure you must be using one of the editors. If you are still stuck to some of the age old stand alone software editors then here are few that you need to check using which you can do your coding online/offline, all in chrome browser - Best online text editors for Chrome Browser.
[caption id="attachment_3165" align="aligncenter" width="705"]

You can use one of these editors or just write your code on a plain old MS notepad and save it with the right extension. Using editors will help you in auto correcting some of the common and minor syntax issues. There are multiple ways to check how good your code is. Say, you have written your code using HTML 5 then this code might word perfectly fine according to you with all it's syntax correct but may not work in different browsers. Check my previous post on how to perform browser test of HTML5 webpage. This is something that you can test once you have a website already built.
Also see: How to validate HTML code on address bar
Say, you are still in coding stage and you have written your code using one of the markup languages mentioned above. There is an freely available online tool/ website validator using which you can perform markup validation - 'W3C - Markup Validation Service'. Using this website validator service you can validate by URL, you can upload a text file containing the markup code or validate by direct input. There are multiple options under each of these. Using this website validator you can check almost any web document.
Also see: Perform Website Testing to check Compatibility across Browsers
I tried validating my website and got few errors as shown below in the image which I need to fix asap. It's good to fix as Google algorithms like you code to be error free. Check your code/ website using this website validator and leave a comment on how many errors were you able to detect.
Also see: How to perform website resolution test
Link to check: W3C - Markup Validation Service.
If you like this post then don’t forget to share it with your friends and follow us on Social Media or subscribe to our blog via email and be the first to get latest updates.
No comments:
Post a Comment