PDA

View Full Version : Too Many Errors!


Vanna4
09-28-2009, 01:49 PM
I ran this and I need help with the errors:

<?xml version="1.0" encoding="UTF-8" ?>





<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="HTTP://www.w3.org/TR/xhtml">

<head>

<title>Kelsey's Breakfast Menu</title>

</head>



<body bgcolor="tan.jpg">

<h5 align="center">

<img src="breakfst.jpg" usemap="#Menu" alt="Breakfast Menu"><br>

Click the Breakfast, Lunch, or Dinner menu



<map name="Menu">

<area shape="rect" coords="20,40,156,77" href="breakfst.htm" alt="Breakfast">

<area shape="rect" coords="241,40,336,77" href="lunch.htm" alt="Lunch">

<area shape="rect" coords="464,40,568,77" href="dinner.htm" alt="Dinner">

</map>



</h5>

<h1 align="center"><font color="green">

Breakfast Menu

</font></h1>

<h5 align="center">

Served 6:30 a.m. - 11:00 a.m.

</h5>

<hr>

<dl>

<dt><b><font face="sans-serif" color="green">

Smoked Trout

</font></b></dt>

<dd>Fluffy scrambled eggs with smoked trout, goat cheese, and

scallions; served with oven-roasted potatoes and toast. 5.45

</dd>



<dt><b><font face="sans-serif" color="green">

French Toast

</font></b></dt>

<dd>Three thick slices of French bread dipped in egg batter and

served crisp and golden brown with syrup. 3.25

</dd>



<dt><b><font face="sans-serif" color="green">

Belgian Waffle

</font></b></dt>

<dd>Crisp malt Belgian waffle and syrup. 3.95

</dd>



<dt><b><font face="sans-serif" color="green">

Breakfast Fruit Plate

</font></b></dt>

<dd>Fresh seasonal fruit with yogurt or cottage cheese and Kelsey's famous

Bran Muffin. 3.95

</dd>



<dt><b><font face="sans-serif" color="green">

Huevos Rancheros

</font></b></dt>

<dd>Two eggs on a flour tortilla with thick chili sauce, shredded

Monterey Jack, and homemade salsa. 4.95

</dd>



<dt><b><font face="sans-serif" color="green">

Eggs

</font></b></dt>

<dd>Any style with oven-roasted potatoes and toast. 2.95

</dd>



<dt><b><font face="sans-serif" color="green">

Lox and Bagels

</font></b></dt>

<dd>Nova lox, cream cheese, onion, cucumber, and tomatoes. 5.95

</dd>

</dl>



</body>

</html>

&

<html>

<head>
<title>Kelsey's Dinner Menu</title>

</head>



<body background="tan.jpg">

<h5 align="center">

<img src="dinner.jpg" usemap="#Menu" alt="Dinner Menu"><br>

Click the Breakfast, Lunch, or Dinner menu



<map name="Menu">

<area shape="rect" coords="20,40,156,77" href="breakfst.htm" alt="Breakfast">

<area shape="rect" coords="241,40,336,77" href="lunch.htm" alt="Lunch">

<area shape="rect" coords="464,40,568,77" href="dinner.htm" alt="Dinner">

</map>



</h5>

<h1 align="center"><font color="green">

Dinner Menu

</font></h1>

<h5 align="center">

Served 4:00 p.m. - 10:00 p.m.

</h5>

<hr>

<dl>

<dt><b><font face="sans-serif" color="green">

Cajun Meatloaf

</font></b></dt>

<dd>Lean beef served with Kelsey's Southwestern mashed potatoes. 8.95

</dd>



<dt><b><font face="sans-serif" color="green">

Chicken Marsala

</font></b></dt>

<dd>Plump chicken breasts sauted with tomatoes, mushrooms and artichoke hearts

with a splash of Marsala wine. 8.95

</dd>



<dt><b><font face="sans-serif" color="green">

Pecan Crusted Whitefish

</font></b></dt>

<dd>Quickly seared fish and fresh mushrooms served with pineapple chutney. 10.95

</dd>



<dt><b><font face="sans-serif" color="green">

Thai Stir Fry

</font></b></dt>

<dd>Fresh crisp vegetables quickly sauteed, tossed with Kelsey's spicy

peanut sauce, served over rice. 8.95

</dd>



<dt><b><font face="sans-serif" color="green">

Jambalalya

</font></b></dt>

<dd>Plump shrimp, chicken and spicy sausage slowly simmered with tomatoes and

rice. 9.95

</dd>



<dt><b><font face="sans-serif" color="green">

Wild Rice Stuffed Squash

</font></b></dt>

<dd>Winter squash stuffed with fresh harvest vegetables and pecan rice, served

with pineapple chutney and melted Monterery Jack. 8.95

</dd>



<dt><b><font face="sans-serif" color="green">

Cuban Beans and Rice

</font></b></dt>

<dd>Black turtle beans simmered with carrots, tomatoes and green peppers,

served over rice with spicy salsa, guacamole and flour tortillas. 7.95

</dd>

</dl>



</body>

</html>

&

<html>

<head>
<title>Kelsey's Lunch Menu</title>

</head>



<body background="tan.jpg">

<h5 align="center">

<img src="lunch.jpg" usemap="#Menu" alt="Lunch Menu"><br>

Click the Breakfast, Lunch, or Dinner menu



<map name="Menu">

<area shape="rect" coords="20,40,156,77" href="breakfst.htm" alt="Breakfast">

<area shape="rect" coords="241,40,336,77" href="lunch.htm" alt="Lunch">

<area shape="rect" coords="464,40,568,77" href="dinner.htm" alt="Dinner">

</map>



</h5>

<h1 align="center"><font color="green">

Lunch Menu

</font></h1>

<h5 align="center">

Served 10:30 a.m. - 3:00 p.m.

</h5>

<hr>

<dl>

<dt><b><font face="sans-serif" color="green">

Grilled Shrimp Caesar Salad

</font></b></dt>

<dd>Caesar salad with romaine lettuce, parmesan cheese and homemade croutons

topped with grilled shrimp. 5.95

</dd>



<dt><b><font face="sans-serif" color="green">

Grilled Chicken Caesar Salad

</font></b></dt>

<dd>Caesar salad with romaine lettuce, parmesan cheese and homemade croutons

topped with grilled chicken. 5.25

</dd>



<dt><b><font face="sans-serif" color="green">

Fresh Fruit Plate

</font></b></dt>

<dd>Fruit plate with bran muffin, cottage cheese and seasonal fruit. 5.75

</dd>



<dt><b><font face="sans-serif" color="green">

Tuna Salad Sandwich

</font></b></dt>

<dd>with light cream cheese spread, french roll and oven-roasted potatoes 4.95

</dd>



<dt><b><font face="sans-serif" color="green">

Pizza Bella

</font></b></dt>

<dd>Pesto, goat cheese, onions, tomatoes and mozzarella. 5.45

</dd>



<dt><b><font face="sans-serif" color="green">

Quattro Formaggi

</font></b></dt>

<dd>Mozzarella, Monterey Jack, Feta, Asiago, tomato sauce and fresh basil. 5.45

</dd>



<dt><b><font face="sans-serif" color="green">

Chicken with Curried Onions

</font></b></dt>

<dd>Skinless chicken breast smothered with sweet onions served with

onion-roasted potatoes. 5.75

</dd>



<dt><b><font face="sans-serif" color="green">

Charburger

</font></b></dt>

<dd>Made with extra-lean beef, served with oven-roasted potatoes. 4.95

</dd>



<dt><b><font face="sans-serif" color="green">

Mexican Charburger

</font></b></dt>

<dd>Guacamole and spicy salsa. 5.45

</dd>

</dl>



</body>

</html>

Pegasus
09-28-2009, 02:01 PM
You're using XHTML doctype, but your code isn't standards compliant. You need to get rid of all the font tags, the <b> tags and use CSS for your information. Also, you have more than one <head> tag in the page. That's not acceptable. It has to be one only. Same with <html> and <body>.

Also, just as a side note, you have the <?xml> tag before the doctype. You'll need to remove that and use a metatag for your character encoding or some browsers will seriously mess up your page. They don't like anything before the doctype.

Vanna4
09-28-2009, 07:19 PM
There are 3 different pages. So I take the <font> tags and replace them with the { }

Pegasus
09-28-2009, 11:13 PM
Your font tags and all the align information needs to go as CSS.