W3C home > Mailing lists > Public > www-validator@w3.org > September 2012

Re: Add Subject Here Can not validate my website

From: Philip TAYLOR <P.Taylor@Rhul.Ac.Uk>
Date: Mon, 17 Sep 2012 18:45:47 +0100
Message-ID: <505761CB.9060302@Rhul.Ac.Uk>
To: Jozette Brown <jbrown6010@gmail.com>
CC: www-validator@w3.org


Jozette Brown wrote:

> My  page doesn't validate, and I don't know why, How do I resolve that
> issue.  Website name www.-jbtechnologyinfo.com <http://jbtechnologyinfo.com>

I think you probably need to do some background reading : just the
first ten lines indicate that it has been coded without any real
understanding of the structure of a valid (X)HTML document --

> <!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-US" xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:addthis="http://www.addthis.com/help/api-spec" xmlns:og="http://opengraphprotocol.org/schema/">
> <head profile="http://gmpg.org/xfn/11">
> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
> <link rel="pingback" href="http://www.jbtechnologyinfo.com/xmlrpc.php" />

Up to this point, all looks reasonably normal; there may be errors,
but the structure is sound.

> <input type="hidden" id="Monday" value=""><input type="hidden" id="Tuesday" value=""><input type="hidden" id="Wednesday" value=""><input type="hidden" id="Thursday" value=""><input type="hidden" id="Friday" value=""><input type="hidden" id="Saturday" value=""><input type="hidden" id="Sunday" value=""><input type="hidden" name="orderDays" id="order-days" value=""><input type="hidden" name="availableDays" id="availableDays" value="">

Now we have a real horror : what are <input> elements doing in the head
of the document ?

> <script type="text/javascript">
> </script>

and an empty <script> element achieves nothing.

So, get yourself a good book on (X)HTML (written by someone who speaks
from a position of knowledge).  As I don't use XHTML myself (I code in
HTML 4.01 Strict), I cannot make any firm recommendations, but I am
sure that a good web search, checking on the reviews, will help you to
find what you need.

Philip Taylor
Received on Monday, 17 September 2012 17:46:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 17 September 2012 17:46:26 GMT