Jump to content

Help with HTML code validation


camdav72

Recommended Posts

Hi, I have launched my first website and its not showing at all in Google. As I am a newbie, I could do with some hints, tips and or advice as to what to do to my HTML to get a (better) ranking. I ran the code validator in dreamweaver and it came up with tons of errors... I will post code - I hope this is okay??? <!DOCTYPE html><html><head><title>Your Story in a Book</title> <meta name="Your Story in a Book" content="Story Book, Retirement Book, Wedding Book, Norman MacDonald, Photo Book,Christening Book, Corporate Book " /> <meta name="StoryBook, Wedding, Your Story, Christening Book, Corporate Book " content="We�re sure you�ll agree that memories of special times are priceless and worth saving forever. Here, at Your Story In A Book, we�re giving you the chance to keep those treasured memories alive forever, by having your story told in a stylish, hardback coffee table book." /> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252" /> <!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]--><meta charset="UTF-8" /> <style type="text/css"> #apDiv1 {position:absolute;width:200px;height:115px;z-index:1;} #apDiv2 {position:absolute;width:205px;height:156px;z-index:1;float: right;top: 7px;}#apDiv3 {position:absolute;width:708px;height:52px;z-index:2;} #heeder {width: 960px;margin-right: auto;margin-left: auto;} #content {background-color: #FFFFFF;width: 960px;margin-right: auto;margin-left: auto;position: relative;height: 330px;float: left;top: -4px;} #contenttext h1 {font-size: 15px;font-style: normal;margin-bottom: 1px;font-family: "Century Gothic", "ITC Avant Garde Gothic Book", "Avant Garde", "Trebuchet MS", Tahoma, Verdana, "Gill Sans", Geneva, sans-serif;font-weight: normal;line-height: 17px;}#contenttext h2 {font-family: "Century Gothic", "ITC Avant Garde Gothic Book", "Avant Garde", "Trebuchet MS", Tahoma, Verdana, "Gill Sans", Geneva, sans-serif;font-size: 117%;font-weight: normal;line-height: 130%;}.bodymainp {font-family: "Century Gothic", "ITC Avant Garde Gothic Book", "Avant Garde", "Trebuchet MS", Tahoma, Verdana, "Gill Sans", Geneva, sans-serif;font-size: 105%;line-height: 140%;font-weight: normal;color: #000000;}.Pageheader {font-family: Garamond, Times, "Times New Roman", Palatino, "Palatino Bold", "MS serif", serif;font-size: 250%;line-height: 125%;color: #990000;overflow: hidden;text-indent: -3333px;background-image: url(IMAGES/turnyourstory.jpg);background-repeat: no-repeat;height: 67px;width: 905px;background-position: 139px;margin-bottom: 1px;} #footer .footer p a {text-decoration: none;color: #FFFFFF;cursor: auto;filter: Xray;} </style> <link href="style.css" rel="stylesheet" type="text/css"> <!-- Start WOWSlider.com HEAD section --><link rel="stylesheet" type="text/css" href="engine1/style.css" media="screen" /><style type="text/css">a#vlb{display:none}</style><script type="text/javascript" src="engine1/jquery.js"></script><script type="text/javascript" src="engine1/wowslider.js"></script><!-- End WOWSlider.com HEAD section --> <!-- Start WOWSlider.com HEAD section --><link rel="stylesheet" type="text/css" href="engine1/style.css" media="screen" /><style type="text/css">a#vlb{display:none}body,td,th {font-family: "Century Gothic", "ITC Avant Garde Gothic Book", "Avant Garde", "Trebuchet MS", Tahoma, Verdana, "Gill Sans", Geneva, sans-serif;} .contentextH2 {font-family: "Century Gothic", "ITC Avant Garde Gothic Book", "Avant Garde", "Trebuchet MS", Tahoma, Verdana, "Gill Sans", Geneva, sans-serif;font-size: 132%;font-weight: bold;line-height: 100%;} #contenttext img {padding-left: 6px;margin-right: -10px;float: right;right: -3px;position: relative;top: -10px;} </style><script type="text/javascript" src="engine1/jquery.js"></script><script type="text/javascript" src="engine1/wowslider.js"></script><!-- End WOWSlider.com HEAD section --> </head><body bgcolor="#CCCCCC"><div id="wrapper"> <div id="heeder"> <header> <div id="apDiv2"><img src="IMAGES/ysiabLogo.png" width="245" height="138" alt="your story logo"></div> <div id="apDiv3"><img src="IMAGES/MameMems.png" width="738" height="45" alt="Memories text"></div> <p> </p> <p> </p> <p> </p> <ul id="menu"> <li><a href="home.html" class="home-icon"><span>Home</span></a></li><li></li><li><a href="HowYourBook.html">Order your book</a></li><li><a href="browseflash3.html">Browse our books</a></li><li><a href="whichBookYou.html">Which book for you?</a></li> </ul> </header> </div><div id="contentarea"> <p/> <h1 class="Pageheader">Turn Your Story into a Book</h1> <p/> <!-- Start Slider BODY section id=wowslider-container1 --><script type="text/javascript" src="engine1/script.js"></script><!-- End Slider BODY section --> <div id="content"><!-- Start Slider BODY section id=wowslider-container1 --><div id="wowslider-container1"><div class="ws_images"><span><img src="data1/images/titleok.jpg" alt="TitleOk" title="TitleOk" id="wows0"/></span><span><img src="data1/images/lovestoryok.jpg" alt="lovestoryOk" title="lovestoryOk" id="wows1"/></span><span><img src="data1/images/famhistok.jpg" alt="FamHistOk" title="FamHistOk" id="wows2"/></span><span><img src="data1/images/birthdayok.jpg" alt="BirthdayOk" title="BirthdayOk" id="wows3"/></span><span><img src="data1/images/specialannivok.jpg" alt="specialAnnivOk" title="specialAnnivOk" id="wows4"/></span><span><img src="data1/images/personalachok.jpg" alt="personalAchOk" title="personalAchOk" id="wows5"/></span><span><img src="data1/images/retireok.jpg" alt="retireOk" title="retireOk" id="wows6"/></span><span><img src="data1/images/kidsok.jpg" alt="kidsOk" title="kidsOk" id="wows7"/></span><span><img src="data1/images/busok.jpg" alt="busOk" title="busOk" id="wows8"/></span></div><a style="display:none" href="http://wowslider.com">Background Image Slideshow jQuery by WOWSlider.com v2.0m</a><div id="wowslider-frame"></div><div id="wowslider-shadow"></div></div><script type="text/javascript" src="engine1/script.js"></script><!-- End Slider BODY section --></div> <div id="contenttext"> <img src="IMAGES/booksTitle3.jpg" alt="sample books" width="283" height="289" align="right"><span class="contentextH2">We’re sure you’ll agree that memories of special times are priceless and worth saving forever.</span><p> <span class="bodymainp">Here, at Your Story In A Book, we’re giving you the chance to keep those treasured memories alive forever, by having your story told in a stylish, hardback coffee table book.</span></p> <p> <span class="bodymainp">Our team of professional writers and designers lead by award-winning journalist and author, Norman Macdonald will turn your own story into a large-sized luxury book of words and pictures.</span> </p> <p> <span class="bodymainp">And that means you, your family, friends and future generations can read about your life, your special times and your achievements.</span></p> <p> <span class="bodymainp"> We also give companies and organisations a unique way of promoting their business by impressing clients and customers with the story of their company in our large format books.</span></p> <p><span class="bodymainp">We will interview you in the comfort of your own home or office and you can then order a single coffee table book to as many books as you want, featuring any aspect of your life. </span> </p> <p><span class="bodymainp"> ‘And if you give one of our books as a gift, just imagine the delight you would see on the face of a loved one, a friend, or colleague when you present them with a book featuring their own story.’</span> </p> </div> <div id="sidebar"> <h2>YOUR BOOK COULD BE ABOUT</h2> <p class="sidebarlist">A couple’s own love story from the day they met to their wedding day<br> <br> <strong>Family history<br> <br> </strong>A Landmark birthday<br> <br> <strong>A special anniversary<br> <br> </strong>Personal achievement <br> <br> <strong>A lifetime’s work on retirement<br> <br> </strong>Your child’s early years<br> <br> <strong>Promoting your business</strong></p><p><img src="IMAGES/ysblogo160.png" alt="yourstorylogo 160px" width="160" height="75" class="cntrelogo"></p> </div> <div id="footer"> <div class="footer"> <p><strong>Copyright</strong> © Yourstoryinabook.co.uk 2012 <strong>Contact:</strong><a href="mailto:norman@yourstoryinabook.co.uk">norman@yourstoryinabook.co.uk</a><a href="mailto:info@macdonald-media.co.uk"> <strong>Telephone:</strong></a>01505 816980<a href="mailto:info@macdonald-media.co.uk"><strong> </strong> </a></p> <p><strong>Design by me</strong></p> </div> </div> </div></div></body></html>

Link to comment
Share on other sites

I think most everyone will generally tell you that your site ranking is improved by having a lot of good content people want to come read, and getting other sites with good ranking to want to link back to you. I think it will help to clear up those errors also. I found this SEO thread in the general forum that will be good for you to look over: http://w3schools.invisionzone.com/index.php?showtopic=41170

Link to comment
Share on other sites

The first validation error is that your <meta> tags have wrong values for the name attributes.The second problem is that you're trying to close <p> elements with /> while they are only allowed to close with a separate tag. You shouldn't have empty <p> elements, you should be using CSS to give separation between elements on the page. Other errors are with obsolete attributes like bgcolor and align. Use CSS instead.

Link to comment
Share on other sites

Follow Davidb52's links and especially the first one. Google doesn't automatically add websites to the search engine. You have to add it manually.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...