摘要
目前W3C推荐的网页格式标准是XML1.0[1],但要求为数众多的已有站点直接采用XML还为时过早。因此,用XML对HTML进行扩展,得到了XHTML。但多数Web开发人员仍习惯用HTML语法写XHTML网页,导致代码不被识别或显示效果不佳。通过对比研究XHTML与HTML的细致区别,阐明了XHTML文档的结构特征及独特的语法要求,目的在于帮助Web开发人员适应这种技术的变化,顺利地完成Web开发任务。
At present,recommended web page standard is XML 1.0 supported by W3C,Given the challenge of thousands of existing web sites,it is too early to use XML instead of HTML.Thus,on the basis of HTML4.0,extended with XML rules,XHTML is developed.Lots of Web developers are still used to write HTML codes in XHTML pages,which lead to codes unrecognizable or wrong display effect.This paper make comparative study on the delicate difference of HTML and XHTML to help Web developers adapt to the rule change of web page,so can they implement their web-developing tasks smoothly.
出处
《电脑开发与应用》
2012年第3期39-42,共4页
Computer Development & Applications