Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,153,507 members, 7,819,838 topics. Date: Tuesday, 07 May 2024 at 02:13 AM

Next Php Quiz: How Did I Beat W3c? By Making Html Validate As Xhtml - Webmasters - Nairaland

Nairaland Forum / Science/Technology / Webmasters / Next Php Quiz: How Did I Beat W3c? By Making Html Validate As Xhtml (1204 Views)

Wapmasters Learn How To Create A Php Site Through Xhtml / Dhtml Quiz: How Will You Detect If A Browser Support Javascript From Php Code? / Next Quiz: How Do You Detect With Php If Javascript Has Been Turned Off? (2) (3) (4)

(1) (Reply) (Go Down)

Next Php Quiz: How Did I Beat W3c? By Making Html Validate As Xhtml by Nobody: 5:10pm On Feb 26, 2010
Just to spice things up a bit. Now check this url - http://mwebng.net/bad.php
View the source code in the browser (it should validate as incomplete html), and click on the validation.
This shows that w3c validation can be beaten, but how did i do it? or what
are the possible ways?
Expert developers are banned from replying this, it is targetted at newbies seriously
Re: Next Php Quiz: How Did I Beat W3c? By Making Html Validate As Xhtml by Nobody: 2:48pm On Feb 27, 2010
dual core oya come and answer this quiz jor!
Re: Next Php Quiz: How Did I Beat W3c? By Making Html Validate As Xhtml by DualCore1: 3:01pm On Feb 27, 2010
Ok o my oga!

This is just what I think.
You used the $_SERVER['HTTP_USER_AGENT'] variable to specify the right DOCTYPE that you want the validator to see.
You put this right at the top of the page. The validator will use the first user agent that was already checked. tongue
Re: Next Php Quiz: How Did I Beat W3c? By Making Html Validate As Xhtml by Nobody: 3:12pm On Feb 27, 2010
can u give us a full example code? i think you have missed out something.
Re: Next Php Quiz: How Did I Beat W3c? By Making Html Validate As Xhtml by DualCore1: 3:47pm On Feb 27, 2010
hmmm, after my garri and epa.

(1) (Reply)

Need Help To Modify A Fiverr Clone Script / Please Review Www.enairablog.com /

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 6
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.