һ
 ע

QQ¼

ֻһٿʼ

ƼĶ

+
̳ WEBҳǰ뿪 ҳ

[Dreamweaver] վؿDOCTYPE ǩԼʹѡ

[]
25396 websjy 2014-3-18 08:58:46
| ʾȫ¥
1F


xzmyzy 챻ʵûϸ˽ǩһ£ΪһʼW3cschoolϿʹXHTML Transitional DTD,֮ͺذDreamweaverHTMLĵĬΪXHTML 1.0 Transitional֮ȻһֱõˡⶫǣԽԽˣܶණDZʶصȻȻѾʼȥϣܽһ£Ȩʼǰ~~

Ķ壺
λĵеǰλãڱǩ֮ǰ˱ǩɸ֪ĵʹHTMLXHTML淶
ñǩDTDֱͣʾϸ汾ɰ汾ԼڿܵHTML汾ĵеıDzѭdoctypeָDTDĵ˲ͨУ֮⣬п޷ȷʾ
÷
УĵĸԪ htmlڹʶΪ -//W3C//DTD XHTML 1.0 Strict//EN DTD н˶塣Ѱƥ˹ʶ DTDҲʹùʶ URL ΪѰ DTD λá
-:   ʾ֯δעᡣInternet (IETF)άЭ(W3C)ע ISO ֯
+ΪĬ,ʾ֯עᡣ
DTD:   ָı࣬õĶ͡ ĬΪDTD
HTML :   ָıõĹıΨһơɸ汾šĬΪHTML
URL  ָöλá
Strictų W3C רϣ̭ĴԺԪء

HTMLĵͣ
HTML 4.01 涨ĵͣStrictTransitional Լ Frameset
aҪɾıǣڱֲĻңHTML Strict DTDͣ
bTransitional DTD ɰ W3C ʽijԺԪ. ûʹ˲ֲ֧ʽCSS㲻òʹ HTML ijʱTransitional DTD ͣ
cFrameset DTD ڴпܵĵ frameset Ԫȡ body Ԫ֮⣬Frameset DTD ͬ Transitional DTD

XML ĵͣ
XHTML 1.0 涨 XML ĵͣStrictTransitional Լ Frameset
a ) ҪɾıǣڱֲĻңXHTML Strict DTDͣ
b )Transitional DTD ɰ W3C ʽijԺԪ. ûʹ˲ֲ֧ʽCSS㲻òʹ HTML ijʱTransitional DTD ͣ
c ) Frameset DTD ڴпܵĵ frameset Ԫȡ body Ԫ֮⣬Frameset DTD ͬ Transitional DTD

ѡȷdoctype
Ϊ˻ȷdoctypeؼdtdĵѭı׼Ӧ
磬ٶĵѭxhtml 1.0 strict׼ĵdoctypeӦӦdtd
һ棬doctypeָxhtml dtdĵǾʽhtmlǣDzǡģƵأdoctypeָhtml dtdĵ
xhtml 1.0 strictǣͬDzǡġ
ûָЧdoctypeʹһڽĬdtd£ ڽdtdʾָı(ҳд̫ʱ)
һ¾Աв԰õĶҲһֱõ
ǷٶȸõǡϸһϣHTML5ҲֱõΪ HTML 5 SGML˲Ҫ DTD
ãҪ doctype 淶ΪӦõķʽУ
ԺֱáõĻͻῪı׼ģʽڱ׼ģʽ£ܱ֤汾IE6֮ǰģֱӺ԰ɣ Internet Explorer ּݣĵȾΪҲ뽫 Internet Explorer ͬҲҷĵʹð~~

Сʿ
XHTML 1HTML 4.01XMLһֲǰݵĸʽ
HTML 4.01 е doctype Ҫ DTD ãΪ HTML 4.01 SGML
SGML涨ĵǶǵı׼ʽָĵṹı׼ĿǰWEBʹõHTMLʽʹù̶ǩһ SGMLĵ

ԭĵַcnblogs
ߣxzmyzy


, DZʶ, ǩ, , Ԫ

аԴ

Ҫ ¼ ſػ鿴ûʺţע  

x
Դ΢http://weibo.com/techued Դ΢Źںţweb-tech
ʹõ ٱ ظ
happy175 2014-8-1 12:51:24
| ʾȫ¥
2F
úѧϰһ
Դ΢http://weibo.com/techued Դ΢Źںţweb-tech
ʹõ ٱ ظ ֧
fhuj3d96 2016-12-2 02:16:28
| ʾȫ¥
4F
˼
APP http://www.zcyke.com
Դ΢http://weibo.com/techued Դ΢Źںţweb-tech
ʹõ ٱ ظ ֧
fhuj3d96 2016-12-25 00:54:51
| ʾȫ¥
5F
ܾ,лл! ѵõĺ
Դ΢http://weibo.com/techued Դ΢Źںţweb-tech
ʹõ ٱ ظ ֧
fhuj3d96 2017-1-6 01:48:34
| ʾȫ¥
6F
ϲ ֧
Դ΢http://weibo.com/techued Դ΢Źںţweb-tech
ʹõ ٱ ظ ֧
fhuj3d96 2017-1-17 10:43:24
| ʾȫ¥
7F
Ҫ֧£~~
Դ΢http://weibo.com/techued Դ΢Źںţweb-tech
ʹõ ٱ ظ ֧
б

ֹ

²

̳¡ͼƬѷϴվԭתԻ,µİȨԭ
վַİȨ֪ͨǵĹԱ,Ա(Email:admin@websjy.com)ʱȡȨɾ
ܾκκʽڱ̳л񹲺͹ִ!

QQ| 42011102000510|Archiver|ֻ|Դ ( ICP14013341-1

GMT+8, 2017-11-22 04:52

Powered by Discuz! X3.2

ԴԴվ  ԴAPPӦ֮

ٻظ ض б