Common HTML ErrorsWhile most aspects of HTML are relatively easy to understand with practice, the language is notoriously picky about even slight errors. If you find what appears to be a massive problem with your page, don't get frustrated. Even if nothing shows up at all, it could be as simple as one misplaced letter or punctuation! The most frequent errors are simple spelling mistakes. Remember that <img src> is NOT the same as <img scr>; <a href> is NOT the same as <a hrf>. Another easy mistake to make, especially if you type quickly, is forgotten punctuation and brackets. A missing quotation mark or bracket (> or <) will make things look very different. These are usually the mistakes that make whole pages seem to vanish. Also check to make certain all your statements have the proper closing tags. A missing </a> or </table> can have a seemingly catastropic effect on the layout of a page, while the mistake is actually really simple. This is especially true when using tables, as one missing </tr> can run two entire rows together and seem to really mess up your layout. Likely the most sensitive part of HTML is file names; just like looking for a file on your Hard Drive, if even one letter or file extension is missing or incorrect, the file will not be found. For the most part, HTML is not case-sensitive; however file names are. <blockquote> is the same as <BLOCKQUOTE>, but "dog.gif" is NOT the same as "DOG.gif". If part of your page is loading incorrectly, or graphics are not showing up, check all the file names and extensions. Along the same lines with the above spelling problems, remember that browser software written in English almost always uses American English, so a tag like <centre> or an attribute (like colour) would not work if spelled as shown. This took much getting used to for me; I have spelled many words using "Brittish English" my entire life. The habbit will break in time, however. I cannot state enough that typing HTML correctly is essential. One slight typo, and all your work may be for naught if you can't identify the glitch. If you are having a problem you just can't seem to solve, please don't hesitate to e-mail me. I will do my best to answer all mail within 24 hours. There is a link in the sidebar of ever page in this site. Browser-Specific Glitches
One suggestion
for avoiding
Browser-Specific
Errors: | |
If you are using an online HTML editor, always back up your files on your hard drive or some sort of removable media. I have heard to many horror stories from people who have lost hundreds of hours of work because some little glitch in the HTML editor didn't save their work, or grossly modified it in some fashion. I use CoffeeCup HTML Editor, an offline editor by CoffeeCup Software, and I only use online editors to make minor changes. I would recommend you do this too, but if you must use an online editor, save yourself much woe and back up your work every time you edit your page(s). |
|