Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTML code analyzer

Tags:

html

Is there any HTML code analyzing tool that suggests tips to improve the HTML code?

like image 794
RKh Avatar asked Oct 22 '09 06:10

RKh


People also ask

How can I test my HTML code?

If you want to work with Chrome Developer Tools, simply run the HTML document in Google Chrome and right-click the HTML element you want to inspect. Click on "Inspect" and you will have the tools to run, analyze, and even debug the code.

How do you check HTML code is correct or not?

Validating our HTML: In order to make sure your html code is error free is by using html validation service by w3c. This site takes html as input and returns the errors in html document.

How do I know what is wrong with my HTML code?

The World Wide Web Consortium provide a simple online tool (https://validator.w3.org/) that automatically check your HTML code and point out any problems/errors your code might have, such as missing closing tags or missing quotes around attributes.

How do you view what HTML will look like?

Inspect element In Chrome, all you need to do is right-click anywhere on the webpage for which you want to see the HTML, then choose Inspect. Don't be overwhelmed by how much you see in the inspector window that you don't understand.


1 Answers

http://validator.w3.org/

The most important tool, to ensure validity.

  • http://net.tutsplus.com/tutorials/html-css-techniques/30-html-best-practices-for-beginners/
  • http://developer.yahoo.com/performance/rules.html

Articles such as this for tips on writing semantic, clean html and avoid common html-diseases like divitus, classitus, optimizing your code, and other best practices.

  • http://htmldog.com/
  • http://www.opera.com/company/education/curriculum/

Guides such as these which are more in-depth and cover accessibility, development in general, css, JS/DOM ( since DOM is what is used for HTML ).

And the mother of all:

  • http://www.w3.org/TR/html401/

Though it's not very newbie friendly and I'd recommend guides like htmldog instead, but this would be the go-to source for looking up directly from the source.

like image 118
meder omuraliev Avatar answered Nov 12 '22 15:11

meder omuraliev