You are here: Re: What's wrong with this code?? « HTML « IT news, forums, messages
Re: What's wrong with this code??

Posted by Alucard Calquemare on 03/18/07 14:50

Well first of all, you've got to learn at least html 4.0 if you want to
survive, your code isn't wrong it's just deprecated ( well there is a bunch
of errors too...), here: I've corrected it:

<!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">

<!--//Head-->
<head>

<!--//Meta Tags-->
<!--Fill in the blanks-->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta name="author" content="Levastre David Alexandre" />
<meta name="revised" content="" />
<meta name="generator" content="Notepad" />

<!--//Title-->
<title>grandparents1</title>

<!--//Browser Icon-->
<!--Fill in the blanks-->
<link rel="shortcut icon" href="" />

<!--//Style-->
<style type="text/css">

..corecolor {color:#004000}
..navcolor {color:#004000; size:+1}
</style>

<!--//Scripts-->
<script language="javascript" type="text/javascript">

<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if
((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight;
onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH)
location.reload();
}
MM_reloadPage(true);
//-->

</script>

</head>

<!--//Body-->
<body background="bkgrnd_prchmnt_green.jpg">

<br />
<table width="95%" border="0" cellspacing="2" cellpadding="0"
class="corecolor">
<tbody>
<tr>
<td><div align="center"><b>Tom and Mary Mathewson family, ca.
1905</b></div></td>
<td><div align="center"><b>Joe and Dora Bobbitt family, ca.
1900</b></div></td>
</tr>
<tr>
<td width="50%"><div align="center"><p>
<p><b>Elnora, Indiana,</b><br />
<img src="tomandmary_family.jpg" width="339" height="419"
align="bottom" border="3"></p>
<p><b>Rear:
Curtis, his wife Inez, Lev, Grace, Grover<br />
Center: Guy, Opal, Norman<br />
Seated: Grandma Mary, Lelah, Grandpa Tom&nbsp;</b></div></p>
</td>
<td width="50%"><div align="center">
<p><b>Elnora, Indiana,</b><br />
<img src="joe_and_dora_bobbitt_family.jpg" width="334" height="418"
align="bottom" border="3"></p>
<p><b>Rear: Joseph, Jessie, Gussie, Georgia<br />
Front: Hugh (&quot;Peck&quot;), Grandpa Joe, Avey, Grandma
Dora</b>
</p>
</div>
<P></td>
</tr></tbody>
</table>
</p>

<hr />
<p align="center" class="navcolor"><b><a href="index.htm">Back to
Start</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="momanddad2.htm">More
from Mom and Dad</a></b></p>

</body>
</html>

Copy and paste it into notepad save it as as a *.htm and you're done: but
take a good look at it and compare it with the code you gave me.

Have a nice day.

Alucard
GAT d-@ s:- a-? C++ UL++ P+ L+ E++ W++>$ N K w++++>$ O- M- V- PS+ PE Y PGP t
5 X+ R+ ()R++ tv- b++ DI++ D+ G++ e h- r+ y++>$
www.calquemare.com

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация