Doctype

1,305 views

Published on

Published in: Technology, News & Politics
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,305
On SlideShare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
15
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Doctype

    1. 1. <!doctype> @EBvi
    2. 2. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    3. 3. DOCTYPE ?
    4. 4. • Document Type Definition•• DTD
    5. 5. DOCTYPE ?• .• Quirks mode( ) .
    6. 6. • Quirks mode Cross Browsing .• Cross Browsing DTD .
    7. 7. ?• width, padding, border• margin:0 auto• block-label• (:hover)•
    8. 8. Quirks mode• DOCTYPE Quirks•
    9. 9. Quirks mode• (X)• javascript engine (X)
    10. 10. Quirks modeDOM
    11. 11. DTD
    12. 12. DTD
    13. 13. DTD• 4• HTML 4.01 Strict mode• HTML 4.01 Transitional mode• XHTML 1.0 Strict mode• XHTML 1.0 Transitional mode
    14. 14. HTML4.01 Transitional• element• position, display• scrolling layer• frame•
    15. 15. HTML4.01 Strict• element, attribute, frame• element•
    16. 16. XHTML 1.0 Transitional• HTML4-transitional• frameset FF
    17. 17. XHTML 1.0 Strict• HTML4-Strict
    18. 18. DTD IE FF OPnone DTD Q Q Q <!doctype transitional A A AHTML <!doctype transitional loose A S S 4.01 <!doctype html4.01 A S S <!doctype strict A S SXHTML <!doctype transitional A A A 1.0 <!doctype strict A S S
    19. 19. html5 doctype• <!doctype html>• HTML5 HTML4 XHTML1 .• transitional mode .• IE8
    20. 20. anymore thing?
    21. 21. HTML4 vs XHTML1.0
    22. 22. • well-formed• element, attribute , ,• ... http://www.w3.org/TR/xhtml1/ diffs.html
    23. 23. • DTD• Quirks mode• HTML4 Transitional mode

    ×