The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> doctype
minidiapolis
post 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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post 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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
minidiapolis
post 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>
^
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post 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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post 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>
to
CODE
</style>
and more than one error will go away.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Feb 7 2008, 11:54 PM
Post #6


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
Joined: 9-August 06
Member No.: 6



biggrin.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 29th March 2024 - 07:11 AM