This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes What does strict mean? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "What does strict mean?" Watch "What does strict mean?" New topic

What does strict mean?

Jamin Williams
Ranch Hand

Joined: Dec 16, 2003
Posts: 44
What exactly are strict HTML elements? I am not sure of the meaning behind the word 'strict'.
I googled around a bit but I can't find anything that explains it.

Jamin Williams<br />SCJP, SCWCD
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
When you use the word strict with HTML that means to me XHTML standards.
It is the strict way to code a page and all of the standards have to be followed to pass the validator.
Hope that guides you a bit.
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32330

I agree with Eric's definition of "strict." There is also a strict version of HTML 4.01.
There are two other types of HTML/XHTML: frameset and transitional. Frameset if for when the page uses frames. Transitional is less "strict" than strict. All of the rules are not enforced.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: What does strict mean?
It's not a secret anymore!