Here is some common mistake in coding:
- Cannot miss single co ‘ ‘ and double co " "
- <img src=" bg.gif" width="140" height="30" alt="text">
- html tag should be closed
- <table><tr><td></td></tr></table>
- html <img> tag should included " alt=”xxxxx” " as description of the image
- <img src="xx.gif" alt="It’s a image.">
- non html tag special char, e.g. < > &, should use it’s code to represent
- < <
- > >
- <a href="foo.cgi?chapter=1&section=2">
- css style should put inside <head> </head> with <style type="text/css">
- correct include / import javascript in html should
- <script type="text/javascript"></script>
- <script type="text/javascript" src="script.js"></script>
Referance by:
OECSPACE
W3C HTML 4.01 Specification
W3C HTML Markup Validation Service
Additional Referance:
CSS Validation Service (en)
HTML: Special Characters