Kinda off-topic, but you might want to look at this:
http://validator.w3.org/check?verbose=1 ... ios.com%2F
You're forgetting a few things in your XHTML...you need to use
Code: Select all
<script type="text/javascript" src="home.js"></script>
You're missing a closing div tag in there, from what I see. And don't forget,
<img>,
<hr> <br> tags are also supposed to be self-closing too. To finally get your code to validate, every
<img> tag should have an alt attribute.
Aside from that, you need to remove the name attribute from the image and recode it to use id, and that would get your site to validate.
I've been working with XHTML and CSS for a while, myself.
This validates, by the way.
Code: Select all
<!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" dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Home || [Caitlin Marie Studios]</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="home.js"></script>
</head>
<body>
<div id="container">
<div id="topholder">
<div id="Nav2">
<ul>
<li><a href="/Art">Art</a></li>
<li><a href="/Jewelry">Jewelry</a></li>
<li><a href="music.html">Music</a></li>
<li><a href="/Sewing">Sewing</a></li>
<li><a href="/WebDesign">Web Design</a></li>
</ul>
</div>
<div id="Nav1">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="bio.html">Biography</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</div>
<div id="header"><h1>Caitlin Marie Studios</h1>
<div id="floater"><img src="images/slideshow_1.png" id="slide" alt="some alt text here" /></div></div>
</div>
<div id="maincontent">
<h2>Welcome to Caitlin Marie Studios</h2>
<p>Hi there, and welcome to my website. Here you will find a huge variety of different projects I have completed throughout my lifetime. This is essentially a giant portfolio of everything about myself. I fear this may be the most vain I have ever felt, but I do hope you understand that my portfolio - and therefore any 'tooting of my own horn' - is a truly neccessary evil. In the top left corner you will find links that will lead to my biography and contact information. In the top right corner you will see each main 'category' of various kinds of arts I induldge in. Feel free to look around.</p>
<p>Please bear with me as my life is unbelievably busy and I won't often have time to update this. As you can see from my hobbies/interests I always have something that needs doing!</p>
<hr />
<h1>"Tell me, what is it you plan to do with your one wild and precious life?" - Mary Oliver</h1>
</div>
</div>
</body>
</html>