HTML debugging
when writing HTML code usually have two main types of errors:
syntax error: cause the program not to run due to a typing error; the error message is usually familiar with and understand the syntax is very easy to fix.
Logical error: syntax error does not exist, but the code does not work as expected; logic errors than usual syntax errors more difficult to repair, because they can not get the information points to the wrong sources.
HTML itself is not a syntax error prone, because the browser is relaxed mode, which means that even if there is a syntax error browser will still continue to run. Browsers usually have built-in rules to resolve clerical error mark, even if not as expected, the page still displayed. Of course, the existence of hidden dangers.
when writing HTML code usually have two main types of errors:
syntax error: cause the program not to run due to a typing error; the error message is usually familiar with and understand the syntax is very easy to fix.
Logical error: syntax error does not exist, but the code does not work as expected; logic errors than usual syntax errors more difficult to repair, because they can not get the information points to the wrong sources.
HTML itself is not a syntax error prone, because the browser is relaxed mode, which means that even if there is a syntax error browser will still continue to run. Browsers usually have built-in rules to resolve clerical error mark, even if not as expected, the page still displayed. Of course, the existence of hidden dangers.