Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Show HTML errors in Google Chrome?

Can Google Chrome show HTML errors (e.g. unclosed <div> tags)?

If so, how does one do it?

like image 610
Brian M. Hunt Avatar asked Feb 08 '10 18:02

Brian M. Hunt


People also ask

How do I validate Google Chrome?

Click the icon in the address bar or press Alt+Shift+V to validate the current page. Results can be seen in Chrome's JS console. Validity can be used to quickly validate your HTML documents from the toolbar. Just click the icon in the toolbar to validate the current document without leaving the page.

How do I debug JavaScript errors in Chrome?

Press the F12 function key in the Chrome browser to launch the JavaScript debugger and then click "Scripts". Choose the JavaScript file on top and place the breakpoint to the debugger for the JavaScript code.

How do I enable HTML in Chrome?

To enable HTML imports in Chrome, go to chrome://flags and enable the Enable HTML Imports flag. Once you're done, click the Relaunch Now button at the bottom of the screen to restart Chrome with support for HTML imports.


2 Answers

~Use HTML Validator extension.~

https://chrome.google.com/webstore/detail/html-validator/mpbelhhnfhfjnaehkcnnaknldmnocglk.

like image 56
3 revs, 2 users 88% Avatar answered Sep 28 '22 02:09

3 revs, 2 users 88%


Another options is to use the W3C validator "favelets" to open the W3C validator from a bookmark.

http://validator.w3.org/favelets.html

like image 32
Mr_Chimp Avatar answered Sep 28 '22 02:09

Mr_Chimp