This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell 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


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "What does strict mean?" Watch "What does strict mean?" New topic
Author

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.
Thanks!
Jamin


Jamin Williams<br />SCJP, SCWCD
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
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.
http://www.w3.org/QA/2002/04/valid-dtd-list.html
http://www.alistapart.com/articles/doctype/
Hope that guides you a bit.
Eric
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30595
    
154

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.


[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
 
GeeCON Prague 2014
 
subject: What does strict mean?