|
|
|||||||||
|
|||||||||
|
|||||||||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
XHTML 1.0 - do you use it?
I was wondering if any of you have actually transferred your HTML code to XHTML 1.0 or 1.1 strict or whatever. I haven't yet and I probsbly won't until it becomes obligatory because really no one cares about your code. they care about your page and XHTML doesn't make anything faster so it is completely unnecessary in my opinion.
|
|
#2
|
||||
|
||||
|
i try my best to comply all my code to XHTML... at least Transitional, but i'm trying my best to make it strict
|
|
#3
|
|||
|
|||
|
it is unnecessary at the moment in my opinion as HTML works just as fine.
__________________
You don't deserve to read my signature...yeah! That's it, keep walking...yeah walk away from me! That's it! Get out of my pub, you're barred! |
|
#4
|
|||
|
|||
|
i use the xhtml standards for my site. might as well start using it now, because it will become an html standard.
__________________
Apache Expert |
|
#5
|
|||
|
|||
|
nah, it wont for a few years yet...hardly anyone uses XHTML and has 100% validated code...
|
|
#6
|
||||
|
||||
|
|
|
#7
|
|||
|
|||
|
I try to use XHTML strict on all my pages after I was introduced to it.
Although not strictly required(pun intended) it will be and then you better know what you're doing So start practicing! |
|
#8
|
|||
|
|||
|
I can't believe people don't wish to use it. The point is that it forces you to write properly written code. No more missing the end tags off paragraphs, etc.
Secondly, it's actually valid XML. So by using it you're learning about that too. It also works better. IE6 has two modes - one called Quirks Mode, for old HTML pages, where anything goes, and Strict Mode for XHTML. You switch between them using the Doctype on the first line of your file. I found that in Quirks Mode, I couldn't get layouts to act precise, whereas Strict mode worked perfectly. That might be due to the 'box model' bug in older versions of IE. So I say get learning XHTML today. The XHTML 2 draft has already been published and updated, so you need to be ready for that too when it comes along. |
|
#9
|
|||
|
|||
|
Do you have to be using the XHTML Strict DTD to get IE to use it's strict mode or will it work with the Transitional DTD?
|
|
#10
|
|||
|
|||
|
Transitional will work. Be careful to make sure the Doctype is physically on the first line of your code though. If you move it down a line, there's a bug in IE. It fails to recognise it and puts you into Quirks Mode!
This happened to me one day and I couldn't work out why a finely-tuned layout was suddenly broken. |
![]() |
| Viewing: Dev Articles Community Forums > Web Design > Web Development > XHTML 1.0 - do you use it? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|