doctype |
doctype |
minidiapolis |
Feb 7 2008, 10:57 PM
Post
#1
|
Serious Coder Group: Members Posts: 437 Joined: 3-September 06 Member No.: 57 |
what's wrong with the doctype on www.fountainchurch.org
|
pandy |
Feb 7 2008, 11:26 PM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,716 Joined: 9-August 06 Member No.: 6 |
Nothing.
|
minidiapolis |
Feb 7 2008, 11:41 PM
Post
#3
|
Serious Coder Group: Members Posts: 437 Joined: 3-September 06 Member No.: 57 |
but. its still giving me errors like
</head> ^ |
pandy |
Feb 7 2008, 11:50 PM
Post
#4
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,716 Joined: 9-August 06 Member No.: 6 |
Yeah, you have other errors. That doesn't mean the doctype is wrong.
The validator says what's wrong with </head> http://www.htmlhelp.com/cgi-bin/validate.c...s&input=yes CODE Line 16, character 9: </head> ^Error: end tag for STYLE omitted; possible causes include a missing end tag, improper nesting of elements, or use of an element where it is not allowed In other words, you don't have closing tag for STYLE, so you can't have the closing tag for HEAD there because it would be inside STYLE. That's also what makes the page invisible. The lack of closing STYLE tag makes the whole page be part of the STYLE element because it never ends. |
Darin McGrew |
Feb 7 2008, 11:52 PM
Post
#5
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
That isn't because your DOCTYPE declaration is wrong.
That's because your markup is wrong. Change CODE <//style> toCODE </style> and more than one error will go away. |
pandy |
Feb 7 2008, 11:54 PM
Post
#6
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,716 Joined: 9-August 06 Member No.: 6 |
|
Lo-Fi Version | Time is now: 29th March 2024 - 07:11 AM |