HMTL Validation

This is a discussion on "HMTL Validation" within the Starting Out section. This forum, and the thread "HMTL Validation are both part of the Design Your Website category.



 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Starting Out

Notices


Reply
 
LinkBack Thread Tools
  #1  
Old Jun 3rd, 2007, 14:34
Junior Member
Join Date: Apr 2006
Location: Devon England UK
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
HMTL Validation

Can anyone let me know what my problem is here please?

Error Line 8 column 24723: document type does not allow element "P" here; missing one of "APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag.
...ear:</strong> 2005</p><p align="left"><strong>Season:</strong> Spring</p><p a
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Jun 3rd, 2007, 16:31
Reputable Member
Join Date: Apr 2007
Location: Scotland
Age: 17
Posts: 233
Thanks: 0
Thanked 0 Times in 0 Posts
Re: HMTL Validation

Could you post a more complete bit of code? Or give us a link? That would help.


But to take a guess you might have missed out a closing tag somewhere?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Jun 3rd, 2007, 16:52
Elite Veteran
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: HMTL Validation

Yes ... the complete code or link would be best.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Jun 3rd, 2007, 19:34
Junior Member
Join Date: Apr 2006
Location: Devon England UK
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Re: HMTL Validation

Quote:
Could you post a more complete bit of code? Or give us a link? That would help.
You can view the errors here

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Jun 3rd, 2007, 20:19
Ryan Fait's Avatar
Elite Veteran
Join Date: May 2006
Location: Las Vegas
Posts: 3,787
Thanks: 0
Thanked 0 Times in 0 Posts
Re: HMTL Validation

I didn't really take a long look, but intead of the the ton of periods, how about this?

Code: Select all
<div class="divider"></div>

<style type="text/css">
  .divider {
    height: 1px;
    border-top: 1px dotted #000;
  }
</style>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Jun 3rd, 2007, 22:00
Reputable Member
Join Date: Apr 2007
Location: Scotland
Age: 17
Posts: 233
Thanks: 0
Thanked 0 Times in 0 Posts
Re: HMTL Validation

Well I couldn't say for sure. The code is such a mess, I can't really read it.

But it might have something to do with empty P tags "<p></p>"

Also you should do as Ryan said and make a class instead of having all those periods in the code.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Jun 12th, 2007, 00:46
Junior Member
Join Date: May 2007
Location: london
Age: 26
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Re: HMTL Validation

I have look at the code, and it is hell.

I dont like to put users down.

I dont understand way you have used <p><span>thext</span></p>

Also I found this in the code.

<body id="main_body"> I dont understand way you have use
the body sector with a id tag.

Also you have used way to many IDS, Try replacing the
ID with Class..

Also you have nested the head tag with the meta.

Please try some of what I have said, and can you let my know
your result.
<notagz1>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old Jun 12th, 2007, 11:10
Most Reputable Member
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: HMTL Validation

Start by running HTML Tidy on your code, to make it human-readable. Then we can talk

Oh, and ditch any empty paragraphs.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
hmtl validation

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with validation snappy Web Page Design 4 Mar 27th, 2008 18:33
help with validation glensimister JavaScript Forum 2 Jul 26th, 2007 22:58
w3c validation cocoonfx Web Page Design 8 Jul 21st, 2007 13:55
CSS validation VanessaJW Web Page Design 17 May 24th, 2007 19:59
CSE for validation nextgen Scripts and Online Services 3 Jan 30th, 2007 03:41


All times are GMT. The time now is 09:44.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42