Internet Marketing Business Forum


Internet Marketing Business Forum » MAIN FORUMS » Web Design & Programming » Help with xhtml errors?
Web Design & Programming Building websites, coding scripts or developing apps? html, css, javascripts, ajax, php, asp, java, c+, C++ and other geeky info is here.

Reply
 
LinkBack Thread Tools Display Modes
Old 07-31-2009, 07:55 PM   #1 (permalink)
D W
 D W's Avatar
 
Status: Junior Member
Join Date: Jul 2009
Posts: 1
D W is on a distinguished road
Default Help with xhtml errors?

I wrote this in Notepad, and ran it through the W3C validator for XHTML. It's giving me errors and when I try and fix them as it says, it makes my page all messed up. Please help!!! Also it tells me that the problem is using XHTMl instead of HTML..but that's what I'm supposed to use!

My code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> --><!-- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> --><!-- <!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -->
<!--Next comes the beginning html tag-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!--Next comes the beginning head tag-->
<head>
<!--The title appears on the browser title bar-->
<title>The Meow Mixer</title>
<!--This is the link to the css-->
<link href="kitty.css" rel="stylesheet" type="text/css" />
<!--This is info regarding the language we are using-->
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>

<!--Next comes the ending head tag-->
</head>
<!--Next comes the beginning body tag-->
<body>
<!--All of the text that shows up on the page is between the body tags-->

<div class="bold">
<div align="center"> <table width="770" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="770" height="90" bgcolor="#FFFFFF"><img src="images/final_logo.gif" alt="logo" width="770" height="150"/></td>
</tr>
<!--Beginning Table Tag-->
<table width="90%">
<!--Row 1->
<tr>
<td colspan="7"
style="background-color:#99CCFF;text-align:center">Site Banner</td>

</tr>

<!--Row 2-->

<tr>
<td height="100" align="center" valign="middle" bgcolor="#000000"><a href="index.htm" class="navigation">Home</a></td>
<td height="100" align="center" valign="middle" bgcolor="#000000"><a href="catcare.htm" class="navigation">Cat Care</a></td>
<td height="100" align="center" valign="middle" bgcolor="#000000"><a href="indulge.htm" class="navigation">Indulgence</a></td>
<td height="100" align="center" valign="middle" bgcolor="#000000"><a href="justfun.htm" class="navigation">Just For Fun</a></td>
<td height="100" align="center" valign="middle" bgcolor="#000000"><a href="memory.htm" class="navigation">In Memorium</a></td>
<td height="100" align="center" valign="middle" bgcolor="#000000"><a href="links.htm" class="navigation">Links</a></td>
<td height="100" align="center" valign="middle" bgcolor="#000000"><a href="contact.htm" class="navigation">Contact Us</a></td>
</tr>

<!--Row 3-->
<tr>
<td colspan="7"></td>
</tr>
<tr>
<td height="24" bgcolor="#FFFFFF"><img src="images/fish2.jpg" alt="" width="112" height="41" />
<img src="images/untitled2.jpg" alt="" width="89" height="66" /><img src="images/fish.jpg"
alt="" width="112" height="41" align="middle" /><img src="images/mouse.jpg" alt="" width="90" height="70"align="middle" /></td>
</tr>
</table>
<!--Row 4-->


<table width="90%" border="0" cellspacing="0" cellpadding="0">
<tr>
<hr />
<td width="169" align="center" valign="top" bgcolor="#CC99FF">
<h3>Meet The Contributors:</h3>
<p><strong><a href="beauty.amr">Beauty</a></strong> (<strong>Click</strong> to hear cat speak)</p>
<p><strong><em>Translation</em></strong>: <br />
Play with Me!!!!<br />
</p>
<p><img src="images/beauty.jpg" alt="beauty" width="175" height="117" align="left" /></p></td>
<td width="213" align="center" valign="bottom" bgcolor="#CC99FF"><blockquote>
<p><strong><a href="cleo.amr">Cleo</a></strong> (<strong>Click</strong> to hear cat speak)</p>
<p><em><strong>Translation</strong></em>: <br />
Feed me!!!</p>
</blockquote>
<p><img src="images/cleo and bird.JPG" alt="cleo with bird on tv" width="176" height="120" align="right" /></p></td>

<td width="387" valign="top" bgcolor="#CC99FF"><p><strong>The Meow Mixer</strong> was created by <strong>Beauty Wall-Rubino and Cleo Wall-Rubino</strong>, two pioneers in the feline community. Proclaimed by many to be the best feline friends, they strive to tighten the bond between human and animal in an informative and whimsical style. From everything to cat care, toy reviews, fun stories and advice, cat lovers and others will see the world from a cat's perspective. </p>
<p>The name <strong>The Meow Mixer</strong> comes from <strong>Beauty & Cleo's</strong> vision of having a site to share with other cats and humans to provide awareness on the feline species.<
D W is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Reply
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 09:03 AM.
Powered by vBulletin® Version 3.7.0 Beta 6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.


Nav Item BG