View Full Version : Code ???


amitd
03-09-2006, 10:11 PM
Hello friends,
Recently, I found a code on the top of a good ranking site. Code is

<!doctype HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

Can you tell me what does it mean and Is it good to lines like this in our website from SE view point?

I also found some other meta tags apart from Keywords and Discription.

<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">

What are these tags? And, will they affect our rankings?

Please Suggests.

Paz
03-10-2006, 12:54 AM
Hi,

we always say that a site that ranks well for a competitive search isn't usually there because of onsite factors.

The first doctype tag defines the HTML standard that was used to compose this document - there are many different types, and it's always a good idea to have one to help make your page display consistently in different browsers, especially if you are using CSS.

The other two are generated automatically by Microsoft Frontpage - completely useless tags for seo!

So it you're wondering why the site is ranking well, you would definitely have to look elsewhere.... I'd start by looking at their backlinks.... ;)


Cheers,
Paz.

amitd
03-10-2006, 03:02 AM
Thanks a Lot Paz!

RyanSmith
03-10-2006, 06:03 AM
Ya, front page sucks. I always go with the :
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Declaration as it seems to render the most consistantly in the different browsers. Most of the other DTD's make IE render in Quirks mode which is a real pain if your trying to have a consistant look across browsers since none of the other browsers support Quirks.

Just my two cents.

nkycomputers
06-20-2006, 06:40 PM
The only reason to include these tags at all is if you are going to be w3 compliant. It doesn't help or hurt your rankings.

However if you are concerned with good coding which you should be then you should read up on the different doc types on the w3 website at http://www.w3.org/.

I think it is important to move to more web standards so that browser companies can get better at compliance. If you follow the rules for the doc type you are specifying, your should look similar in all browsers.

Hope this helps.

amitd
06-22-2006, 02:33 AM
Thanks Guys!