Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Help with Vaildating my Html on my website

Featured Replies

Hello, Could someone help me Vaildate my Website's Html, i had a go and i don't understand what the errors are, so if someone could take a look for me it would be great if you could let me know what i have to fix to make it Vaildate. Thanks

 

The site is - Bedfordshire Anime

try this:

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

 

<html>

<head>

<title>Bedfordshire Anime - Home</title>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

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

</head>

 

 

 

<!-- Treat the body as the background -->

 

<body>

 

<!-- Page is used as the outer wrapping for everything visible in the browser -->

 

<div id="page">

 

<!-- Container is an invisible wrapping for the Main section and the side column -->

 

<div id="container">

 

 

 

<!-- Banner is the place where you'd generally put your logo and possibly navigation -->

 

<div id="banner">

 

<img src="bedfordshireanime-banner.jpg" alt="banner" usemap="#Map"> <map name="Map">

<area shape="rect" coords="124,73,139,74" href="index.html" alt="home"><area shape="rect" coords="44,30,559,150" href="index.html" alt="home"> </map>

</div>

 

 

 

 

<!-- Navigation is place where your links go -->

 

<div id="navigation">

<ul>

<li><a href="index.html">Home</a></li>

<li><a href="about.html">About</a></li>

<li><a href="gallery.html">Gallery</a></li>

 

<li><a href="http://bedfordshire-anime.lefora.com/">Forum</a></li>

<li><a href="contact.html">Contact</a></li>

<li><a href="links.html">Links</a></li>

</ul>

 

</div>

 

 

 

 

 

<!-- Summary is the left-hand side column -->

 

<div id="side-menu">

<p>

<a href="#">

<img style="border:0;width:88px;height:31px" src="http://jigsaw.w3.org/css-validator/images/vcss-blue" alt="Valid CSS!"> </a>

</p>

<div align="center">Events Will be Placed here, Next Cosplay Picnic coming soon! </div>

</div>

 

 

 

 

 

<!-- Content is the main content section -->

 

<div id="content">

<h1> Bedfordshire Anime a

place were you can meet local anime/game and cosplay fans.</h1>

 

<h1>News and Updates:</h1>

<p>06.05.10: our new site, If you know anyone interested, then this is the place to Direct them to. Bedfordshire Anime, for the fans by the fans.</p>

<p><img src="bedfordshire anime pics.jpg" alt="image" width="708" height="335"></p>

<p>Your Number one place to visit for Bedfordshire Anime fans!</p>

 

</div>

 

 

 

 

 

<!-- Footer is just the page footer -->

 

<div id="footer">

~ Disclaimer - All images Belong to there Rightfull Owners. ~ Copyright © 2010 Bedfordshire Anime

</div>

 

</div>

 

 

<!-- --><script type="text/javascript" src="http://images.webs.com/static/global/js/webs/usersites/escort.js"></script><script type="text/javascript">if(typeof(urchinTracker)=='function'){_uacct="UA-230305-2";_udn="none";_uff=false;urchinTracker();}</script>

</div>

</body>

</html>

 

You had an end </a> tag after the valid css image but no start <a href=""> so I have put this in, you will need to add the URL if linking through, also with the image you where using xhtml closing tags of /> with standard html it's just >.

 

The other error was that you didn't close the opening div class, so I added this before the closing </body> tag.

  • Author

try this:

 

 

 

You had an end </a> tag after the valid css image but no start <a href=""> so I have put this in, you will need to add the URL if linking through, also with the image you where using xhtml closing tags of /> with standard html it's just >.

 

The other error was that you didn't close the opening div class, so I added this before the closing </body> tag.

 

 

Thankyou i'll try it, and let you know if it works thank, you. Also would know how to fix my Navigation bar and gallery, on IE 8 cause on some versions of 8 its all messed up and looks like this.

 

Capture2.JPG

  • Author

try this:

 

 

 

You had an end </a> tag after the valid css image but no start <a href=""> so I have put this in, you will need to add the URL if linking through, also with the image you where using xhtml closing tags of /> with standard html it's just >.

 

The other error was that you didn't close the opening div class, so I added this before the closing </body> tag.

 

Hey there, i have one more error coming up, and its to do with this bit.

 

<!-- --><script type="text/javascript" src="http://images.webs.com/static/global/js/webs/usersites/escort.js"></script><script type="text/javascript">if(typeof(urchinTracker)=='function'){_uacct="UA-230305-2";_udn="none";_uff=false;urchinTracker();}</script>

 

The thing is, thats not part of my code the hosting site, i have my site on, just adds it to the source code, its not actually in my Html file. And i can't Seem to validate my html file, cause it says something is wrong with that bit. Can you help please.

towards the end of your code add an extra closing div as below

 

<div id="footer">

~ Disclaimer - All images Belong to there Rightfull Owners. ~ Copyright © 2010 Bedfordshire Anime

</div>

</div> </div>

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.