Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
W3C Validated HTML question
We are going to be using TextPattern on our new site, however, I’m very particular about using W3C Validated HTML or XHTML, I currently ensure that the sites that I manage either comply to HTML 4.01 Transitional or XHTML 1.0 Transitional.
Is there a way that you can edit or tweak the HTML code in TP? Because I have seen that it generates good overall code when compared to the good old days of ‘FrontPage’, but the sites that I know that have been developed using TP could do with some tweaks as to the W3C Standards.
A response to my question would be great, it could be that the code is completely accessible and that I’m worrying about nothing, again.
Thanks
Batch108
Offline
Re: W3C Validated HTML question
The code is indeed completely accessible; furthermore you will find that Txp validates out of the box.
Code is topiary
Offline
Re: W3C Validated HTML question
as far as i’ve seen, generated code from txp has always validated for me. and not to open up a can of worms but you should really be using strict instead of transitional by now :)
looks like xhtml is being phased out completely though to make way for html 5.
Last edited by iblastoff (2009-07-15 15:25:27)
Offline
Re: W3C Validated HTML question
jsoo wrote:
The code is indeed completely accessible; furthermore you will find that Txp validates out of the box.
Thanks jsoo, I look forward to getting started.
Batch108
Offline
Re: W3C Validated HTML question
iblastoff wrote:
as far as i’ve seen, generated code from txp has always validated for me. and not to open up a can of worms but you should really be using strict instead of transitional by now :)
looks like xhtml is being phased out completely though to make way for html 5.
Thanks Steve, that’s the next stage of site implementation.
Batch108
Offline
Re: W3C Validated HTML question
iblastoff wrote:
not to open up a can of worms but you should really be using strict instead of transitional by now :)
Perhaps so, but in that light it’s odd to note that the default Txp page uses Transitional :)
looks like xhtml is being phased out completely though to make way for html 5.
Such phasing might take a little while.
Code is topiary
Offline
Re: W3C Validated HTML question
I use XHTML 1.0 Strict, and Textpattern-generated code has always validated for me. Well-formed XHTML 1.0 Strict also validates as HTML5, and I have verified that my TXP sites validate as HTML5 also (by using the simple HTML5 doctype).
<!DOCTYPE html>
Last edited by johnstephens (2009-07-16 02:21:13)
Offline
Re: W3C Validated HTML question
looks like xhtml is being phased out completely though to make way for html 5.
As far as I understand it, this is a misconception. XHTML2 is being phased out but that is a different thing to XHTML. XHTML as we know it is compatible with HTML5. HTML5 is just less prescriptive about how you choose to do your syntax. You can carry on using XHTML notation as you wish. A change of doctype is all that it entails, and you can still serve it as xhtml+xml if you want to.
See this response to the many misconceptions following zeldman’s article and the easier-to-read article by jeremy keith that clears things up more succintly.
TXP Builders – finely-crafted code, design and txp
Offline
Re: W3C Validated HTML question
TXPDream – A Textpattern Tag Library for Adobe Dreamweaver. (updated for 4.2.0) | jdw_if_ajax – Only serve certain parts of a page when requested with AJAX
Offline
Pages: 1