Jump to content

Markup Validation Service Errors HELP \= need help am stuck ergh


Minimeallolla

Recommended Posts

http://validator.w3.org/check?uri=http%3A%2F%2Fmysite.giacjr.dino-hosting.net&charset=%28detect+automatically%29&doctype=Inline&ss=1&outline=1&group=0&No200=1&verbose=1&st=1&user-agent=W3C_Validator%2F1.1

 

I dont understand these errors and need some help.

 

document type does not allow element "LI" here; missing one of "UL", "OL", "DIR", "MENU" start-tag

<li><a href='/index.php'>Home</a></li>


document type does not allow element "LINK" here

	<link href="style.css" rel="stylesheet">

Link to comment
Share on other sites

				<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
				"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="favicon.ico" href="http://www.rohan.giacjr.dino-hosting.net/favicon.ico">
<link href='style.css' rel='stylesheet'>
<title>MySite</title>
<style type="text/css">

A:link { COLOR: black; TEXT-DECORATION: none; font-weight: normal }
A:visited { COLOR: black; TEXT-DECORATION: none; font-weight: normal }
A:active { COLOR: green; TEXT-DECORATION: none }
A:hover { COLOR: #8DEEEE; TEXT-DECORATION: none; font-weight: none }

a > img {
    border: 0;
}

</style><style type="text/css">
body {
    background: url('backgroundfp.png');
    text-align: center;
}
</style>
<div class='navbar'><ul>
<li><a href='/index.php'>Home</a></li>
<li><a href='/login.php'>Log in</a></li>

<li><a href='/register.php'>Register</a></li>
<li><a href='/games.php'>Games</a></li>
</ul></div></head>
<body>
	<center><h4><font color="yellow">
Number of website views:</font><font color="white">

016424</font></h4></center><div align="center">
<img border="0" src="flamethrower.gif" alt="flame thrower"><img border="0" src="construction icon.png" alt="connstruction"><font color="blue"><b>This website is currently under 
construction and is constantly being amended.</b></font><img border="0" src="construction icon.png" alt="construction"><br>
</div>

	<center>You are not logged in. <a href='login.php'>Please log in to gain further access.</a></center>	

<div align="center"><p><br><p>
Since MySite has very limit content and I cannot be bothered to think of anything, I will simply let this 
talentless gif animation provide entertainment.. =D
<br><img border="0" src="violin.gif" alt="entertainment ">
</div>
<br>
<p><br></p>
<p><br></p>
<p><br></p>
<p><br></p>
<p><br></p>
<p><br></p>

<p><br>
<br>
<div align=left>
<a href="aboutus.php">About us</a>
</div>
</body>
</html>

or source code is there..

Link to comment
Share on other sites

You really need to do some html basics tutorials or something. You have code outside of your <body> tags that belongs within it. Namely...

 

<div class='navbar'><ul>
<li><a href='/index.php'>Home</a></li>
<li><a href='/login.php'>Log in</a></li>
<li><a href='/register.php'>Register</a></li>
<li><a href='/games.php'>Games</a></li>
</ul></div>

 

Which is within your <head> tags for some reason.

Link to comment
Share on other sites

You have <div> and <li> tags in the <head> section of the markup. Why?

 

When you run the validator and it returns errors, if you scroll down to just above where the list of errors starts, you'll see a checkbox labeled "Clean up Markup with HTML Tidy". If you check that and click resubmit, it will return a cleaned up version of the html (usually) so you can get a better idea of what it should look like.

Link to comment
Share on other sites

ok now its saying value of attribute "ALIGN" cannot be "TOPGAMES"; must be one of "LEFT", "CENTER", "RIGHT", "JUSTIFY"

 

<br><div align="topgames">

I dont have <div align="topgames"> anywhere ?

 

the code before

<div id="gameshide">
<b>Games:</b>
<span id="games" onClick="document.all.games.style.display ='none'"><br>

<a href="/games/13daysinhell.php">13 Days In Hell</a><br>
<a href="/games/achilles.php">Achilles</a><br>
<a href="/games/blosics2.php">Blosics 2</a><br>
<a href="/games/bubbletanks2.php">Bubble Tanks 2</a><br>
<a href="/games/bubblebobble.php">Bubble Bobble</a><br>
<a href="/games/bubbletrouble.php">Bubble Trouble</a><br>
<a href="/games/bloons.php">Bloons</a><br>
<a href="/games/bloons4td.php">Bloons TD 4</a><br>
<a href="/games/boxhead2play.php">BoxHead 2 Play</a><br>
<a href="/games/deadfrontier.php">Dead Frontier</a><br>
<a href="/games/desktoptowerdefence.php">Desktop Tower Defence</a><br>
<a href="/games/interactivebuddy.php">Interactive Buddy</a><br>
<a href="/games/linerider.php">Line Rider</a><br>
<a href="/games/pandemic2.php">Pandemic 2</a><br>
<a href="/games/simplerts.php">SimpleRTS</a><br>
<a href="/games/stickwar.php">Stick War</a><br>
<a href="/games/stormthehouse3.php">Storm The House 3</a><br>
<a href="/games/swordsandsandals2.php">Swords and Sandals2</a><br>
<a href="/games/swordsandsandals3.php">Swords and Sandals 3:Solo Ultratus</a><br>
<a href="/games/supersmashflash.php">Super Smash Flash</a><br>
<a href="/games/trappedwithzombies.php">Trapped With Zombies</a><br>
<a href="/games/ultimateassasin2.php">Ultimate Assassin 2</a><br>
<a href="/games/zombieassault2.php">SAS: Zombie Assault 2:Insane Asylum</a>

</span>
</div>
<p>		  <a href="javascript:;" onmousedown="if(document.getElementById('gameshide').style.display == 'none')
	{ document.getElementById('gameshide').style.display = 'block'; }
	else{ document.getElementById('gameshide').style.display = 'none'; }">Hide/Show Games</a><br>

the code after ( there is no code inbetween(this is it) )

<br><div align="center"><b>
if you have a game request, log in and comment the name of it and we will upload it ASAP! 
<h2><font color="red">Top Games</font></h2><h4>

<a href="stormthehouse3.php">Storm The House 3 <br>
<img src="stormthehouse.jpg"  border="0" alt="" /></a><p><br>

<a href="blosics2.php">Blosics 2 <br>
<img src="blosics2.jpg"  border="0" alt="" /></a><p><br>

<a href="zombieassault2.php">SAS: Zombie Assault 2:Insane Asylum <br>
<img src="zombieassault.jpg"  border="0" alt="" /></a><p><br>

<a href="swordsandsandals2.php">Swords and Sandals 2 <br>
<img src="swords_and_sandals2.jpg"  border="0" alt="" /></a><p><br>

<a href="swordsandsandals3.php">Swords and Sandals3: Solo Ultratus <br>
<img src="swords_sandals_3_multiplae_ultratus.jpg" border="0" alt="" /></a><br><br>

<a href="bubbletanks2.php">Bubble Tanks 2 <br>
<img src="bubbletanks.jpg" border="0" alt="" /></a><br><br>

<a href="boxhead.php">BoxHead 2Play <br>
<img src="boxhead2play.gif" border="0" alt="" /></a><br><br>

<a href="zombieassault2.php">SAS: Zombie Assault 2:Insane Asylum <br>
<img src="zombie assault.jpg" border="0" alt="" /></a><br><br>

<a href="bloons4td.php">Bloons 4 TD <br>
<img src="btd4-title.jpg" border="0" alt="" /></a><br><br>

<a href="bloons.php">Bloons <br>
<img src="bloons.jpg" border="0" alt="" /></a><br><br></h4>

Link to comment
Share on other sites

<p> <a href="javascript:;" onmousedown="if(document.getElementById('gameshide').style.display == 'none')

{ document.getElementById('gameshide').style.display = 'block'; }

else{ document.getElementById('gameshide').style.display = 'none'; }">Hide/Show Games</a>

<br></p>

</div><div align=center>

<br><div align="topgames">  <---- HERE IT IS

 

if you have a game request, log in and comment the name of it and we will upload it ASAP! :D

<br><b><font color="red">Top Games</font></b><br>

 

<a href="/games/stormthehouse3.php">Storm The House 3 <br>

<img src="/games/stormthehouse.jpg" border="0" alt="Storm The House"></a><br><br>

Link to comment
Share on other sites

yes, well, it says its in the source code but its not in my codes.. ill show..

 

 

this is games.php

				<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
				"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="favicon.ico" href="http://www.rohan.giacjr.dino-hosting.net/favicon.ico">
<link href='style.css' rel='stylesheet'>
<title> MySite - Games </title>
<?php
include ("linkcolor.php");
include ("background.php");
include ("database.php");
?>
</head>
<body>
<?php
include ("nav.php");
?>

<div align=center>
<img src="Games.png" border="0" alt="Games">
</div>

<?php
include ("games logged in or logged out.php");
?>

<div align=left>
<?php
include ("gamelist.php");
?>
</div><div align=center>
<?php		
include ("top games.php");
?>
</div>

</body>
</html>

 

this is gamelist.php

<div id="gameshide">
<b>Games:</b>
<span id="games" onClick="document.all.games.style.display ='none'"><br>

<a href="/games/13daysinhell.php">13 Days In Hell</a><br>
<a href="/games/achilles.php">Achilles</a><br>
<a href="/games/blosics2.php">Blosics 2</a><br>
<a href="/games/bubbletanks2.php">Bubble Tanks 2</a><br>
<a href="/games/bubblebobble.php">Bubble Bobble</a><br>
<a href="/games/bubbletrouble.php">Bubble Trouble</a><br>
<a href="/games/bloons.php">Bloons</a><br>
<a href="/games/bloons4td.php">Bloons TD 4</a><br>
<a href="/games/boxhead2play.php">BoxHead 2 Play</a><br>
<a href="/games/deadfrontier.php">Dead Frontier</a><br>
<a href="/games/desktoptowerdefence.php">Desktop Tower Defence</a><br>
<a href="/games/interactivebuddy.php">Interactive Buddy</a><br>
<a href="/games/linerider.php">Line Rider</a><br>
<a href="/games/pandemic2.php">Pandemic 2</a><br>
<a href="/games/simplerts.php">SimpleRTS</a><br>
<a href="/games/stickwar.php">Stick War</a><br>
<a href="/games/stormthehouse3.php">Storm The House 3</a><br>
<a href="/games/swordsandsandals2.php">Swords and Sandals2</a><br>
<a href="/games/swordsandsandals3.php">Swords and Sandals 3:Solo Ultratus</a><br>
<a href="/games/supersmashflash.php">Super Smash Flash</a><br>
<a href="/games/trappedwithzombies.php">Trapped With Zombies</a><br>
<a href="/games/ultimateassasin2.php">Ultimate Assassin 2</a><br>
<a href="/games/zombieassault2.php">SAS: Zombie Assault 2:Insane Asylum</a>

</span>
</div>
<p>		  <a href="javascript:;" onmousedown="if(document.getElementById('gameshide').style.display == 'none')
	{ document.getElementById('gameshide').style.display = 'block'; }
	else{ document.getElementById('gameshide').style.display = 'none'; }">Hide/Show Games</a>
<br></p>

 

this is topgames.php

if you have a game request, log in and comment the name of it and we will upload it ASAP! 
<h2><font color="red">Top Games</font></h2><h4>

<a href="stormthehouse3.php">Storm The House 3 <br>
<img src="stormthehouse.jpg"  border="0" alt="" /></a><p><br>

<a href="blosics2.php">Blosics 2 <br>
<img src="blosics2.jpg"  border="0" alt="" /></a><p><br>

<a href="zombieassault2.php">SAS: Zombie Assault 2:Insane Asylum <br>
<img src="zombieassault.jpg"  border="0" alt="" /></a><p><br>

<a href="swordsandsandals2.php">Swords and Sandals 2 <br>
<img src="swords_and_sandals2.jpg"  border="0" alt="" /></a><p><br>

<a href="swordsandsandals3.php">Swords and Sandals3: Solo Ultratus <br>
<img src="swords_sandals_3_multiplae_ultratus.jpg" border="0" alt="" /></a><br><br>

<a href="bubbletanks2.php">Bubble Tanks 2 <br>
<img src="bubbletanks.jpg" border="0" alt="" /></a><br><br>

<a href="boxhead.php">BoxHead 2Play <br>
<img src="boxhead2play.gif" border="0" alt="" /></a><br><br>

<a href="zombieassault2.php">SAS: Zombie Assault 2:Insane Asylum <br>
<img src="zombie assault.jpg" border="0" alt="" /></a><br><br>

<a href="bloons4td.php">Bloons 4 TD <br>
<img src="btd4-title.jpg" border="0" alt="" /></a><br><br>

<a href="bloons.php">Bloons <br>
<img src="bloons.jpg" border="0" alt="" /></a><br><br></h4>

 

I dont know about you but i cant see it anywhere im MY codes. -.- source code is lying lol

Link to comment
Share on other sites

Then that must not be the right way to search for it. I haven't used a Win system in about 10 years, so I don't know what the correct way to search for text in a file is on windows anymore.

 

Of course, this all assumes you have identical copies of the same files on your computer . . .

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.