Dynadot Black Friday and Cyber Monday 2026: save more on domains. See our sales.

Help validating

SpaceshipSpaceship
SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
Watch

fried-chicken

Established Member
Impact
5
hi, i'm trying to validate my site, i've never done this before and now realize its important.

the site is

keeker.co.uk lowcost design
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
0
Close
First of all, define a doctype. I use strict (so does Facebook). You can use transitional like Namepros.

Strict (Facebook):
Code:
 <!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" xml:lang="en" lang="en">

Transitional (Namepros):
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en">

Next, any tag that doesn't surround something needs a "/" before it closes.
The main problem with validating your site was your img tags. Since there is no </img> tag, it needs to be:
Code:
<img src="image.jpg" alt="Hello" />
You also need an "alt" inside of images.

That will cover around 75% of the errors. A lot are self-explainable, but if you can't figure out what is going on, just post here.


Bruce
 
0
Close
im really really having troule validated this site. any more would be gratful

cheers people
 
0
Close
Nope. I'm still confused about it. But the previous post was really good. Dint knew the above facts!!!
 
0
Close
CatchedCatched

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

New: watch any domain
You can now watch domains on NamePros. We check each one and notify you when something changes. Search for a domain and press Watch on...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back