XhTmL problem need assessment?

mal. D

New member
My problem is link in xml, i just cant quite work out why the link will not comply, below is xhtml

I cannot some how find a way to get this link to hyperlink to the next page.

Below is "html" this does link to the next page quite well with out any trouble

but the link above html will not shift.

I tried to look at source codes regarding this but since im doing it locally http//: is not important at this stage. all the files containing the second and third link are not in files so there's no point searching below it. so what did i do wrong,

my thoughts are the <a href="" cannot have html in it, it must comply to xhtml but unsure if typing either would make a difference

Can some one clarify what i did wrong, with in the one below.


<?xml version="1.0" encoding="utf-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 1.0 Strict//EN" "http://www.w3.org/TR/html1/DTD/xhtml1-strict.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title> head line </title>
<link href="css/../style.css" rel="stylesheet" type="text/css" media="screen" />


</head>
<body>
<div id="wrapper">

</div>
<div id="navigation">
<ul>
<li> <a href="index.html">index</a></li>
<li><a href="pagepageone.html">page one</a></li>
<li><a href="pagetwo.html">page two</a></li>
<li><a href="pagethree.html">page three</a></li>
<li><a href="css/testpage.html">testpage</a></li>
<li><a href="css/java/java.html"></a></li>

</ul>
</div>


</body>
</html>

------------------------------------------------------------------------------------------------------------------------------------------------

<!doctype html public "-//w3c//dtd html 4.01 transitional//EN">


<html>





<meta http-equiiv="content-type" content="text/html; charset=iso-8859-1">


<link href="css/root.css" rel="stylesheet" type="text/css">

<title>index</title>





<head>
<div id="navigation">
<ul>
<li><a href="index"></a></li>
<li><a href="pageone.html"><page one/a></li>
<li><a href="pagetwo.html">page two</a></li>
<li><a href="pagethree.html">page threee</a></li>
<li><a href="css/testpage.html">page four</a></li>
<li><a href="css/java/java.html">page five</a></li>

</ul>
</div>
 
Back
Top