替代HTML的下一代WEB标记语言XHTML

Show All   1 2 3 4 5 6

最近开始逐渐在开发Web项目中使用更加规范的XHTML来替换html,收集整理了一些XHTML的资料和大家分享。
通过使用XHTML开发的web项目,您可以通过访问 http://validator.w3.org/ 来对您的页面进行验证,看是否满足W3C对XHTML规范的要求。我的这个BLOG使用了国外的WordPress,它就是基于XHTML标准来编写的,不过由于我后来增加了不少别人或者自己写的插件,这些插件在部分地方没有严格满足XHTML规范,所以在w3.org的验证上不能完全通过:(
本文是针对W3C相关规范文章资料的翻译。

XHTML 介绍

XHTML is a stricter and cleaner version of HTML.
XHTML是更严密代码更整洁的HTML版本

What Is XHTML?
XHTML是什么?
XHTML是具有延伸性的超文本标记语言
出现XHTML目的就是要替代HTML
XHTML和HTML4.01几乎相同
XHTML是更严密代码更整洁的HTML版本
XHTML的定义形同将HTML视为XML(从代码的结构上)
XHTML是W3C的推荐标准

What You Should Already Know
学习前你应该知道些什么
Before you continue you should have a basic understanding of the following:
在继续你的学习前你应该有下列知识的基础:

HTML and the basics of building web pages
HTML和基本的WEB页面建立能力
If you want to study HTML first, please read our HTML tutorial.
如果你想先学习HTML,请查阅我们的 HTML 教程.

XHTML is a W3C Recommendation
XHTML是W3C组织推荐的语言
XHTML 1.0 became a W3C Recommendation January 26, 2000.
2000 年1月26 日XHTML1.0成为W3C组织推荐的一种语言

A W3C Recommendation means that the specification is stable, that it has been reviewed by the W3C membership, and that the specification is now a Web standard.
W3C推荐就意味它是稳定的,并被W3C组织的成员所审核,这已经是现在WEB的一个标准了。

W3C defines XHTML as the latest version of HTML. XHTML will gradually replace HTML.
W3C将XHTML定义为HTML的最新版本。XHTML将逐渐替代HTML

Stay updated with the latest web standards with our W3C tutorial.
WEB标准的最新和更新信息尽在我们的 W3C 教程

All New Browsers Support XHTML
所有新型的浏览器都支持XHTML
XHTML is compatible with HTML 4.01.
XHTML与HTML4.01是兼容的

All new browsers have support for XHTML.
所有新型的浏览器都支持XHTML

W3Schools Has Converted To XHTML
W3S网站已经转换成XHTML
XHTML is a reformulation of HTML 4.01 in XML, and can be put to immediate use with existing browsers by following a few simple guidelines.
XHTML是XML形式的HTML4.01,可以通过一些指示直接用于现有的浏览器中。

W3Schools was completely rewritten to XHTML 1.0 in 1999.
W3S在1999年完整的重构成XHTML1.0

A click on this symbol: validates the XHTML part of this page.
单击这个标志来检验这个页是否符合XHTML

A click on this symbol: validates the CSS part of this page.
检验CSS部分

Show All   1 2 3 4 5 6
You can follow any responses to this entry through the RSS 2.0 feed. Responses are currently closed, but you can trackback from your own site.

Comments are closed.