Transitional VS Strict
- Posted at 2007/10/30 00:38
- Filed under 어리버리/이건뭐야?
출처 : http://24ways.org/2005/transitional-vs-strict-markup
여기서 주목해야 할 부분.
Content model differences
An element type’s content model describes what may be contained by an instance of the element type. The most important difference in content models between Transitional and Strict is that
blockquote, body, and form elements may only contain block level elements. A few examples:- text and images are not allowed immediately inside the body element, and need to be contained in a block level element like
pordiv inputelements must not be direct descendants of aformelement- text in
blockquoteelements must be wrapped in a block level element likepordiv
그래서 이클립스가 툭하면 노란줄을 뱉어냈구만. - Invalid location of tag.
췟-_- div, p 남발은 싫은데.
머리좀 써야지. div, p 를 써도 최대한 의미있게 짜보자고!
Posted by mkyoon
- Tag
- content model, dtd, strict, transitional
- Response
- No Trackback , No Comment