Sample of valid code for the edited practice-xhtml.html file in Project 10

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

<title>Student Name</title>

<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />

</head>

<body>

<h2 align="center" >Student Information</h2>

<p>I have been a Parkland student off and on for 30 years.</p>

<p>My favorite place to eat when someone else is paying the bill is the Great Impasta in downtown Champaign. I like just about everything on the menu, especially the desserts!</p>

<hr />

<p>Your name <br />
Street address<br />
City, ST zip</p>

<p><a href="practice.html">Practice Page</a></p>

<p><a href="http://www.w3schools.com/html/html_links.asp">W3Schools Links Info</a></p>

</body>

</html>


Coding for the edited practice.html for Project 10

<html>

<head>

<title>Learning About Web Pages</title>

</head>

<body>

<h1>Headings should be short!</h1>

<p>Paragraphs of text will automatically use word wrap to fill the window according to the screen resolution and monitor size of the user's machine.</p>

<p><a href="practice-xhtml.html">XHTML Practice Page</a></p>

</body>

</html>

If you want your code for the practice.html page to also be valid for XTHML coding, it would be like this:

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

<title>Learning About Web Pages</title>

<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />

</head>

<body>

<h1>Headings should be short!</h1>

<p>Paragraphs of text will automatically use word wrap to fill the window according to the screen resolution and monitor size of the user's machine.</p>

<p><a href="practice-xhtml.html">XHTML Practice Page</a></p>

</body>

</html>

Hosted by www.Geocities.ws

1