Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

New Website

Status
Not open for further replies.

trent101

Programmer
Nov 4, 2005
50
AU
Hey,

Have just designed my first web page ->
Now I have been told that to have a valid html page (checked by a html validate eg. w3.org) is better for seo, as its cleaner code etc...

But what happends if my page is written in asp.net, and the only errors i get are reffering to the vb script at the top of the page? Is this bad? Or is this unavoidable?

Cheers.
 
Hi

If you omit the "my first web page" part, we surely guess it. :)
[ol]
[li]SEO questions are better answered in forum828 ( Search Engine Optimization discussion ).[/li]
[li]Nobody cares if the page is generated by asp.net or anything else, the user agent will get HTML or XHTML.[/li]
[li]The w3.org validator find 17 errors, not only one.[/li]
[li]There is no VB script on that page, only JavaScript.[/li]
[li]HTML validators does not check for script errors, only for HTML errors.[/li]
[/ol]
To answer your question, yes, is good for SEO too, to have standard compliant site. Although the bots usually can manage highly messed pages too.

Feherke.
 
Thanks for the reply.

I have too now found the 17 errors from the validator, however for the life of me i cant figure out why it doesnt like my meta tags.....

They are within the head tags and i cant see any problem with them, does anyone have any ideas as to what it doesnt like about them?

cheers.
 
Hi

trent101 said:
i cant figure out why it doesnt like my meta tags.....
Try to not put a slash ( / ) at the end of the tag before the closing greater-then ( > ) sign. That is XHTML while your page is HTML.

Another thing related to the [tt]meta[/tt] tags, as mentiond in the validation result page.
Your server send this in the HTTP header :
Code:
Content-Type: text/html; charset=utf-8
While in the document you wrote this :
Code:
 <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />

Feherke.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top