Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

S=Strict, T=Transitional, and F=Frameset

Featured Replies

Hello again :)

 

I've been looking all over for explanation of these terms. w3schools doesn't have any e-mail adress where you could reach them as far as i can see and there are no good information about that on the web. Can you please tell me what do those 3 stand for?

I'm just learning code and i see that at every tag you have a specificaion as STF , TF , F ... but it doesn't mean anything to me.. please help!

 

Thank you in advance!

Aleks

 

♥ & ☮ 4 u & me 2 b ☺

I wouldn't get in too deep thinking about these as HTML5 has only the one doctype.

 

 

A bit more for you:

 

I’d suggest using Transitional, especially with you learning. This was meant for websites being changed from older versions of html. It gives them a bit more leeway when validating.

Most people still use this.

 

Strict requires every aspect of the code to be correct.

 

Frameset is for when frames are being used, which should be never.

WBC "I’d suggest using Transitional, especially with you learning. This was meant for websites being changed from older versions of html. It gives them a bit more leeway when validating.

Most people still use this." do they? i would have thought by now most people would be using a strict dtd (except possibly for those pages that have scripting or a 'feature' that doesn't validate.

 

i would learn to validate to a strict doc-type otherwise you're only learning how to code to an old standard. why bother?

i would have thought by now most people would be using a strict dtd

 

Well you'd be shocked then. A lot of professional sites use no Doctype and still use tables for positioning.

 

Learning comes from books and research. If you follow a standards’ based approach to coding then a transitional or strict doctype isn’t going to change that.

  • Author

I have to tell you that I've studied about 1000 pages of books and web pages in this last month and i didn't really learn a lot. then from time to time i find a video that's 30min long and I learn everything i read about in books before.. :S

that's really horrible :S

 

what do you all think of learning from youtube videos?

I was always told there are three was of learning. Reading/listening, watching and doing.

 

As long as the videos are good, seeing the process in action is more beneficial then reading alone. Depending on the vids you might miss important facts so i’d never replace e one with the other.

 

Doing is the most important; you cannot pass a driving test without driving a car. Get stuck in and don’t be afraid to make mistakes.

Well you'd be shocked then. A lot of professional sites use no Doctype and still use tables for positioning.

well i look at a lot of sites on forums and a lot of them use strict doctypes - would be interested to see some of your professional sites with no doctype and tables for layout.

 

even if this was true (which i find hard to believe) it would be an even greater incentive to aim for a strict doctype and valid coding methods as an ideal. just because some 'professionals' are sloppy doesn't mean we should be :)

 

RE: youtube videos - as with anything on the internet are varaible in quality and may contain more harmful info than good so beware.

just because some 'professionals' are sloppy doesn't mean we should be

 

A doctype doesn't make you a better web designer. It helps the browser render your code.

Right now stick with Transitional as it allows a certain amount of flexibility in your coding/design.

With strict you HAVE to remove all references to style/presentation (which shouldn't be a big deal).

 

Although i'd advise sticking with a Transitional DOCTYPE for now i do advocate that eventually everyone should move over to Strict eventually.

  • Author

others that have looked at w3school's training.. do you also think that they are intentionally misleding a user at some things ?

 

http://www.w3schools.com/css/tryit.asp?filename=trycss_image_transparency <- that's an example

 

I removed more then half of the code changed it to

 

 

<style type="text/css">

img

{

opacity:0.4;

}

</style>

</head>

<body>

 

<h1>Image Transparency</h1>

<img src="klematis.jpg" width="150" height="113" alt="klematis"

onmouseover="this.style.opacity=1"

onmouseout="this.style.opacity=0.4" />

 

and everything works THE SAME!!! is that just exeptionaly or are they trying to make things look harder as they are?

I also noticed that at some other stuff.. it's like they're putting more code then is needed into their examples :SS

 

 

I think I figured it out.. is it possible that the way I did works in my browser but the way they did is good for all the different browsers? or was I still right the first time I wrote that post? <- I reedited it now..

Right now stick with Transitional as it allows a certain amount of flexibility in your coding/design.

With strict you HAVE to remove all references to style/presentation (which shouldn't be a big deal).

 

Although i'd advise sticking with a Transitional DOCTYPE for now i do advocate that eventually everyone should move over to Strict eventually.

i disagree: if you're learning to code then you might as well learn the proper way - if it doesn't validate then it doesn't actually matter if you're still working on it with an aim to fix it. better than learning the old, deprecated way of doing things, then having to relearn the proper way to do it - that's just a waste of time.

 

re: wBC "A doctype doesn't make you a better web designer. It helps the browser render your code." er, i didn't say it did, i also said this "and valid coding methods as an ideal". i.e. not to be sloppy with code.

i'm not at all convinced that using a loose doctype and deprecated elements is in any way a better way to learn to code. how is it easier? there might be a short-term gain (although all you're really doing is learning one way rather than the other) but in the long term you're just investing time and wasting effort in out-dated techniques.

 

are you also going to advocate using tables for layout? or frames? or font tags because it's 'easier' for a beginner?! and then they can unlearn all those bad practices later and then do it all over again, but this time properly.

i disagree: if you're learning to code then you might as well learn the proper way - if it doesn't validate then it doesn't actually matter if you're still working on it with an aim to fix it. better than learning the old, deprecated way of doing things, then having to relearn the proper way to do it - that's just a waste of time.

 

re: wBC "A doctype doesn't make you a better web designer. It helps the browser render your code." er, i didn't say it did, i also said this "and valid coding methods as an ideal". i.e. not to be sloppy with code.

i'm not at all convinced that using a loose doctype and deprecated elements is in any way a better way to learn to code. how is it easier? there might be a short-term gain (although all you're really doing is learning one way rather than the other) but in the long term you're just investing time and wasting effort in out-dated techniques.

 

are you also going to advocate using tables for layout? or frames? or font tags because it's 'easier' for a beginner?! and then they can unlearn all those bad practices later and then do it all over again, but this time properly.

 

I think you could be possibly misunderstanding me.

In order to get everything to function in every browsing environment i'd use a transitional... it is exactly what it says on the box 'Transitional' until the day all techniques can be achieved using strict then as a beginner i'd advocate the use of transitional.

I think you could be possibly misunderstanding me.

In order to get everything to function in every browsing environment i'd use a transitional... it is exactly what it says on the box 'Transitional' until the day all techniques can be achieved using strict then as a beginner i'd advocate the use of transitional.

i think you misunderstand the meaning of transitional then ;) strict will work in all browsers with some care - even as far back as ie6.

As well as learning the right way of doing things it’s also very important to understand what people do wrong. I don’t know of a learning institute that doesn’t do this.

 

I think all that is important to take away from this form the point of view for the OP is that as long as you code to standards it really doesn’t matter as both doctypes will produce the same content. Hence one html5 doctype.

I’d suggest using middle, especially with you learning. This was destined for websites being distorted from older versions of html. It gives them a bit more leeway when validating.

i'm too tired of this **** to argue anymore.

no-one can give a valid reason for not using strict over loose

 

if you want to learn to code properly code to strict.

if you want to learn first one way and then again then use loose.

 

make your own mind up

Sorry Dap but this isn't an argument and i'm sorry you feel this way. This is a discussion forum and the OP asked for users own views on this which is what they have given as have you.

Just because not everyone one has the same opinion and agrees with you doesn't mean it is an argument.

  • Author

I agree with Mike.. you were all helpful, but no need to argue... if everyone had the same opinion i'd need just one answer to all of my questions there wouldn't be need for more of them.

 

 

anyway thank you all :)

ok. :)

 

i was using argue in the proper sense of the word - or maybe i mean the original sense - of

"a reason given in proof or rebuttal

b : discourse intended to persuade" (from Webster's dictionary)

 

well glad we were of some help ;)(including me, i hope :) )

  • Author

yes including you.. actually I'm gonna try to do it the strict way as you said.. you had some good arguments about it :) like why would I learn transitional if it will be deprecated soon and I'll have to learn some things all over from the start :)

 

 

anyway tnx too all of you :)

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.