The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> "element "TEXT" undefined error
1q2w3e4r
post May 30 2012, 11:54 PM
Post #1





Group: Members
Posts: 5
Joined: 30-May 12
Member No.: 17,200



I have this little website I'm making from a web template I found, and "apparently" the template wasn't 100% correct, the validator at w3schools didn't like some of the things going on. The item that I am currently trying to fix is the text under the links on the left hand side, that say things like "home page". "about me". etc. Does anyone know how to fix the "element undefined" error that the validator gives me? Here is what I have for my code:
CODE
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>/index.html</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div id="container">
<div id="header">
<h1>asdf.org</h1>
<h2>&nbsp;&nbsp;&nbsp;&nbspplace to waste time</h2>
<br />
<hr />

</div> <!-- end header -->

<div class="spacer"></div>
<div id="left">

<div id="leftcontent">

    <ul>
        <li><strong><a href="./index.html">home</a></strong></li>
        <text>home page</text>
        <li><a href="./about.html">about me</a></li>
        <text>about</text>
        <li><a href="./blog.html">blog</a></li>
        <text>random discussions</text>
        <li><a href="./things.html">things i've done</a></li>
        <text>nothing special</text>
        <li><a href="./contact.html">contact me</a></li>
        <text>email or other</text>
        <li><a href="./etc.html">/etc</a></li>
       <text> anything else</text>
    </ul>



<p>&nbsp;</p>

<!--
<h3>News</h3>
<p class="news">1/14 | Idea conceived<br />1/17 | Semester starts<br />1/19 | Design completed</p>
-->


</div> <!-- end left content -->
</div> <!-- end left division -->
<div id="main">
<div id="maincontent">

<h3 class="top_main_heading">asdf</h3>
<p>asdfasdfasdf</p>


<h3>asdf</h3>
<p>asdfasdf</p>


<h3>website design</h3>
<p class="boxed">
asdfsdfsadfasdf
<br />


</div> <!-- end main content section -->
</div>
<div id="footer"><div class="spacer"></div>
<hr />
<p class="left">| <a href="http://jigsaw.w3.org/css-validator/">CSS</a> | <a href="http://validator.w3.org/check?uri=referer">XHTML 1.1</a> |</p>
<p class="right">design by Adam Patricka, recreated by Matt Hollis, edited by ekaj</p>
<p>&nbsp;</p>
</div> <!-- end footer -->

</div> <!-- end container -->
</body>

</html>

and here is the CSS if that's helpful, I didn't want to spam everything on one page. Any advice is much appreciated. If you're feeling especially generous, I would appreciate input on any other error as well.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 23rd April 2024 - 04:37 PM