Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 6th, 2006, 09:48 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 425
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Quote:
quote:Originally posted by crmpicco
I am looking to make the site W3 compliant with respect to XHMTL 1.1. Is that the code i require at the top of the pages???

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
No.
--
http://yupapa.com
 
Old July 12th, 2006, 02:22 PM
Friend of Wrox
 
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to crmpicco Send a message via AIM to crmpicco Send a message via MSN to crmpicco Send a message via Yahoo to crmpicco
Default

with respect to your first comment Richard,, saying not to go down the line of trying to be XHTML 1.1 compliant, what should i be validating? is it my basic HTML? and what does that come under in w3? i.e for logo purposes?

www.crmpicco.co.uk
www.ie7.com
 
Old July 12th, 2006, 02:29 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 425
Thanks: 0
Thanked 3 Times in 3 Posts
Default

It depends on what you write, obviously. Do you write XHTML or HTML? Strict or Transitional? The doctype isn't for getting a badge. It's supposed to tell what spec the document is following.

http://www.w3.org/QA/2002/04/valid-dtd-list.html
http://www.htmlhelp.com/tools/validator/doctype.html


--
http://yupapa.com
 
Old July 22nd, 2006, 09:02 AM
Friend of Wrox
 
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to crmpicco Send a message via AIM to crmpicco Send a message via MSN to crmpicco Send a message via Yahoo to crmpicco
Default

thanks meow, appreciated, i am writing strict HTML 4.01. so ZHTML ain't what I am after. cheers for that!!!

www.crmpicco.co.uk
www.ie7.com
 
Old July 22nd, 2006, 09:24 AM
Friend of Wrox
 
Join Date: Jan 2005
Posts: 1,525
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to crmpicco Send a message via AIM to crmpicco Send a message via MSN to crmpicco Send a message via Yahoo to crmpicco
Default

sorry, XHTML - thought i'd create a new standard for a mo there :-)

www.crmpicco.co.uk
www.ie7.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
Include DOCTYPE declaration Pankaj C XSLT 6 October 18th, 2007 08:46 AM
Copying DOCTYPE madanshah16 XSLT 1 August 18th, 2007 12:23 PM
XHTML with Doctype disables Drag and Drop bradrice BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 1 December 16th, 2006 08:55 AM
Why to use <!Doctype...? rupen HTML Code Clinic 2 October 25th, 2005 04:55 AM
doctype 4.01 anshul HTML Code Clinic 3 December 28th, 2004 06:24 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.