출처 : 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 남발은 싫은데.
form 에서는 fieldset을 쓰는 등
최대한 의미있게 짜봅시다!
Posted by mkyoon
