Find out if there is a missing tag tag in HTML when using Chrome?

Is there a way to use Google Chrome to find out if HTML is missing any closing tags?

I need to do this on localhost , so the external HTML validator will not work.

+6
source share
2 answers

Use the official HTML validator from W3C. There is a direct input option, just copy / paste your html markup into the form field.

http://validator.w3.org/#validate_by_input

Perhaps there is a plugin for your favorite IDE that can check html.

+9
source

Along with the already mentioned W3C HTML validator, you can also upload local files.

http://validator.w3.org/#validate_by_upload

There is also a Microsoft visual studio for checking web forms:

When you edit the markup in the Visual Studio web designer (for web form pages, in the "Source" view), the editor checks the markup for correctness. Markup validation works like spellchecking in a word processing program. The editor checks the markup and adds wavy red lines below elements or attributes that are invalid.

http://msdn.microsoft.com/en-us/library/f940516c.aspx

There are also text editors such as Dreamweaver that will check your code for errors.

In fact, Notepad ++ is also good for checking out various language formats.

+12
source

Source: https://habr.com/ru/post/945843/


All Articles