Register and join over 40,000 other developers!
Recent Topics
-
The Game You Are Waiting For?
WendellHarper - Dec 06 2020 01:21 PM
-
Quora and Reddit Backlinks
WendellHarper - Dec 06 2020 01:14 PM
-
Delete account
pindo - Jul 23 2020 01:33 AM
-
Print specific values from dictionary with a specific key name
Siten0308 - Jun 20 2019 01:43 PM
-
Learn algorithms and programming concepts
johnnylo - Apr 23 2019 07:49 AM
Recent Blog Entries
Recent Status Updates
Popular Tags
- networking
- Managed C++
- stream
- console
- database
- authentication
- Visual Basic 4 / 5 / 6
- session
- Connection
- asp.net
- import
- syntax
- hardware
- html5
- array
- mysql
- java
- php
- c++
- string
- C#
- html
- loop
- timer
- jquery
- ajax
- javascript
- programming
- android
- css
- assembly
- c
- form
- vb.net
- xml
- linked list
- login
- encryption
- pseudocode
- calculator
- sql
- python
- setup
- help
- game
- combobox
- binary
- hello world
- grid
- innerHTML

5 replies to this topic
#1
Posted 28 November 2007 - 08:11 AM
Ok I have an assigment, and I'm making it XHTML Strict 1.0, but the validator validates it as even transitional valid. So I say.. what is the actual difference between the two?
#2
Posted 28 November 2007 - 09:11 AM
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.
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.
<!-- This work with a transitional doctype, --> <!-- but not with a strict doctype. --> <u>Hello, World!</u>
If you enjoy reading this discussion and are thinking about commenting, why not click here to register and start participating in under a minute?
#3
Posted 28 November 2007 - 02:27 PM
#4
Posted 28 November 2007 - 02:51 PM
Yeah, I used that to validate my project.
Thanks for the validation, so transitional is more 'tolerant'
Thanks for the validation, so transitional is more 'tolerant'
#5
Posted 20 January 2008 - 10:16 AM
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?
[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?
#6
Posted 21 January 2008 - 08:48 AM
Yeah of course I did declare it as strict, but when I changed the doctype from Strict 1.0 to Transitional 1.0 it still showed no errors.
Also tagged with one or more of these keywords: XHTML, HTML, xhtml
Language Forums →
HTML, CSS and Javascript →
Jquery .hasClass not returning true for a classnameStarted by Wackostylee, 13 Oct 2018 ![]() |
|
![]() |
||
General Forums →
General Programming →
JSON Array not displaying correct content on link clickStarted by Darian, 21 Feb 2017 ![]() |
|
![]() |
||
Language Forums →
Other Languages →
ASP, ASP.NET and Coldfusion →
ASP.NET Popup ControlStarted by dasswadesh, 18 Feb 2017 ![]() |
|
![]() |
||
Language Forums →
HTML, CSS and Javascript →
Which oftware to edit html,css best?Started by placestovisit, 13 Dec 2016 ![]() |
|
![]() |
||
Language Forums →
HTML, CSS and Javascript →
Best HTML EditorStarted by damosull, 11 Sep 2016 ![]() |
|
![]() |
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download