This is a discussion on "1 xhtml error" within the Web Page Design section. This forum, and the thread "1 xhtml error are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
1 xhtml error
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
1 xhtml error
please see link: http://validator.w3.org/check?uri=ht...doctype=Inline
..... how do i fix the problem? thanks in advance, chris |
|
|
|
#2
|
|||
|
|||
|
Re: 1 xhtml error
As you're doing XHTML 1.0 trans, you need to close the tags with a slash:
Quote:
You also may want to think about dumping transitional and going for a Strict Doctype: it'll help tighten up your coding. Hope that helps. |
|
#3
|
|||
|
|||
|
Re: 1 xhtml error
Hi matelot
I’m totally new to web design/coding. I never did any of the script. My co admin did. I'm just trying to make the homepage and forums validate as valid xhtml. With help from vbulletin and vbseo i managed to come from 37 errors to just 7 of which the 7 my co admin will have to do because it’s messing about with classes/ids etc. I'm not brave enough to mess with them just yet. The homepage wasn't passing on about 15 errors though and I’ve managed to bring them down to just 1. This one i couldn't figure out As for switching from transitional to Strict Doctype I haven't the foggiest what you mean by that... I added that slash though but the error is still there, as well as 2nd error now... Thanks for your help matelot! |
|
#4
|
|||
|
|||
|
Re: 1 xhtml error
Quote:
Quote:
As for the first error, it is caused by the <form> ... </form> being enclosed by a <p> ... </p>. It has to be the other way around. Change your code to
Last edited by hschmitz; Jul 15th, 2007 at 21:41. |
|
#5
|
|||
|
|||
|
Replacing that code and removing the slash didn't work, but after chaning code in a few of the other lines it validated.
Quote:
cheers guys |
|
#6
|
|||
|
|||
|
Re: 1 xhtml error
Quote:
Glad CP got it sorted. |
![]() |
| Tags |
| xhtml |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Strict XHTML validation error : "tabindex" | newoptical | Web Page Design | 1 | Aug 24th, 2007 16:21 |
| Keep getting error message Microsoft VBScript runtime error '800a01a8' | cpando1974 | Classic ASP | 2 | Aug 7th, 2007 12:00 |
| Error 500 - Internal server error | JasonStanley | PHP Forum | 3 | Apr 23rd, 2007 17:56 |
| xhtml W3C error | bean_2k1 | Web Page Design | 2 | Oct 12th, 2005 20:55 |