use the validatororg to validate the html below Restaurant I
use the validator.org to validate the html below
<!!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">
<html>
<head>
<title>Restaurant Information</title>
<style>
p {
font-family: Georgia, \"Times New Roman\", Times, serif;
font-size: 0.95em;
color: #333333;
line-height: 20px;
}
h1 {
font-family: Georgia, \"Times New Roman\", Times, serif;
font-size: 1.4em;
color: #000033;
}
h2 {
font-family: Georgia, \"Times New Roman\", Times, serif;
font-size: 1.2em;
color: #000033;
}
h3 {
font-family: Georgia, \"Times New Roman\", Times, serif;
font-size: 1.1em;
color: #000033;
}
.boldit {
font-family: Arial, Helvetica, sans-serif;
font-size: 0.95em;
font-weight: bold;
color: #990000;
letter-spacing: .1em;
}
.style1 {
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
color: #000066;
}
a:link {
color: #006666;
}
a:visited {
color: #FF6633;
}
strong em {
font-size: .9em;
color: #336666;
}
</style>1
<h1> Restaurant Information</h1>
</head>
<body>
<blockquote>
<span class=\"boldit\">TYPE OF CUISINE:</span>Italian and Continental<br>
<span class=\"boldit\">PRICE RANGE:</span> Lunch Entrees $9 to $14, Dinner $12 to $21<br>
<span class=\"boldit\">ATMOSPHERE:</span> Elegant but casual, Cozy, Romantic, Fun & Festive, Like your second home.<br>
<span class=\"boldit\">APPEALS TO:</span> Appeals to everyone, from Tourists to Couples and especially to Business Groups<br>
<span class=\"boldit\">DRESS CODE:</span> Elegant but casual<br>
<span class=\"boldit\">MEALS SERVED:</span> Lunch, Dinner<br>
<h2>Contact Us:</h2>
<span class=\"boldit\">ADDRESS:</span><br>
<p class=\"style1\">Cafe Townsend<br>
600 Townsend Street<br>
San Francisco, CA 94103<br></p>
<p>
<span class=\"boldit\">PHONE: (415) 555-1234</span><br>
</p>
<p>
<span class=\"boldit\">FAX: (415) 555-1234</span><br>
</p>
<p>
<a href=\"mailto:webmaster@example.com\">Email us</a><br>
<span class=\"boldit\">DIRECTIONS: <a href=\"http://maps.google.com/maps?q=600+Townsend+St,+San+Francisco,+CA+94103&spn=0.021729,0.022187&hl=en\">See Location and Direction Page
</a></span><br>
</p>
<span class=\"boldit\">HOURS:</span> Cafe Townsend is open seven days a week for dinner and Monday thru Friday for lunch<br>
<span class=\"boldit\">LUNCH:</span> Monday thru Friday 11:30am - 2:00pm<br>
<span class=\"boldit\">DINNER:</span><br>
Sunday thru Thursday 5:30pm - 10:00pm<br>
Friday and Satuday 5:30pm - 11:00pm<br>
<span class=\"boldit\">CREDIT CARDS ACCEPTED:</span> Visa, Mastercard, American Express, Discover, Diners Club<br>
<h3>Awards and Recognition:</h3>
<p>
Best New Restaurant<br>
<strong>Restaurant News<em>, 1994<br>
</p>
<p>
Best Veal in California<br>
<strong>California Magazine<em>, February 2002<br>
</p>
<p>
<span class=\"boldit\">SPECIAL FEATURE:</span> Cafe Townsend serves only the very highest quality meats, authentically prepared for your dining pleasure. A specialty at Cafe Townsend is the signature dishes that are presented tableside. Dine in our elegantly casual atmosphere at our convenient San Francisco location.<br>
</p>
<h2>Cafe Townsend Is Proud To Offer The Following Services:</h2>
<p>
<span class=\"boldit\">BANQUET FACILITIES / PRIVATE ROOM:</span> We can accommodate your party of up to 34 (50 for standing receptions) in our private dining room with Roman motif and gold and peach accents. This room offers soundproof doors and lighting that will adjust from candlelight to reading luminance. In addition, we have semi-private accommodations, seating up to 50, in one section of our main dining room that can be separated by curtains. For groups of 100 to 120 our main dining room is available. Cafe Townsend will also consider closing the restaurant for a minimum charge to provide the space you need to accommodate your largest parties. See our <a href=\"mailto:webmaster@example.com\">Special Event</a><br> page for more details.<br>
</p>
<p>
<span class=\"boldit\">BAR:</span> Cafe Townsend offers a full service bar. In addition, we have three frozen specialty drinks. For a special occasion, try the Belini, a combination of peach nectar, champagne and Bacardi.<br>
</p>
<p>
<span class=\"boldit\">CATERING:</span> Both on and off premise catering is available. See the Special Events page for more details.<br>
</p>
<p>
<span class=\"boldit\">DELIVERY / TAKE-OUT:</span> Our full menu is available for take-out. Cafe Townsend does not offer delivery.<br>
</P>
<p>
<span class=\"boldit\">ENTERTAINMENT:</span> Enjoy our new red Digital Surround Sound Baby Grand Concert Master \"Digital\" Piano.<br>
</p>
<p>
<span class=\"boldit\">RESERVATIONS:</span> Recommended
</p>
<p>
<span class=\"boldit\">SEATING CAPACITY:</span> 200
</p>
<p>
<span class=\"boldit\">SMOKING CHOICE:</span> Our restaurant is proud to be a non-smoking establishment.
</p>
Solution
Please find below validated code :
Mistakes:
1.<!!DOCTYPE> only single ! required
2.Unclosed <strong> and <em> tags.
3.\"type\" attribute was missing in <style>
<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">
<html>
<head>
<title>Restaurant Information</title>
<style type=\"\">
p {
font-family: Georgia, \"Times New Roman\", Times, serif;
font-size: 0.95em;
color: #333333;
line-height: 20px;
}
h1 {
font-family: Georgia, \"Times New Roman\", Times, serif;
font-size: 1.4em;
color: #000033;
}
h2 {
font-family: Georgia, \"Times New Roman\", Times, serif;
font-size: 1.2em;
color: #000033;
}
h3 {
font-family: Georgia, \"Times New Roman\", Times, serif;
font-size: 1.1em;
color: #000033;
}
.boldit {
font-family: Arial, Helvetica, sans-serif;
font-size: 0.95em;
font-weight: bold;
color: #990000;
letter-spacing: .1em;
}
.style1 {
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
color: #000066;
}
a:link {
color: #006666;
}
a:visited {
color: #FF6633;
}
strong em {
font-size: .9em;
color: #336666;
}
</style>
<h1> Restaurant Information</h1>
<blockquote>
<span class=\"boldit\">TYPE OF CUISINE:</span>Italian and Continental<br>
<span class=\"boldit\">PRICE RANGE:</span> Lunch Entrees $9 to $14, Dinner $12 to $21<br>
<span class=\"boldit\">ATMOSPHERE:</span> Elegant but casual, Cozy, Romantic, Fun & Festive, Like your second home.<br>
<span class=\"boldit\">APPEALS TO:</span> Appeals to everyone, from Tourists to Couples and especially to Business Groups<br>
<span class=\"boldit\">DRESS CODE:</span> Elegant but casual<br>
<span class=\"boldit\">MEALS SERVED:</span> Lunch, Dinner<br>
<h2>Contact Us:</h2>
<span class=\"boldit\">ADDRESS:</span><br>
<p class=\"style1\">Cafe Townsend<br>
600 Townsend Street<br>
San Francisco, CA 94103<br></p>
<p>
<span class=\"boldit\">PHONE: (415) 555-1234</span><br>
</p>
<p>
<span class=\"boldit\">FAX: (415) 555-1234</span><br>
</p>
<p>
<a href=\"mailto:webmaster@example.com\">Email us</a><br>
<span class=\"boldit\">DIRECTIONS: <a href=\"http://maps.google.com/maps?q=600+Townsend+St,+San+Francisco,+CA+94103&spn=0.021729,0.022187&hl=en\">See Location and Direction Page
</a></span><br>
</p>
<span class=\"boldit\">HOURS:</span> Cafe Townsend is open seven days a week for dinner and Monday thru Friday for lunch<br>
<span class=\"boldit\">LUNCH:</span> Monday thru Friday 11:30am - 2:00pm<br>
<span class=\"boldit\">DINNER:</span><br>
Sunday thru Thursday 5:30pm - 10:00pm<br>
Friday and Satuday 5:30pm - 11:00pm<br>
<span class=\"boldit\">CREDIT CARDS ACCEPTED:</span> Visa, Mastercard, American Express, Discover, Diners Club<br>
<h3>Awards and Recognition:</h3>
<p>
Best New Restaurant<br>
<strong>Restaurant News<em>, 1994</em></strong><br>
</p>
<p>
Best Veal in California<br>
<strong>California Magazine<em>, February 2002</em></strong><br>
</p>
<p>
<span class=\"boldit\">SPECIAL FEATURE:</span> Cafe Townsend serves only the very highest quality meats, authentically prepared for your dining pleasure. A specialty at Cafe Townsend is the signature dishes that are presented tableside. Dine in our elegantly casual atmosphere at our convenient San Francisco location.<br>
</p>
<h2>Cafe Townsend Is Proud To Offer The Following Services:</h2>
<p>
<span class=\"boldit\">BANQUET FACILITIES / PRIVATE ROOM:</span> We can accommodate your party of up to 34 (50 for standing receptions) in our private dining room with Roman motif and gold and peach accents. This room offers soundproof doors and lighting that will adjust from candlelight to reading luminance. In addition, we have semi-private accommodations, seating up to 50, in one section of our main dining room that can be separated by curtains. For groups of 100 to 120 our main dining room is available. Cafe Townsend will also consider closing the restaurant for a minimum charge to provide the space you need to accommodate your largest parties. See our <a href=\"mailto:webmaster@example.com\">Special Event</a><br> page for more details.<br>
</p>
<p>
<span class=\"boldit\">BAR:</span> Cafe Townsend offers a full service bar. In addition, we have three frozen specialty drinks. For a special occasion, try the Belini, a combination of peach nectar, champagne and Bacardi.<br>
</p>
<p>
<span class=\"boldit\">CATERING:</span> Both on and off premise catering is available. See the Special Events page for more details.<br>
</p>
<p>
<span class=\"boldit\">DELIVERY / TAKE-OUT:</span> Our full menu is available for take-out. Cafe Townsend does not offer delivery.<br>
</P>
<p>
<span class=\"boldit\">ENTERTAINMENT:</span> Enjoy our new red Digital Surround Sound Baby Grand Concert Master \"Digital\" Piano.<br>
</p>
<p>
<span class=\"boldit\">RESERVATIONS:</span> Recommended
</p>
<p>
<span class=\"boldit\">SEATING CAPACITY:</span> 200
</p>
<p>
<span class=\"boldit\">SMOKING CHOICE:</span> Our restaurant is proud to be a non-smoking establishment.
</p>
</blockquote>
</body>
</html>





