HTML 수업

웹의 신체

HTML 수업 웹의 신체

DTD(Doctype)

요약

Document Type Definition. 문서의 형식을 지정한다.

문법

HTML 3.2

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

HTML 4.01

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

HTML 4.01 Transitional

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"    "http://www.w3.org/TR/html4/loose.dtd">

HTML 4.01 Frameset

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"    "http://www.w3.org/TR/html4/frameset.dtd">

HTML 1.0 Strict

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

XHTML 1.0 Transitional

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

XHTML 1.0 Frameset

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">

XHTML 1.1

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

XHTML Basic 1.0

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN"  "http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd">

XHTML Basic 1.1

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN">

HTML5

<!DOCTYPE html>

설명

웹 기술의 진보에 따라 HTML도 변화 되는데, 변화에 따라 브라우져가 HTML을 해석하는 방식도 변화가 생겼다.
이를 극복하기 위해서 브라우져에게 해당 HTML이 어떤 표준에 따른 것인지를 알려주는 것을 DTD(Document Type Definition)이라고 한다.
DTD는 문서의 제일 위에 위치한다. 

example1. HTML5의 doctype를 적용한 웹페이지. (github)

<!DOCTYPE html>
<html>
    <head>
        <title>DTD</title>
    </head>
    <body>
        Hello, HTML5! 
    </body>
</html> 

참고

댓글

댓글 본문
작성자
비밀번호
  1. jangkrikrenang
    Agen MenangCeme adalah situs judi online yang menggunakan server IDN, dengan di lengkapi bermacam macam permainan yang sangat menarik, cukup daftarkan 1 akun saja Anda sudah dapat bermain 7 Permainan
    http://216.194.162.182
    http://216.194.162.182/register.php
    http://216.194.162.182/jackpot.php
    http://216.194.162.182/referral.php
    http://216.194.162.182/contact.php
  2. linkbandarceme
    Bandar Ceme Pulsa merupakan agen yang paling populer dan mudah melakukan transaksi via pulsa tanpa harus melalui rekening.
    http://216.194.162.181
  3. lylyanve
  4. hamidahdi
  5. brigatacmprsr03
    Your trusted and proven poker agent is now back! Don't miss out on interesting promos for you! Join now only at http://199.192.31.174 !
  6. brigatacmprsr02
    Play online gambling your pleasure only on the site http://199.192.31.174 ! Many interesting promos await you!
  7. melisa
  8. brigatacmprsr01
    Sebuah situs permainan kartu poker online terbaik se-Asia yang akan memberikan pelayanan terbaik bagi para bettor yang ada! Daftar sekarang juga hanya di http://199.192.30.191 !
  9. Jyoti Nayak
    Thank's for sharing, Keep it up! Kindly visit https://uniquejobalert.com/

    https://uniquejobalert.com......ns/
  10. lylyanve
  11. farnamjam
    http://123project.ir......82/
    http://123project.ir......b1/
    http://123project.ir......a9/
    http://123project.ir......86/
    http://123project.ir......a7/
    http://123project.ir......8c/
    http://123project.ir......8c/
    http://123project.ir......b9/
    http://123project.ir......aa/
    http://123project.ir......8c/
    http://123project.ir......8c/
    http://123project.ir......af/
    http://123project.ir......8c/
    http://123project.ir......a8/
    http://123project.ir......8c/
    http://123project.ir......8c/
    http://123project.ir......8c/%d8%aa%d8%b1%d8%ac%d9%85%d9%87-%d8%aa%d8%ae%d8%b5%d8%b5%db%8c-%d8%a8%d8%b1%d9%82/
    http://123project.ir......8c/%d8%aa%d8%b1%d8%ac%d9%85%d9%87-%d8%aa%d8%ae%d8%b5%d8%b5%db%8c-%d9%85%da%a9%d8%a7%d9%86%db%8c%da%a9/
    http://123project.ir......8c/%d8%aa%d8%b1%d8%ac%d9%85%d9%87-%d8%aa%d8%ae%d8%b5%d8%b5%db%8c-%d8%b9%d9%85%d8%b1%d8%a7%d9%86/
    http://123project.ir......8c/%d8%aa%d8%b1%d8%ac%d9%85%d9%87-%d8%aa%d8%ae%d8%b5%d8%b5%db%8c-%d8%b4%db%8c%d9%85%db%8c/
    http://123project.ir......8c/%d8%aa%d8%b1%d8%ac%d9%85%d9%87-%d8%aa%d8%ae%d8%b5%d8%b5%db%8c-%d9%85%d8%af%db%8c%d8%b1%db%8c%d8%aa/
    http://123project.ir......8c/%d8%aa%d8%b1%d8%ac%d9%85%d9%87-%d8%aa%d8%ae%d8%b5%d8%b5%db%8c-%d8%ad%d8%b3%d8%a7%d8%a8%d8%af%d8%a7%d8%b1%db%8c/
    http://123project.ir......8c/
    http://123project.ir......8c/
    http://123project.ir......8c/
    http://123project.ir......8c/
    http://123project.ir......8c/
    http://123project.ir......8c/%d9%85%d9%82%d8%a7%d9%84%d9%87-%d8%a8%d8%b1%d9%82/
    http://123project.ir......8c/%d9%85%d9%82%d8%a7%d9%84%d9%87-%da%a9%d8%a7%d9%85%d9%be%db%8c%d9%88%d8%aa%d8%b1/
    http://123project.ir......8c/%d9%85%d9%82%d8%a7%d9%84%d8%a7%d8%aa-%d8%aa%d8%b1%d8%ac%d9%85%d9%87-%d8%b4%d8%af%d9%87-%d9%85%d9%87%d9%86%d8%af%d8%b3%db%8c-%d8%b4%db%8c%d9%85%db%8c/
    http://123project.ir......8c/%d9%85%d9%82%d8%a7%d9%84%d9%87-%d8%b9%d9%85%d8%b1%d8%a7%d9%86/
    http://123project.ir......8c/%d9%85%d9%82%d8%a7%d9%84%d9%87-%d9%85%da%a9%d8%a7%d9%86%db%8c%da%a9/
    http://123project.ir......8c/%d9%85%d9%82%d8%a7%d9%84%d8%a7%d8%aa-%d8%aa%d8%b1%d8%ac%d9%85%d9%87-%d8%b4%d8%af%d9%87-%d9%85%d9%87%d9%86%d8%af%d8%b3%db%8c-%d9%85%d9%88%d8%a7%d8%af/
    http://123project.ir......8c/%d9%85%d9%82%d8%a7%d9%84%d8%a7%d8%aa-%d8%aa%d8%b1%d8%ac%d9%85%d9%87-%d8%b4%d8%af%d9%87-%d8%b9%d9%84%d9%88%d9%85-%d8%a7%d9%86%d8%b3%d8%a7%d9%86%db%8c/
    http://123project.ir......8c/%d9%85%d9%82%d8%a7%d9%84%d8%a7%d8%aa-%d8%aa%d8%b1%d8%ac%d9%85%d9%87-%d8%b4%d8%af%d9%87-%d9%85%d8%af%db%8c%d8%b1%db%8c%d8%aa/
    http://123project.ir......a8/
    http://123project.ir......87/
    http://123project.ir......-c/
    http://123project.ir......A7/
    http://123project.ir......el/
    http://123project.ir......B3/
    http://123project.ir......B3/
    http://123project.ir......86/
    http://123project.ir......AA/
    http://123project.ir......A7/
    http://123project.ir......A9/
    http://123project.ir......AF/
    http://123project.ir
  12. farnamjam
  13. preeti123
    Event Consultant working Yapsody #1 Event ticketing platform for selling event tickets and event registration.

    https://www.yapsody.com......ng/

    https://www.yapsody.com......ng/

    https://www.yapsody.com......ng/

    https://www.yapsody.com......ng/

    https://www.yapsody.com......ng/
  14. id pro pkv
  15. id pro pkv
    Very good article and I really like it. Don't forget to always update because this article can be used as a reference by many people like me.

    Keep update to have much viewers . Good Luck to u.. i very appreciate it

    Jangan lupa kunjungi juga :
    <a href="http://idprosuper.site" >ID PRO PKV </a>
    <a href="http://idpropkv.org" >ID PRO</a>
    <a href="http://bandarpkvgames.fun" >Bandar Pkv Games</a>
  16. TECHNORAZOR
  17. technorazor
  18. MovingNow
    Looking for professional and verified Packers and Movers Hyderabad ? Your search ends here,hire the most affordable Packers and Movers and save money, know more....

    https://www.movingnow.in......bad
  19. seozxc1@gmail.com
  20. lylyanve
  21. wahyupoker
    Thanks for this wonderful post and hoping to post more of this
    https://wahyuqqonline.com/
    https://extrainningslongmont.com/
    https://loginpokerv.com/
  22. pestcontrollocal
    Thanks for sharing the info. keep up the good work going... I really enjoyed exploring your site. good resource...
    http://www.pestcontrollocal.in......rat
    http://www.pestcontrollocal.in......pur
    http://www.pestcontrollocal.in......ida
    http://www.pestcontrollocal.in......bad
  23. ioncasino
  24. preeti@pranvienterprises.com
    <a href="https://superfastking.com/">SattaKing</a>is an amazingly pleasant game, and furthermore is basically innocuous.
    It offers happiness, pleasure, energy, amusement and furthermore makes individuals tycoons and furthermore extremely rich people
    <a href="https://superfastking.com/satta-king-record-chart.php/">SattaKing</a>
  25. situspoker88
  26. Sobatpoker
    The Most Popular Asia Website http://bandarpoker.stream/
  27. malimgroup
  28. Sumitsingh72
  29. ashtelia
  30. markjohnson
    Very useful post. This is my first time i visit here. I found so many interesting stuff in your blog especially its discussion. Really its great article. Keep it up.
    https://www.nadaward.com/
  31. Maggiegrace
    Hi! Great work. I feel nice to be here reading your authentic work.
    http://www.stickers2go.co.uk">Custom Sticker</a>
    http://www.asking.pk">Ask Questions Get Answers</a>
    https://www.custompackagingboxes.co.uk ">custom packaging boxes</a>
  32. Maggiegrace
    The post is realy new to me and some important knowledge to gain something new.
    great it looks really cool.
    https://www.healeypackaging.co.uk ">
    Custom Boxes</a>
    https://www.stickersprintingpress.co.uk ">Custom Stickers</a>
    https://www.craftboxes.co.uk ">Custom Craft Boxes</a>
  33. Maggiegrace
    The post is really new to me and some important knowledge to gain something new.
    great, it looks really cool.
    <a href= "https://www.healeypackaging.co.uk ">
    Custom Boxes</a>
    <a href="https://www.stickersprintingpress.co.uk ">Custom Stickers</a>
    <a href= "https://www.craftboxes.co.uk ">Custom Craft Boxes</a>
  34. ashutoshweb3
  35. cemeonlineindonesia
    terimakasih sudah membagikan informasi yang sangat bermanfaat http://209.182.194.11/
  36. Lufita Hartono
    Tembak Ikan, Tembak Ikan Online, Daftar Tembak Ikan, Game Tembak Ikan , Fish Hunter Online, Download Game Ikan , Permainan Tembak Ikan http://gametembakikan.club
  37. Shannon Whitney
    Thanks, I’be just been looking for info about this subject and yours article is the best I have discovered so far. http://elisaklapelicula.com
  38. Wyanet Calesthane
    I am so glad I found your blog, I really found you by mistake. For something else, I am will looking for here now and would just like to say thanks a lot for a fantastic post and a all. So when I have time I will be back to read a great deal more. http://localplantsource.com
  39. Beatrix Shawna
    This article contains a lot of information that you might need. I really like this article and will support your article. Thank you for sharing. http://gibbering.net
  40. rachelle zephyrine
    Wow, The contents of this article are very much information that is sought by me. thanks for the information http://passionate-culinary-enterprises.com
  41. Taniya
    <a href="http://www.onlinegedichten.nl/">Check Support</a>
    [URL=http://www.onlinegedichten.nl/]Check Support[/URL]
    [url=http://www.onlinegedichten.nl/]Check Support[/url]
    [URL="http://www.onlinegedichten.nl/"]Check Support[/URL]
    [url="http://www.onlinegedichten.nl/"]Check Support[/url]

    [url="http://www.onlinegedichten.nl/"]Check Support[/url]

    http://www.onlinegedichten.nl/
  42. zzyytt
    `
    <H1><a href="http://www.yeezyboost350v2.org.uk" title="yeezy boost 350 v2"><strong>yeezy boost 350 v2</strong></a></H1>
    <H1><a href="http://www.russellwestbrookshoes.us" title="westbrook shoes"><strong>westbrook shoes</strong></a></H1>
    <H1><a href="http://www.stephencurry-shoes.us.com" title="stephen curry shoes"><strong>stephen curry shoes</strong></a></H1>
    <H1><a href="http://www.louboutinshoes.uk" title="louboutin shoes"><strong>louboutin shoes</strong></a></H1>
    <H1><a href="http://www.patriotsjerseys.us.com" title="patriots jerseys"><strong>patriots jerseys</strong></a></H1>
    <H1><a href="http://www.kobeshoes.uk" title="kobe byrant shoes"><strong>kobe byrant shoes</strong></a></H1>
    普通H1标签
    <H1><a href="http://www.nikeairforce1.us.com"><strong>nike air force 1</strong></a></H1>
    <H1><a href="http://www.michaelkorshandbags.net.co"><strong>michael kors handbags</strong></a></H1>
    <H1><a href="http://www.cartierbracelet.us"><strong>cartier bracelet</strong></a></H1>
    <H1><a href="http://www.offwhiteclothing.us.com"><strong>off white clothing</strong></a></H1>
    UBB
    [url=http://www.louboutinshoes.uk][b]louboutin shoes[/b][/url]
    [url=http://www.nikehyperdunk2017.us.com][b]nike hyperdunk 2017[/b][/url]
    [url=http://www.nikebasketballshoes.us.com][b]nike basketball shoes[/b][/url]
    [url=http://www.adidas-pureboost.us.com][b]adidas pure boost[/b][/url]
    A标签
    <a href="http://www.adidassuperstar.us.com"><strong>adidas superstar</strong></a>
    <a href="http://www.lebron-soldier11.us.com"><strong>nike lebron 11</strong></a>
    <a href="http://www.nike-airmax90.uk"><strong>nike air max 90</strong></a>
    <a href="http://www.adidasnmdrunner.us.com"><strong>adidas nmd</strong></a>
    裸链
    http://www.yeezys.us.org
    http://www.yeezy-shoes.ca
    http://www.yeezy-shoes.org
    http://www.yeezy-shoes.org.uk
  43. Rkman
  44. Rkman
    <a href="https://www.onlinegedichten.nl/">Check Link</a>
    [URL=http://www.onlinegedichten.nl/]Check Link[/URL]
    [url=http://www.onlinegedichten.nl/]Check Link[/url]
    [URL="http://www.onlinegedichten.nl/"]Check Link[/URL]
    [url="http://www.onlinegedichten.nl/"]Check Link[/url]
    [[http://www.onlinegedichten.nl/|Check Link]]

    http://www.onlinegedichten.nl/
  45. juarabola
  46. prediksiadatogel
  47. wwwe
    `
    <H1><a href="http://www.yeezyboost350v2.org.uk" title="yeezy boost 350 v2"><strong>yeezy boost 350 v2</strong></a></H1>
    <H1><a href="http://www.russellwestbrookshoes.us" title="westbrook shoes"><strong>westbrook shoes</strong></a></H1>
    <H1><a href="http://www.stephencurry-shoes.us.com" title="stephen curry shoes"><strong>stephen curry shoes</strong></a></H1>
    <H1><a href="http://www.louboutinshoes.uk" title="louboutin shoes"><strong>louboutin shoes</strong></a></H1>
    <H1><a href="http://www.patriotsjerseys.us.com" title="patriots jerseys"><strong>patriots jerseys</strong></a></H1>
    <H1><a href="http://www.kobeshoes.uk" title="kobe byrant shoes"><strong>kobe byrant shoes</strong></a></H1>
    普通H1标签
    <H1><a href="http://www.nikeairforce1.us.com"><strong>nike air force 1</strong></a></H1>
    <H1><a href="http://www.michaelkorshandbags.net.co"><strong>michael kors handbags</strong></a></H1>
    <H1><a href="http://www.cartierbracelet.us"><strong>cartier bracelet</strong></a></H1>
    <H1><a href="http://www.offwhiteclothing.us.com"><strong>off white clothing</strong></a></H1>
    UBB
    [url=http://www.louboutinshoes.uk][b]louboutin shoes[/b][/url]
    [url=http://www.nikehyperdunk2017.us.com][b]nike hyperdunk 2017[/b][/url]
    [url=http://www.nikebasketballshoes.us.com][b]nike basketball shoes[/b][/url]
    [url=http://www.adidas-pureboost.us.com][b]adidas pure boost[/b][/url]
    A标签
    <a href="http://www.adidassuperstar.us.com"><strong>adidas superstar</strong></a>
    <a href="http://www.lebron-soldier11.us.com"><strong>nike lebron 11</strong></a>
    <a href="http://www.nike-airmax90.uk"><strong>nike air max 90</strong></a>
    <a href="http://www.adidasnmdrunner.us.com"><strong>adidas nmd</strong></a>
    裸链
    http://www.yeezys.us.org
    http://www.yeezy-shoes.ca
    http://www.yeezy-shoes.org
    http://www.yeezy-shoes.org.uk
  48. www.wac3636.com
    인터넷카지노 <<https://www.xn--o79ak1s1tdy0owni.kr >>바카라사이트추천
    룰렛사이트 <<https://www.wac3636.com/yxt >>온라인룰렛
    예스카지노 <<https://www.wac3636.com/yescasino11 >>예스카지노
    퍼스트카지노 <<https://www.wac3636.com/firstcasino11 >>퍼스트카지노
    더킹카지노 <<https://www.wac3636.com/thekingo >>더킹카지노
    인터넷블랙잭 <<https://www.wac3636.com>> 온라인슬롯머신
    인터넷카지노 <<https://www.wac3636.com>> 카지노사이트
    바카라게임 <<https://www.xn--o79ak1s1tdy0owni.kr>> 인터넷카지노
    <<https://www.wac3636.com/suv>> 룰렛사이트
    <<https://www.wac3636.com/fire>> 카지노사이트
    <<https://www.xn--o79ak1s1tdy0owni.kr/woori>>우리카지노
    <<https://www.xn--o79ak1s1tdy0owni.kr/yescasino>>예스카지노
    <<https://www.xn--o79ak1s1tdy0owni.kr/first>>퍼스트카지노
    <<https://www.xn--o79ak1s1tdy0owni.kr/theking>>더킹카지노
    <<https://www.xn--o79ak1s1tdy0owni.kr/recommendation>>바카라사이트
    온라인카지노#온라인바카라#카지노사이트#온라인슬롯머신#온라인식보#온라인룰렛#온라인블랙잭#카지노게임#
버전 관리
egoing
현재 버전
선택 버전
graphittie 자세히 보기