Question:
is it possible to make syntax checker for html?
1970-01-01 00:00:00 UTC
is it possible to make syntax checker for html?
Three answers:
Bruno
2006-08-28 09:33:25 UTC
yes it is. every tag has it's closed tag (few exceptions to this are tags that are itself's close tag in one) - so you basically put open ones on a stack, and then pop first tag on stack with the corresponding close tag - if you can do this and finish with empty stack, html you're checking is ok. the not fun part is every html tag in itself has different set of properties you can set (ie has width, height etc) - which you must check while checking tags.
kryptonboy22
2006-08-28 08:32:04 UTC
use HTML editor like, homesite and dreamweaver. it has intellesense (codes appear like combobox for right word) and codes become or has different color when error in occur



try to download one: www.downloads.com
Little Bhishma
2006-08-28 00:24:47 UTC
There is already some syntax checkers available - one at the W3C is very popular. It is known as markup validation service:

http://validator.w3.org/


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...