Wrox Programmer Forums
|
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 August 7th, 2007, 01:21 PM
Registered User
 
Join Date: Aug 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to nairaby
Default XHTML Validation

hi guys!!
i am a newbee in html.
can u guys pls tell me what are the point to be remembered while creating valid xhtml page?

C@B@Ge G@R|)EN
 
Old August 8th, 2007, 02:09 PM
Friend of Wrox
 
Join Date: Jun 2007
Posts: 477
Thanks: 10
Thanked 19 Times in 18 Posts
Default

Hi nairaby!

Ok, there not incredibly in depth and don't give you all the nit picky details, but especially when you're starting out, I find that's a good thing. W3 Schools is fabulous at giving you a good introduction, and more importantly, I've never found anything actually incorrect, so it's well edited. That's usually the first place I go for tutorials on a new subject and you can start googling from there. Their tutorials on XHTML are at...

http://www.w3schools.com/xhtml/

My other recommendation is to validate your webpages. A lot of people tell you to do this just because "it's what you do". It's actually really valuable. I had a webpage where I'd nested two tags that can't go together, specifically like this.

Code:
<p>This is my paragraph. <div> and this is my little div inside it</div></p>
The validator caught it and I was able to make that correction, so it's a good debugging tool. Valid code means that you'll have better browser compatibility, though I always check it in browsers too, since no browser handles even valid code in exactly the same way. The "real" XHTML validator is at...

http://validator.w3.org/

-------------------------

Whatever you can do or dream you can, begin it. Boldness has genius, power and magic in it. Begin it now.
-Johann von Goethe

When Two Hearts Race... Both Win.
-Dove Chocolate Wrapper

Chroniclemaster1, Founder of www.EarthChronicle.com
A Growing History of our Planet, by our Planet, for our Planet.
 
Old August 11th, 2007, 02:45 AM
Registered User
 
Join Date: Aug 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to nairaby
Default

thanx chroniclemaster.
ur reply was a gr8 help for me.
i too happened to get a link from adobe.
http://www.adobe.com/devnet/dreamwea...standards.html

:)

C@B@Ge G@R|)EN





Similar Threads
Thread Thread Starter Forum Replies Last Post
Standalone validation + web form validation morbo Struts 0 August 19th, 2008 04:02 AM
xslt -> xhtml validation rahulsk1947 XSLT 3 May 17th, 2007 02:54 AM
W3C XHTML Validation on ASP:Label control rit01 ASP.NET 2.0 Basics 6 June 26th, 2006 12:30 PM
w3 HTML (XHTML) validation crmpicco HTML Code Clinic 6 June 7th, 2006 07:33 AM
XHTML validation - passing parameter mattastic HTML Code Clinic 1 December 9th, 2004 10:18 AM





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