Why use XHTML?
- Previous Page XHTML Introduction
- Next Page XHTML v HTML
XHTML shì HTML yǔ XML (kuò zhǎn biao jí yǔ) de hé jié wù.
XHTML bāo hán suǒ yǒu yǔ XML yǔ fú jí hé de HTML 4.01 yuán su.
Why use XHTML?
Wǒ men ren wei wàn wéi wǎng shàng de duō shù yè miàn dōu hán cóng zāo hāo de HTML dān máo.
Dibai de HTML dān máo réng rán néng gōng dé hěn hǎo, jí shí néng tóng guān yú HTML guī zé:
<html>
<head>
<title>This is bad HTML</title>
<body>
<h1>
Bad HTML
</body>
XML shi yi zhong biao jia hua yu yan, qí zhong su you de shi dou yao bei zheng que de biao jia, yǐ sheng chuang xing shi hao de wén dān.
XML yana bayan kai da shu ju, er HTML zhe yong yin xian shu ju.
There are different browser technologies in today's market, some of which run on computers, and some of which run on mobile phones and handheld devices. The latter do not have the ability or means to interpret poor markup languages.
Therefore, by combining the strengths of HTML and XML, we have obtained a markup language that can be used in the present and future - XHTML.
XHTML can be read by all devices that support XML, and before other browsers upgrade to support XML, XHTML enables us to write well-structured documents that work well in all browsers and are backward compatible.
- Previous Page XHTML Introduction
- Next Page XHTML v HTML