Need help? Check out our Support site, then


Can't Validate my assignment on W3C

  1. Thanks phoxis :-) This is hard work!!

  2. Take a look at this web page which explains about the standard structure of an HTML page.

    http://www.w3.org/TR/html401/struct/global.html

    You always need to declare the HTML/XHTML version (doctype) and you always need a declarative head section. You had that on the first bit of code you posted, but it was missing from the last bit.

    And I'm shutting down and heading to bed.

  3. OK, this is valid code:

    <!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/1999/xhtml" xml:lang="en" lang="en">
    <head>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
    <title>Via Roma Italian Restaurant</title>
    <link rel="stylesheet" type="text/css" href="vrstyle.css" />
    </head>
    <body>
    	<h1>Italian Organic Restaurant</h1>
    	<hr />
    	<p><a href="index.html">| HOME |</a> <a href="menu.html">MENU</a> <a href="juices.html"> |JUICES |</a> <a href="contact.html">CONTACT |</a> <a href="Functions.html">FUNCTIONS |</a> <a href="staff.html">STAFF |</a> </p>
    	<hr />
            <h3>RESTAURANT MENU</h3>
    	<p>Starters
      	Pasta
      	Pizza Veggie
    	</p>
    	<h3>STARTERS</h3>
    	<p>Garlic Bread crusty bread with garlic and olive oil £3.50 </p>
    	<p>Garlic and Tomato Bread delicious foccacia bread with roasted garlic and tomato £4.30</p>
    	<p>Minestrone soup with green beans, carrots and courgettes, served with
              crusty bread £5.00</p>
    	<p>Rocket Salad Rocket leaves with olive oil and parmesan cheese £3.50</p>
    	<h3>PASTA</h3>
    	<p> Penne alla Mariniero penne pasta with organic smoked salmon, tuna, parmesan and creamy
              white sauce £7.50 </p>
    	<p>Ravioli con Fungi ravioli stuffed with porcini and a tomato and basil sauce £7.50</p>
    	<p>Penne a la Carbonara penne pasta with parma ham, garlic, parmesan, egg, and cream £7.50</p>
    	<p>Blue Cheese Macaroni macaroni pasta with blue cheese £7.50</p>
    	<p>Pesto Spaghetti spaghetti pasta with pesto sauce, basil, pine nuts and parmesan cheese £7.80</p>
    	<p>Tuna Cannelloni cannelloni pasta filled with tuna, mushrooms, and ricotta cheese £8.50</p>
    	<p>Seafood Fettuccine fettuccine pasta with prawns, squid, mussels and coriander sauce £10.00</p>
    	<h3>PIZZA VEGGIE</h3>
    	<p>Margherita mozzarella and tomatoes £7.80</p>
    	<p>Rustica mozzarella, tomatoes, mushrooms, sun dried tomatoes, and olives £8.90</p>
    	<p>Quattro Formaggi mozzarella, dolcelatte, goats' cheese and parmesan £8.90</p>
    	<p>Fiorentina mozzarella, tomatoes, spinach, egg, roasted and tomatoes £9.50</p>
       </body>
    </html>
  4. Thank you for helping me good night. Hope i can work this out.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.