Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

best HTML validator/parser?

I have a large HTML file, and it looks like some tags are not closed. It's hard to find it. I am using VIM as the editor.

Is there any good way to find it?

like image 678
Bin Chen Avatar asked Feb 17 '11 12:02

Bin Chen


People also ask

How can I validate my HTML code?

You can validate both HTML and CSS files. You can use any commercial software package or free online application, such as the following World Wide Web Consortium (W3C) validators: W3C CSS Validator at http://jigsaw.w3.org/css-validator/ W3C HTML Validator at http://validator.w3.org/

What is the website used to validate HTML files?

What is W3C Validation? World Wide Web Consortium (W3C) allows internet users to check HTML and XHTML documents for well-formatted markup.

Can HTML be used for validation?

The simplest HTML validation feature is the required attribute. To make an input mandatory, add this attribute to the element. When this attribute is set, the element matches the :required UI pseudo-class and the form won't submit, displaying an error message on submission when the input is empty.


2 Answers

You can validate your html using http://validator.w3.org/

Just make sure you specify the DOCTYPE correctly and it'll find anything that is invalid.

like image 84
aiham Avatar answered Sep 23 '22 15:09

aiham


I assume you are on running Linux?! If so, you could try Eclipse

It is a complete IDE, which will help you in many cases and make programming a lot more efficient

like image 40
DKSan Avatar answered Sep 23 '22 15:09

DKSan