Overview |
ภาพรวม |
XHTML 1.0 is "a reformulation of the three HTML 4 document types as applications of XML 1.0". |
XHTML 1.0 คือ "การปรับรูปแบบของ เอกสาร HTML 4 ทั้ง 3 รูปแบบ โดยการนำ XML 1.0 มาประยุกต์ใช้งาน |
The World Wide Web Consortium (W3C) also continues to maintain the HTML 4.01 Recommendation, and the specifications for HTML5 and XHTML5 are being actively developed. |
องค์การมาตรฐาน เวิลด์ ไวด์ เว็บ (World Wide Web consortium: W3C) ยังคงให้มีการใช้งาน ข้อแนะนำ HTML 4.01 ต่อไป ส่วนข้อกำหนดสำหรับ HTML 5 และ XHTML 5 ยังคงถูกพัฒนาอย่างต่อเนื่อง |
In the current XHTML 1.0 Recommendation document, as published and revised to August 2002, the W3C commented that, "The XHTML family is the next step in the evolution of the Internet. By migrating to XHTML today, content developers can enter the XML world with all of its attendant benefits, while still remaining confident in their content's backward and future compatibility." |
ในเอกสารข้อแนะนำ XHTML 1.0 ปัจจุบัน ตามที่ได้มีการเผยแพร่และปรับปรุงแก้ไขเมือเดือนสิงหาคม ปี 2002 W3C ได้แนะนำว่ามาตรฐานตระกูล XHTML คือก้าวถัดไปในวิวัฒนาการแห่งอินเตอร์เน็ต โดยการย้ายมาใช้ XHTML ในวันนี้ ผู้พัฒนาเนื้อหาสามารถเข้าสู่โลก XML และสิทธิประโยชน์ที่มาพร้อมกัน ในขณะที่ยัรงมีความมั่นใจในความเข้ากันได้กับเนื้อหาเดิมที่ใช้อยู่และความเข้ากันได้ในอนาคตต่อไป |
However, in 2005, the Web Hypertext Application Technology Working Group (WHATWG) formed, independently of the W3C, to work on advancing ordinary HTML not based on XHTML. |
อย่างไรก็ตามในปี 2005 กลุ่มคณะทำงานการประยุต์ใช้เทคโนโลยีเว็บไฮเปอเท็ก (Web Hypertext Application Technology Working Group: WHATWG) ได้ถูกก่อตั้งขึ้น โดยไม่ขึ้นตรงต่อ W3C เพื่อทำงานในการพัฒนามาตรฐาน HTML ให้ก้าวหน้าขึ้น โดยไม่ตั้งบนพื้นฐานของ XHTML |
The WHATWG eventually began working on a standard that supported both XML and non-XML serializations, HTML5, in parallel to W3C standards such as XHTML 2. |
กลุ่มคณะทำงานการประยุต์ใช้เทคโนโลยีเว็บไฮเปอเท็ก ได้เริ่มต้นสร้างมาตรฐานที่สนับสนุนทั้ง XML และรูปแบบอื่นที่ไม่ใช่ XML คือ HTML 5 ควบคู่ไปกับ มาตรฐาน W3C เช่น XHTML 2 |
In 2007, the W3C's HTML working group voted to officially recognize HTML5 and work on it as the next-generated HTML standard. |
ในปี 2007 กลุ่มคณะทำงาน HTML ของ W3C ได้มีมติรวมกันที่จะยอมรับ HTML 5 อย่างเป็นทางการและร่วมทำงานด้วยเพื่อเป็นมาตรฐาน HTML ในรุ่นถัดไป |
In 2009, the W3C allowed the XHTML 2 Working Group's charter to expire, acknowledging that HTML5 would be the sole next-generation HTML standard, including both XML and non-XML serializations. |
ในปี 2009 W3C ได้ปล่อยให้กฏบัตรกลุ่มคณะทำงาน XHTML 2 หมดอายุลง ถือเป็นการยอมรับว่า HTML 5 จะได้เป็นมาตรฐาน HTML รุ่นใหม่เพียงมาตรฐานเดียว ทั้งที่เป็นการใช้งานแบบ XML และ รูปแบบที่ไม่ใช่ XML ทั้งสิ้น |
Of the two serializations, the W3C suggests that most authors use the HTML syntax, rather than the XHTML syntax. |
จากรูปแบบมาตรฐานทั้งสองแบบ W3C ได้แนะนำว่าผู้สร้างเนื้อหาควรใช้ไวยากรณ์ HTML ทั้งหมดแทนที่การใช้งานแบบ XHML |
Motivation |
แรงบันดาลใจ |
XHTML was developed to make HTML more extensible and increase interoperability with other data formats. |
XHML ถูกพัฒนามาเพื่อทำให้ HTML สามารถถูกต่อขยายได้ง่ายขึ้นและเพิ่มความสามารถในการทำงานร่วมกันกับรูปแบบข้อมูลประเภทอื่น ๆ |
In addition, browsers were forgiving of errors in HTML, and most websites were displayed despite technical errors in the markup; XHTML introduced stricter error handling. |
นอกไปจากนี้ ในขณะที่เบราเซอร์หลาย ๆ เจ้าได้มองข้ามข้อผิดพลาดที่อาจเกิดขึ้นได้จาก HTML และเว็บไซต์ส่วนใหญ่สามารถแสดงผลได้แม้จะมีข้อผิดพลาดทางเทคนิคในมาร์อัพที่ใช้งาน XHTML กลับเพิ่มการจัดการข้อผิดพลาดที่มีความเข้มงวดมากขึ้น |
HTML 4 was ostensibly an application of Standard Generalized Markup Language (SGML); however the specification for SGML was complex, and neither web browsers nor the HTML 4 Recommendation were fully conformant to it. |
HTML 4 เป็นการประยุกต์การใช้งานภาษามาร์คอัพ Standard Generalized Markup Language (SGML) อย่างเห็นได้ชัด อย่างไรก็ตามข้อกำหนดของ SGML มีความซับซ้อนมาก และไม่มีเว็บเบราเซอร์ใดหรือข้อกำหนดมาตรฐาน HTML 4 ที่สอดคล้องกับมาตรฐานอย่างแท้จริง |
The XML standard, approved in 1998, provided a simpler data format closer in simplicity to HTML 4. |
มาตรฐาน XML ซึ่งได้รับการอนุมัติในปี 1998 มีข้อกำหนดรูปแบบข้อมูลที่เรียบง่ายใกล้เคียงกับมาตรฐาน HTML 4 |
By shifting to an XML format, it was hoped HTML would become compatible with common XML tools; servers and proxies would be able to transform content, as necessary, for constrained devices such as mobile phones. |
โดยการขยับเข้าสู่มาตรฐาน XML ได้มีความคาดหวังว่า HTML จะสามารถใช้งานร่วมกับเครื่องมือ XML ทั่วไปได้ เซอร์เวอร์และพร็อกซี่จะสามารถแปลงเนื้อหาตามที่จำเป็นสำหรับอุปกรณ์ที่มีข้อจำกัดเช่นอุปกรณ์เคลื่อนที่ |
By using namespaces, XHTML documents could provide extensibility by including fragments from other XML-based languages such as Scalable Vector Graphics and MathML. |
โดยการใช้งานเนมสเปช เอกสาร XHML จะสามารถทำให้รองรับโครงสร้างภาษาที่มีพื้นฐานมาจากภาษา XML ได้ เช่น SVG และ MathML |
Finally, the renewed work would provide an opportunity to divide HTML into reusable components (XHTML Modularization) and clean up untidy parts of the language. |
สุดท้ายนี้ สิ่งที่ถูกสร้างขึ้นมาใหม่จะก่อให้เกิดโอกาสที่จะแบ่ง HML ออกเป็นคอมโพเนนท์ที่สามารถนำกลับมาใช้ใหม่ได้ (XHTML โมดูล) และทำให้ภาษามีความเรียบง่ายมากขึ้น |