什么是xhtml_XHTML的完整形式是什么?

什么是xhtml

XHTML:可扩展超文本标记语言 (XHTML: Extensible Hypertext Markup Language)

XHTML is an abbreviation of "Extensible Hypertext Markup Language".

XHTML是“可扩展超文本标记语言”的缩写。

It was developed by World Wide Web Consortium (W3C). To transit from HTML to XML, the web developers use XHTML. XHTML ensures the compatibility of the content and it is easier for developers to enter XML using XHTML.

它是由万维网联盟(W3C)开发的。 为了从HTML转换为XML,Web开发人员使用XHTML。 XHTML确保了内容的兼容性,并且使开发人员可以更轻松地使用XHTML输入XML。

In XHTML family, the first document type is XHTML 1.0 is and recommended by W3C in 26 January 2000. The second document type is XHTML 1.1 and is recommended by W3c on 31 May 2001. The third document type is XHTML5 is a standard and it is used for the development of XML adaptation of the HTML5 specification.

在XHTML家族中,第一种文档类型是XHTML 1.0,是W3C于2000年1月26日推荐的。第二种文档类型是XHTML 1.1,并且由W3c于2001年5月31日提出了建议。第三种文档类型是XHTML5是一种标准,它是用于开发HTML5规范的XML适应。

XHTML documents have three parts, named as:

XHTML文档包含三个部分,分别为:

  • DOCTYPE: To declare a DTD, DOCTYPE is used.

    DOCTYPE :要声明DTD,请使用DOCTYPE。

  • head: To declare the title and other related attributes, the head section is used.

    head :要声明标题和其他相关属性,请使用head部分。

  • body: To provide the content to the web pages, the body is used. It consist of many tags.

    正文 :使用网页正文来提供网页内容。 它包含许多标签。

It is really important to include a Document Type Definition (DTD) to create an XHTML web page.

包含文档类型定义(DTD)来创建XHTML网页真的很重要。

DTD are of 3 types:

DTD有3种类型:

  • Transitional DTD – Older browsers support this which doesn’t have CSS support.

    过渡DTD –较旧的浏览器支持此功能,而CSS不支持。

  • Strict DTD – Used when the XHTML page contains only markup language.

    严格DTD –在XHTML页面仅包含标记语言时使用。

  • Frameset DTD – Used when XHTML pages has frames.

    框架集DTD –在XHTML页面具有框架时使用。

XHTML的优点 (Advantages of XHTML)

  • To generate a clean code, XHTML tags have closing tags and they are nested properly.

    为了生成干净的代码,XHTML标记具有结束标记,并且已正确嵌套。

  • Uses less bandwidth which helps in reducing the cost of the website.

    使用较少的带宽,这有助于降低网站成本。

  • Web pages are created in association with CSS.

    网页是与CSS关联创建的。

  • Proper formatting, easy to transport to wireless devices, braille readers and other expert web environments.

    格式正确,易于传输到无线设备,盲文阅读器和其他专家Web环境。

  • Future of Web development.

    Web开发的未来。

XHTML与HTML有何不同? (How XHTML differs from HTML?)

  • XHTML is the family of XML Markup languages.

    XHTML是XML标记语言的家族。

  • W3C recommended in 2000.

    W3C在2000年推荐。

  • Application of XML.

    XML的应用。

  • Extended from XML and HTML.

    从XML和HTML扩展。

Reference: XHTML

参考: XHTML

翻译自: https://www.includehelp.com/dictionary/xhtml-full-form.aspx

什么是xhtml

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值