saeed
11-16-2005, 05:37 AM
hello,
I am bit confused in XHTML. I created a document which is working fine and there is no error in validating this document but i am not sure if its XHTML 1.0 Strict coz the validation says that "This Page Is Valid XHTML 1.0 Transitional!"
so here's the code
<?xml version="1.0" encoding="UTF-8"?>
<!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" xml:lang="en" lang="en">
<head>
<title>Using of A HREF WITH ATTRIBUTES</title>
</head>
<body>
<p></p>
<p></p>
<p></p>
<p></p>
<p>Click here to <a href='#newsupdate1'>Goto News Update1</a></p>
<p>Click here to <a href='#newsupdate2'>Goto News Update2</a></p>
<h2 id="newsupdate1">News Update 1</h2>
<p> This is the space for News Update 1 This is the space for News Update 1 This is the space for News Update 1 This is the space for News Update 1 This is the space for News Update 1 This is the space for News Update 1 This is the space for News Update 1 This is the space for News Update 1 This is the space for News Update 1 This is the space for News Update 1 </p>
<p></p>
<p></p>
<p></p>
<h2 id="newsupdate2">News Update 2 </h2>
<p> This is the space for News Update 2 This is the space for News Update 2 This is the space for News Update 2 This is the space for News Update 2 This is the space for News Update 2 This is the space for News Update 2 This is the space for News Update 2 This is the space for News Update 2 This is the space for News Update 2 This is the space for News Update 2 This is the space for News Update 2 This is the space for News Update 2 This is the space for News Update 2 </p>
</body>
</html>
Please help me out coz i have lot of things to do ....
Thanks very much.
Saeed.
I am bit confused in XHTML. I created a document which is working fine and there is no error in validating this document but i am not sure if its XHTML 1.0 Strict coz the validation says that "This Page Is Valid XHTML 1.0 Transitional!"
so here's the code
<?xml version="1.0" encoding="UTF-8"?>
<!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" xml:lang="en" lang="en">
<head>
<title>Using of A HREF WITH ATTRIBUTES</title>
</head>
<body>
<p></p>
<p></p>
<p></p>
<p></p>
<p>Click here to <a href='#newsupdate1'>Goto News Update1</a></p>
<p>Click here to <a href='#newsupdate2'>Goto News Update2</a></p>
<h2 id="newsupdate1">News Update 1</h2>
<p> This is the space for News Update 1 This is the space for News Update 1 This is the space for News Update 1 This is the space for News Update 1 This is the space for News Update 1 This is the space for News Update 1 This is the space for News Update 1 This is the space for News Update 1 This is the space for News Update 1 This is the space for News Update 1 </p>
<p></p>
<p></p>
<p></p>
<h2 id="newsupdate2">News Update 2 </h2>
<p> This is the space for News Update 2 This is the space for News Update 2 This is the space for News Update 2 This is the space for News Update 2 This is the space for News Update 2 This is the space for News Update 2 This is the space for News Update 2 This is the space for News Update 2 This is the space for News Update 2 This is the space for News Update 2 This is the space for News Update 2 This is the space for News Update 2 This is the space for News Update 2 </p>
</body>
</html>
Please help me out coz i have lot of things to do ....
Thanks very much.
Saeed.