View Single Post
  #5 (permalink)  
Old 04-16-2004, 06:21 PM
sudhani's Avatar
sudhani sudhani is offline
WebProWorld Veteran
 
Join Date: Aug 2003
Location: Internet
Posts: 379
sudhani RepRank 1
Default

1. There is no opening <HTML> Tag. This is one of the reasons.

2. Check the Doc type declaration:

Quote:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
You are using html files. the following could be a better declaration:

Quote:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
3. You are using two different types of charector sets on the page

First:
<meta http-equiv="Content-Type"
content="text/html; charset=iso-8859-1">

Second:
<META http-equiv=Content-Type content="text/html; charset=utf-8">

Use only one of them, may be this is causing the cofusion.

4. I don't think you need any of the following meta tags:
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">
<meta name="resource-type" content="document">
<meta name="coverage" content="Worldwide">
<meta name="distribution" content="global">
<meta name="robots" content="all">
<meta name="rating" content="General">
<meta name="resource-type" content="document">
<META content="2 days" name=revisit-after>
<META content="Safe for Kids" name=RATING>
<META content=index,follow name=ROBOTS>
<META content="Kissimmee, Orlando, Florida, USA" name=Location>
<META content=rentals,villas,travel,lodging,accommodatio n name=Categories>

You can safely remove the above tags. This is the problem with using the WYSIWYG page generators.

5. Check your tags. There are a few errors.

Validate your file here: http://validator.w3.org/
Reply With Quote