来一发W3C保举的 DTDs(文件范例声明)
最近群里面很多人在问html5应该怎么学,这个问题其实没有标准答案。我开这个帖子,目的是为了收集大家每天的学习心得,欢迎大家来回复。网页制造poluoluo文章简介:WhenauthoringdocumentisHTMLorXHTML,itisimportanttoAddaDoctypedeclaration.Thedeclarationmustbeexact(bothinspellingandincase)tohavethedesiredeffect,whichmakesitsometimesdifficult.Toeasethework,belowisalistofWhenauthoringdocumentisHTMLorXHTML,itisimportanttoAddaDoctypedeclaration.Thedeclarationmustbeexact(bothinspellingandincase)tohavethedesiredeffect,whichmakesitsometimesdifficult.Toeasethework,belowisalistofrecommendeddeclarationsthatyoucanuseinyourWebdocuments.
Template
UsethefollowingmarkupasatemplatetocreateanewXHTML1.0documentusingaproperDOCTYPE.Seethelistbelowifyouwishtouseanotherdocumenttype.
<?xmlversion="1.0"encoding="utf-8"?><!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Strict//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><htmlxmlns="http://www.w3.org/1999/xhtml"xml:lang="en"lang="en"><head><title>AnXHTML1.0Strictstandardtemplate</title><metahttp-equiv="content-type"content="text/html;charset=utf-8"/><metahttp-equiv="Content-Style-Type"content="text/css"/></head><body><p>…YourHTMLcontenthere…</p></body></html>DTDList
HTML4.01-Strict,Transitional,Frameset:<!DOCTYPEhtmlPUBLIC"-//W3C//DTDHTML4.01//EN""http://www.w3.org/TR/html4/strict.dtd"><!DOCTYPEhtmlPUBLIC"-//W3C//DTDHTML4.01Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><!DOCTYPEhtmlPUBLIC"-//W3C//DTDHTML4.01Frameset//EN""http://www.w3.org/TR/html4/frameset.dtd">XHTML1.0-Strict,Transitional,Frameset:<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Strict//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Frameset//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">XHTML1.1-DTD:<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.1//EN""http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">XHTMLBasic1.0-DTD:<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTMLBasic1.0//EN""http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd">XHTMLBasic1.1-DTD:<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTMLBasic1.1//EN""http://www.w3.org/TR/xhtml-basic/xhtml-basic11.dtd">HTML2.0-DTD:<!DOCTYPEhtmlPUBLIC"-//IETF//DTDHTML2.0//EN">HTML3.2-DTD:<!DOCTYPEhtmlPUBLIC"-//W3C//DTDHTML3.2Final//EN">MathML1.01-DTD:<!DOCTYPEmathSYSTEM"http://www.w3.org/Math/DTD/mathml1/mathml.dtd">MathML2.0-DTD:<!DOCTYPEmathPUBLIC"-//W3C//DTDMathML2.0//EN""http://www.w3.org/TR/MathML2/dtd/mathml2.dtd">XHTML+MathML+SVG-DTD:<!DOCTYPEhtmlPUBLIC"-//W3C//DTDHTML4.01//EN""http://www.w3.org/TR/html4/strict.dtd"><!DOCTYPEhtmlPUBLIC"-//W3C//DTDHTML4.01Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><!DOCTYPEhtmlPUBLIC"-//W3C//DTDHTML4.01Frameset//EN""http://www.w3.org/TR/html4/frameset.dtd">0SVG1.0-DTD:<!DOCTYPEhtmlPUBLIC"-//W3C//DTDHTML4.01//EN""http://www.w3.org/TR/html4/strict.dtd"><!DOCTYPEhtmlPUBLIC"-//W3C//DTDHTML4.01Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><!DOCTYPEhtmlPUBLIC"-//W3C//DTDHTML4.01Frameset//EN""http://www.w3.org/TR/html4/frameset.dtd">1SVG1.1Full-DTD:<!DOCTYPEhtmlPUBLIC"-//W3C//DTDHTML4.01//EN""http://www.w3.org/TR/html4/strict.dtd"><!DOCTYPEhtmlPUBLIC"-//W3C//DTDHTML4.01Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><!DOCTYPEhtmlPUBLIC"-//W3C//DTDHTML4.01Frameset//EN""http://www.w3.org/TR/html4/frameset.dtd">2SVG1.1Basic-DTD:<!DOCTYPEhtmlPUBLIC"-//W3C//DTDHTML4.01//EN""http://www.w3.org/TR/html4/strict.dtd"><!DOCTYPEhtmlPUBLIC"-//W3C//DTDHTML4.01Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><!DOCTYPEhtmlPUBLIC"-//W3C//DTDHTML4.01Frameset//EN""http://www.w3.org/TR/html4/frameset.dtd">3SVG1.1Tiny-DTD:<!DOCTYPEhtmlPUBLIC"-//W3C//DTDHTML4.01//EN""http://www.w3.org/TR/html4/strict.dtd"><!DOCTYPEhtmlPUBLIC"-//W3C//DTDHTML4.01Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><!DOCTYPEhtmlPUBLIC"-//W3C//DTDHTML4.01Frameset//EN""http://www.w3.org/TR/html4/frameset.dtd">4XHTML+MathML+SVGProfile(XHTMLasthehostlanguage)-DTD:<!DOCTYPEhtmlPUBLIC"-//W3C//DTDHTML4.01//EN""http://www.w3.org/TR/html4/strict.dtd"><!DOCTYPEhtmlPUBLIC"-//W3C//DTDHTML4.01Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><!DOCTYPEhtmlPUBLIC"-//W3C//DTDHTML4.01Frameset//EN""http://www.w3.org/TR/html4/frameset.dtd">0XHTML+MathML+SVGProfile(UsingSVGasthehost)-DTD:<!DOCTYPEhtmlPUBLIC"-//W3C//DTDHTML4.01//EN""http://www.w3.org/TR/html4/strict.dtd"><!DOCTYPEhtmlPUBLIC"-//W3C//DTDHTML4.01Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><!DOCTYPEhtmlPUBLIC"-//W3C//DTDHTML4.01Frameset//EN""http://www.w3.org/TR/html4/frameset.dtd">6ListofDTDsfortheCSSvalidator.
AuthoringtoolsMUSTNOTusethefollowinglist.
HTML4.0http://www.w3.org/TR/1998/REC-html40-19980424/strict.dtd
http://www.w3.org/TR/1998/REC-html40-19980424/loose.dtd
http://www.w3.org/TR/1998/REC-html40-19980424/frameset.dtdHTML4.01http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd
http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd
http://www.w3.org/TR/1999/REC-html401-19991224/frameset.dtdXHTML1.0http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-strict.dtd
http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-transitional.dtd
http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-frameset.dtdXHTML1.1http://www.w3.org/TR/2001/REC-xhtml11-20010531/DTD/xhtml11.dtd</p>
这不是理想状况。我们必须尽可能把精力放在改善这项规范,把耗费在派系相争的精力降到最低。 还可以在Dreamweaver常用工具中选择超级链接,完成相应的填写即可。 难以逾越的障碍会大大打击你的学习积极性。这就需要你的恒心,坚持不懈的决心。在自己无法解决某些问题时,就需要虚心请教别人. dreamweaver8中文版下载(dw)对专业网页图像设计的FIREWORKS,三者被MACROMEDIA公司称为DREAMTEAM(梦之队)。 技术的学习如同长跑。只要越过极限,就会越跑越轻松。技术的学习其实并不像想象中那么可怕,任何技术都并不高深莫测。 还可以在Dreamweaver常用工具中选择超级链接,完成相应的填写即可。 Dreamweaver是集网页制作和管理网站于一身的所见即所得网页编辑器,在编辑时能同时看到源码和设计界面,非常方便新手学习制作网页。 技术的学习如同长跑。只要越过极限,就会越跑越轻松。技术的学习其实并不像想象中那么可怕,任何技术都并不高深莫测。
页:
[1]