On Tuesday 12 June 2007 01:06pm, Wade Preston Shearer wrote: > > Does xhtml recognize php? > > XHTML doesn't recognize anything, it is just code.
You are right, XHTML doesn't "recognize" anything. XHTML is not code, it's markup. I have been doing strict XHTML with PHP for years (boy, it's nice that way, far less crap to deal with). My PHP generates or combines snipets of XHTML to produce a complete page. > > Is xhtml the best to use currently? Generally, IMNSHO, yes. Stick with the strict standards, too. > That depends on who your audience is and what you are building. Right. > I do most things in XHTML strict. Everything else I do in XHTML > transitional. Big websites and/or applications that are concerned > about extensive compatibility still use HTML 4. I don't have any desire to maintain Netscape 4.x compatibility, myself :) . I haven't done any HTML 4 in I don't know how many years. > There really isn't much of a reason to use XHTML at the current time > however. I disagree. Mainly due to my experiences with it, I've found that XHTML strict ends up producing fewer compatibility issues and workarounds to have to deal with. > > this code prints everything after my greater than sign. > > The XHTML loads just fine for me. I didn't try it, but where's your opening <?xml ?> tag? -- Lamont Peterson <[EMAIL PROTECTED]> Founder [ http://blog.OpenBrainstem.net/peregrine/ ] GPG Key fingerprint: 0E35 93C5 4249 49F0 EC7B 4DDD BE46 4732 6460 CCB5 ___ ____ _ _ / _ \ _ __ ___ _ __ | __ ) _ __ __ _(_)_ __ ___| |_ ___ _ __ ___ | | | | '_ \ / _ \ '_ \| _ \| '__/ _` | | '_ \/ __| __/ _ \ '_ ` _ \ | |_| | |_) | __/ | | | |_) | | | (_| | | | | \__ \ || __/ | | | | | \___/| .__/ \___|_| |_|____/|_| \__,_|_|_| |_|___/\__\___|_| |_| |_| |_| Intelligent Open Source Software Engineering [ http://www.OpenBrainstem.net/ ]
_______________________________________________ UPHPU mailing list [email protected] http://uphpu.org/mailman/listinfo/uphpu IRC: #uphpu on irc.freenode.net
