In general, if it is HTML, it is not difficult to make a website via W3C. Using Dreamweaver, it is already passed. If not, there is still an error. But if it's a script, you're dizzy, so you have to sit and do it yourself line by line What I would say here is Things that I often encounter
img does not have an alt and without/before the end of the tag, especially in the first case. If we don't know what to put alt, they can put a blank value
& Mark in links that are often forgotten. Use & &; replace
Javascript should be removed from the page Split it into a separate file, especially if Javascript has a symbol> <(greater than less) error. Be sure to get used to it. Which the code will look cleaner as well
For those who use the page in PHP or ASP or AJAX, even if they meet the initial requirements Do not be wildly just. Because these pages Content may change depending on the nature of the data, which will sometimes pass the test. Sometimes it does not pass generally. I will use the method of generating code to generate pages and then test one page at a time. Which, of course, has to check all the conditions of that page Including testing on all pages as well
Good luck with the W3C logo to decorate the website.
img does not have an alt and without/before the end of the tag, especially in the first case. If we don't know what to put alt, they can put a blank value
<img src = "xxx.jpg" alt = "" />The script does not have a type. For example,
<script language = "JavaScript" src = "js / function.js" type = "text / javascript"> </script>style, also must have type
<link rel = "stylesheet" href = "style / style.css" type = "text / css" />Some of the properties of the tag, such as align bgcolor. They are no longer used. In truth Must remove it all. If there is an error as soon as I still have in the code, there are
<font size = "3" color = "red">and
<table cellpadding = "0" cellspacing = "0">which for color And the size of the font. I use it to specify only certain points. For cellpadding and cellspacing, I don't know what to use instead of the same result.
& Mark in links that are often forgotten. Use & &; replace
Javascript should be removed from the page Split it into a separate file, especially if Javascript has a symbol> <(greater than less) error. Be sure to get used to it. Which the code will look cleaner as well
For those who use the page in PHP or ASP or AJAX, even if they meet the initial requirements Do not be wildly just. Because these pages Content may change depending on the nature of the data, which will sometimes pass the test. Sometimes it does not pass generally. I will use the method of generating code to generate pages and then test one page at a time. Which, of course, has to check all the conditions of that page Including testing on all pages as well
Good luck with the W3C logo to decorate the website.
Comments
Post a Comment