Home
|
Helpdesk
|
Product Help
|
Demon Web Hosting
|
Learn HTML
|
Debugging your HTML code
The most common error's are the best ones to look for first. To make this as easy as possible follow the guidlines below.
The tricks of debugging:
- Write your code in easy to understand and easy to read format, make use of indentation and remarks.
- Try to write the code as it would appear, for example, if your writing a new paragraph, start on a new line and close the paragraph properly.
- Keep all of your tags in the same case, lower or uppercase, lower case is better.
- Decide on a filename and file structure system and stick to it.
- Keep things as simple as possible, you really don't need to make things complicted for a good looking website.
The most common errors:
- Mis-spelt words and tags, including mixed case letters.
- Missing brackets around tags.
- Missing tags, or extra, un-needed tags.
- The wrong URL in links, either mis-spelt or wrong directory structure.
- Wrong coding in tables, tables are a good source for errors, especially when your new to coding.
Seven easy steps - start from the begining or skip to the section you want:
|
Step 7
|