home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

Please validate this html code

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 2082
Discussions: 200,959, Posts: 2,379,530, Members: 246,329
Old March 14th, 2008, 11:21 AM   Digg it!   #1 (permalink)
27
Ultimate Member
 
27's Avatar
 
Join Date: Jun 2004
Location: England
Posts: 1,407
Please validate this html code

The W3C validator tells me there's an error with the closing body tag on line 16.
I don't see the error.

Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11//DTD/xhtml1.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">


<head>
	<title>		</title>
</head>



<body>

</body>



</html>
27 is offline   Reply With Quote
Old March 14th, 2008, 12:54 PM     #2 (permalink)
Caveat Emptor
 
Rootstonian's Avatar
 
Join Date: Mar 2005
Location: Out of my mind
Posts: 3,241
Send a message via AIM to Rootstonian
Got me...try putting someting IN <body> </body>???
Rootstonian is offline   Reply With Quote
Old March 14th, 2008, 02:25 PM     #3 (permalink)
27
Ultimate Member
 
27's Avatar
 
Join Date: Jun 2004
Location: England
Posts: 1,407
Thanks for the suggestion.
I've tried that but have not received the desired response.
27 is offline   Reply With Quote
Old March 14th, 2008, 02:31 PM     #4 (permalink)
Caveat Emptor
 
Rootstonian's Avatar
 
Join Date: Mar 2005
Location: Out of my mind
Posts: 3,241
Send a message via AIM to Rootstonian
Sorry, I'm not a html pro, but can program the pants off most people LOL

Go back and start simple...for now...REMOVE the <body> </body> tags and see what happens.

Sometimes syntax checkers don't always point you at the exact error...trust me
Rootstonian is offline   Reply With Quote
Old March 14th, 2008, 02:36 PM     #5 (permalink)
Super Stealthy Moderator
 
RicheemxX's Avatar
 
Join Date: Jan 2003
Location: Outside the box
Posts: 5,557
Blog Entries: 4
Send a message via Yahoo to RicheemxX
bleh add something tot the body for instance <p></p> then it validates fine. Basically there is nothing wrong with the code as is, its just complaining because you have an empty body tag
__________________
“Every question involves someone having to work for an answer, isn't it about time you did your share”
"Non-technical questions sometimes don't have an answer at all."
Linus Torvalds

Last edited by RicheemxX : March 14th, 2008 at 02:38 PM.
RicheemxX is online now   Reply With Quote
Old March 14th, 2008, 02:50 PM     #6 (permalink)
Caveat Emptor
 
Rootstonian's Avatar
 
Join Date: Mar 2005
Location: Out of my mind
Posts: 3,241
Send a message via AIM to Rootstonian
isn't that wtf I said?
Rootstonian is offline   Reply With Quote
Old March 14th, 2008, 03:08 PM     #7 (permalink)
Super Stealthy Moderator
 
RicheemxX's Avatar
 
Join Date: Jan 2003
Location: Outside the box
Posts: 5,557
Blog Entries: 4
Send a message via Yahoo to RicheemxX
Pretty much, but you can't just remove the tag, or just add text. For it to validate properly you have to wrap the text in a container element <p></p>. Don't ask me why because I haven't a clue, but thats what the dang site said.
RicheemxX is online now   Reply With Quote
Old March 14th, 2008, 03:14 PM     #8 (permalink)
Caveat Emptor
 
Rootstonian's Avatar
 
Join Date: Mar 2005
Location: Out of my mind
Posts: 3,241
Send a message via AIM to Rootstonian
Cool...I was close, but felt chastized anyways
Rootstonian is offline   Reply With Quote
Old March 14th, 2008, 03:58 PM     #9 (permalink)
27
Ultimate Member
 
27's Avatar
 
Join Date: Jun 2004
Location: England
Posts: 1,407
Thank you very much.
Your generosity in this matter will not go unrewarded.
27 is offline   Reply With Quote
Old March 14th, 2008, 04:01 PM     #10 (permalink)
Caveat Emptor
 
Rootstonian's Avatar
 
Join Date: Mar 2005
Location: Out of my mind
Posts: 3,241
Send a message via AIM to Rootstonian
ff
Rootstonian is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread Starter Forum Replies Last Post
html code eskippyca Webmastering and Programming 2 December 6th, 2006 11:06 PM
Need help with html video code jgotoff Webmastering and Programming 2 February 7th, 2006 10:43 PM
Help With HTML Code lablkilz699 General Tech Discussion 2 March 4th, 2005 07:13 AM
HTML Help: Redirect Code? ClubMed Webmastering and Programming 3 September 19th, 2004 06:21 AM
Need help with html code angelcat Graphic Design and Digital Photography 3 March 26th, 2002 05:01 PM


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (2969)
The disrespect of Obama by Russian .. (42)
Making Health Care Worse (179)
Wireless Televisions. (12)
CPU fan stops spinning randomly (9)
Regular Build (11)
windows 7 problem (7)
Laptop with wireless problem. (5)
windows vista security holes (13)
Print spooler problem (16)
Is the PSU I received dead? (12)
radeon x850xt platinum & shader.. (6)
HIS HD5770 graphic card question (15)
Install XP pro and a Vista laptop ?.. (11)
Recent Discussions
Print spooler problem (16)
Nvidia GTX 260 problem (0)
windows vista security holes (13)
Kingston Bluetooth Dongle Driver (1)
Multiple Restarts Required at Boot (3)
Open With ..... Win7 (1)
webcam (0)
upgrade for hp a6101 (0)
Laptop with wireless problem. (5)
Modern Warfare 2: Who Bought It? (64)
tv not turn on-makes clicking sound (2)
CPU fan stops spinning randomly (9)
EVGA 9800 gtx help with finding a goo.. (11)
Regular Build (11)
Help with onclick and buttons (0)
Virus advise (8)
My monitor won't turn on after instal.. (1)
Internet Lost (3)
Dept. of HS: NSA 'Helped' Develop Vis.. (16)
Point and Shoot Camera Suggestions. (4)
Ideal cheap graph card for PC-Gaming? (18)
radeon x850xt platinum & shader 3 (6)
Graphics Card Upgrade Question (4)
For Sale BFG GTX285 OC2 with 10 year .. (3)
How to convert MP3's (4)


All times are GMT -4. The time now is 09:50 AM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28