ວ່າເປັນຫຍັງຈະໃຊ້ XHTML?
- Previous Page ຄວາມຫຼັກຂອງ XHTML
- Next Page XHTML v HTML
XHTML ແມ່ນການຄວບຄຸມຂອງ HTML ແລະ XML (ພາສາວັດທະນາຄານຂະຫຍາຍ)
XHTML ບັນຈຸທຸກຢ່າງທີ່ຄົງກັນກັບສັນຍາວັດທະນາຄານ XML 4.01。
ວ່າເປັນຫຍັງຈະໃຊ້ XHTML?
ພວກເຮົາເຊື່ອວ່າຫຼາຍໆເວັບໄຊໃນເວັບໄຊວົງກາງທີ່ມີວັດທະນາຄານ HTML ທີ່ບໍ່ດີ。
ລາຍການ HTML ດັ່ງກ່າວນີ້ຍັງສາມາດປະຕິບັດໄດ້ດີຫຼາຍຫຼາຍ ເຖິງວ່າມັນບໍ່ໄດ້ຖືກຕິດຕາມກົດລະບຽບ HTML ທີ່ມີຕໍ່າກັນ。
<html>
<head>
<title>This is bad HTML</title>
<body>
<h1>
Bad HTML
</body>
XML ແມ່ນພາສາທີ່ມີສັນຍາວັດທະນາຄານ ເຊິ່ງທຸກຢ່າງທີ່ຕ້ອງໄດ້ຖືກຂະໜານຢ່າງຖືກຕ້ອງ ເພື່ອສ້າງເອກະສານທີ່ມີຄວາມມືດຕະພາງ。
XML ໃຊ້ເພື່ອອະທິບາຍຂໍ້ມູນ ແລະ HTML ໃຊ້ເພື່ອສະແດງຂໍ້ມູນ。
In today's market, there are different browser technologies, some browsers run on computers, and some browsers run on mobile phones and handheld devices. The latter do not have the ability and 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 the rest of the browsers upgrade to support XML, XHTML gives us the ability to write well-structured documents that work well in all browsers and can be backward compatible.
- Previous Page ຄວາມຫຼັກຂອງ XHTML
- Next Page XHTML v HTML