|
||||||
| HTML Programming Forum discussion covering HTML, XHTML, DHTML and all flavors of HTML. Hypertext Markup Language is used to create websites. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
| Sponsored Links |
|
|
|
|||||
|
Strict is more strict than transitional, when it comes to different tags, etc. Transitional supports some of the old stuff from HTML 3.2 - 4.1, while they're removed when using strict.
In generally, you can say that everything which works in strict will work in transitional, but everything which works in transitional will not work in strict. An example could be the U-tag. It's not supported in strict, but supported in transitional. Code:
<!-- This work with a transitional doctype, --> <!-- but not with a strict doctype. --> <u>Hello, World!</u>
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum C/C++ resources - C/C++ frequently asked questions Python resources - Python frequently asked questions |
|
|||||
|
I think of it more as a way to ease oldtimers with HTML into XHTML. W3schools has a list of tags and that shows which tags are deprecated and not.
[url]http://www.w3schools.com/tags/default.asp[url] To the right in the list there is a row called "DTD" this shows which Doctype Definition the tag works in: S - Strict T - Transitional F - Frameset As you might notice those that only work in "T" and "F" are "Deprecated", these are to be avoided, since they will be removed totally in the future. Most of the deprecated ones are tags that are used to format text or similar things that should be done with CSS. Also, this is a nobrainer really, but did you declare the correct Doctype Definition?
__________________
Spräng kommer! ETTtusen, TVÅtusen, TREtusen! Last edited by Fjeddy; 01-21-2008 at 11:16 AM. |
| Sponsored Links |
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Xhtml strict 1.0 vs xhtml 1.1 | Jaser | HTML Programming | 3 | 11-08-2007 12:34 PM |
| Is a Mix of XHTML Strict and Transitional Pages OK? | Carrym | HTML Programming | 4 | 04-10-2007 09:49 AM |
| What is HTML, DHTML and XHTML? | Lop | HTML Programming | 5 | 08-09-2006 11:00 AM |
| The ultimate xHTML / DHTML / HTML 301 redirection thread! | Dan | HTML Programming | 5 | 07-04-2006 05:57 PM |
| John | ........ | 223.00000 |
| dargueta | ........ | 168.00000 |
| Xav | ........ | 164.00000 |
| gaylo565 | ........ | 18.00000 |
| WingedPanther | ........ | 15.00000 |
| |pH| | ........ | 15.00000 |
| Johnnyboy | ........ | 3.00000 |
| navghost | ........ | 1.00000 |
Goal: 100,000 Posts
Complete: 65%