w3pop.com :: ÍøÂçѧԺ :: Internet :: W3C XHTML
HTML is the lingua franca for publishing hypertext on the World Wide Web.
HTML ÔÚÍòÎ¬ÍøÉÏ·¢²¼³¬Îı¾ÐÅÏ¢µÄÒ»ÖÖͨÓÃÓïÑÔ¡£
XHTML is the latest version of HTML.
XHTMLÊÇHTMLµÄ×îа汾¡£
To see how this Web Site was converted to XHTML, read our XHTML tutorial.
ѧϰ¸ü¶à¹ØÓÚHTMLµÄ֪ʶ£¬ÇëÔĶÁÎÒÃǵÄXHTML ½Ì³Ì¡£
XHTML 1.0 was released as a W3C Recommendation 20. January 2000.
XHTML 1.0 ÊÇW3CÓÚ2000Äê1ÔÂ20ÈÕ½«ÆäÁÐÎªÍÆ¼öµÄ°æ±¾¡£
XHTML 1.0 Second Edition was released as a W3C Recommendation 1. August 2002. It is not a new version, but an update and a "bug fix".
XHTML 1.0 µÚ¶þ°æÊÇW3CÓÚ2002Äê8ÔÂ1ÈÕ½«ÆäÁÐÎªÍÆ¼öµÄ°æ±¾¡£Ëü²¢²»ÊÇÒ»¸öȫеİ汾£¬ËüÖ»ÊǶÔÔÀ´µÄ°æ±¾½øÐÐÁËÉý¼¶ºÍÐÞÕý¡£
XHTML 1.0 was the first major change to HTML since 1997, and a very important step on the way to create a standard that will provide richer web pages on a wider range of user agents (browsers), like desktop PCs, mobile (wireless) devices, and cell phones.
XHTML 1.0 ÊÇÔÚ1997Äê¶ÔHTML×ö³öµÄÖØ´ó¸Ä½ø¡£Ëü¶Ô´´½¨Ö§³Ö¸ü¹ã·ºä¯ÀÀÆ÷µÄÍøÂçÒ³Ãæ±ê×¼×ß³öÁ˷dz£ÖØÒªµÄÒ»²½¡£¸Ãä¯ÀÀÆ÷ÖîÈ磺¸öÈ˵çÄÔ¡¢Òƶ¯£¨ÎÞÏߣ©É豸ÒÔ¼°ÊÖ»úµÄä¯ÀÀÆ÷¡£
XHTML is an XML application with a clean migration path from HTML 4.01. W3C's first step was to reformulate HTML 4.01 into XML, resulting in XHTML 1.0. XHTML 1.0 relies on HTML 4.01 for the meanings of HTML tags.
XHTML ÊÇHTML 4.01ÖÐÓ¦ÓóÌÐòµÄÍêÕûÒÆÖ²¡£W3C¼Æ»®µÄµÚÒ»²½¾ÍÊǽ«HTML 4.01 ÖØÐÂËÜÔì³ÉXML£¬½á¹û¹¹½¨ÁËXHTML1.0¡£XHTML1.0ÊÇ»ùÓÚHTML4.01ÖÐHTML±êÇ©º¬ÒåµÄ¡£
The next step includes modularization of XHTML into smaller element collections, to make it easier to combine XHTML with other markup languages like vector graphics and multimedia.
ÏÂÒ»²½°üÀ¨½«XHTMLÄ£¿éÕûºÏ³É¸üСµÄÔªËØ¼¯ºÏ£¬Ê¹ÆäÄܹ»¸ü¼ÓÈÝÒ׵ؽ«XHTMLºÍÆäËüµÄ±ê¼ÇÓïÑÔ£¨È磺ÏòÁ¿ÔªËغͶàýÌ壩½áºÏÆðÀ´¡£
Modularization of XHTML also gives reduced development costs, improved cooperation with other applications (like databases), easier communication with different user agents (browsers), and cleaner integration between HTML and different XML standards.
XHTMLÄ£¿éÌṩÁ˸üÉٵĿª·¢³É±¾£¬¸Ä½øÁËÓëÆäËüÓ¦ÓóÌÐò£¨È磺Êý¾Ý¿â£©µÄÏ໥е÷£¬¸ü·½±ãµØÓ벻ͬµÄä¯ÀÀÆ÷½øÐн»»¥£¬²¢½«HTMLºÍ²»Í¬µÄXML±ê×¼½øÐÐÁËÈ«·½Î»µÄÕûºÏ¡£
XHTML 1.0 is a reformulation of HTML 4.01 in XML.
XHTMLÊÇÓÃXMLÖØÐ¹¹½¨µÄHTML4.01¸ñʽ¡£
To learn more about XHTML visit our XHTML tutorial.
Èç¹ûÄãÏ£Íûѧϰ¸ü¶à¹ØÓÚXHTMLµÄ֪ʶ£¬¿ÉÒÔ·ÃÎÊÎÒÃǵÄXHTML ½Ì³Ì¡£
Small devices (like mobile devices) cannot support all XHTML functions. XHTML 1.1 divides the specification into modules with limited functionality. Small browsers can reduce their complexity by supporting only selected modules (but once a module has been chosen, all of its features must be supported).
΢ÐÍÉ豸£¨Èç£ºÒÆ¶¯É豸£©²»ÄÜÖ§³ÖËùÓеÄXHTMLº¯Êý¡£XHTML 1.1½«É豸·Ö³ÉÁ˰üº¬ÏÞÖÆÐÔ¹¦ÄÜ¿é¸÷¸ö×é¼þ¡£Î¢ÐÍä¯ÀÀÆ÷¿ÉÒÔͨ¹ýÖ§³ÖÒÑÑ¡µÄ×é¼þÀ´¼õÉÙËüÃǵĸ´ÔÓÐÔ£¨µ«ÊÇ£¬µ±Ñ¡¶¨ÁËÒ»¸ö×é¼þÖ®ºó£¬ËùÓеÄÌØÕ÷¶¼±ØÐë»ñµÃÖ§³Ö£©¡£
XHTML 1.1 is a strict language. XHTML 1.1 is not backward compatible with HTML 4.
XHTML 1.1 ÊÇÒ»¸ö·Ç³£ÑϸñµÄÓïÑÔ¡£XHTML 1.1²¢²»ÄÜÏòºó¼æÈÝHTML 4¡£
XHTML Basic is a small subset of XHTML 1.1. It contains only basic XHTML features like text structure, images, basic forms, and basic tables. It is designed for small browsers (like in handheld devices).
XHTML BasicÊÇXHTML 1.1µÄÒ»¸öС×Ó¼¯£¬Ëü½ö°üº¬ÁËXHTMLÖÐÎı¾½á¹¹¡¢Í¼Ïñ¡¢»ù±¾±íµ¥ºÍ»ù±¾±í¸ñµÄÏà¹ØÐÅÏ¢¡£ËüÊÇרΪ΢ÐÍä¯ÀÀÆ÷¶øÉè¼ÆµÄ£¨Èç£ºÕÆÉÏÉ豸£©¡£
With the support for the W3C Document Object Model level 2 in XHTML, event handlers can be attached to XHTML elements so that parent elements can handle events before and after child elements.
ͨ¹ý¶ÔXHTMLÖÐW3C DOMµÚ¶þ°æµÄÖ§³Ö£¬Ê¼þ´¦ÀíÆ÷¿ÉÒÔ±»Ìí¼Óµ½XHTMLÔªËØÖУ¬ÕâÑùÒ»À´£¬¸¸ÔªËؾͿÉÒÔÔÚ×ÓÔªËØÖ®Ç°´¦Àíʼþ¡£
To learn more about the DOM, study our DOM tutorial.
Èç¹ûÄãÏ£Íûѧϰ¸ü¶à¹ØÓÚDOMµÄ֪ʶ£¬Çë·ÃÎÊÎÒÃǵÄDOM ½Ì³Ì¡£
XHTML-Print is a part of XHTML 1.1 (Modular XHTML).
XHTML-Print ÊÇXHTML1.1µÄÒ»²¿·Ö£¨¼´£ºXHTMLµÄ×é¼þ£©
XHTML-Print is designed for mobile devices and low-cost printers that generally print from top to bottom of a page with no printing buffer and without a device specific printer driver.
XHTML-Print ÊÇÎªÒÆ¶¯É豸Éè¼ÆµÄµÍ³É±¾Êä³öÉ豸£¬Ëü´óÌåÉÏ´ÓÍ·µ½Î²Êä³öÁËÕûÕÅÒ³Ãæ£¬²»´æÔÚÊä³ö»º³åÒÔ¼°¾ßÌåµÄÊä³öÇý¶¯É豸¡£
With HTML forms, a user can visit a Web page, add information to the page, and submit the page to a Web server.
ʹÓÃHTML±íµ¥£¬Óû§¿ÉÒÔ·ÃÎÊÍøÒ³£»ÏòÒ³ÃæÖÐÌí¼ÓÐÅÏ¢£»Ïò·þÎñÆ÷Ìá½»Ò³Ãæ¡£
XForms are the successors to HTML forms, providing a much richer and presentation independent way of handling interactive Web transactions. Designed to be integrated with XHTML, we can expect that future e-commerce applications will demand the use of XForms.
XForms ÊÇHTML±íµ¥µÄÈ«ÐÂÒ»´ú£¬ËüÌṩÁ˸üΪ·á¸»µÄÓÃÓÚ´¦Àí½»»¥Ê½ÍøÂçÊÂÎñµÄ¶ÀÁ¢·½Ê½£»ËüÕûºÏÁËXHTML¡£ÎÒÃÇ¿ÉÒÔÆÚ´ý½«À´µÄµç×ÓÉÌÎñÓ¦ÓóÌÐò½«»áÓõ½XForms¡£
To learn more about XForms, study our XForms tutorial.
ΪÁËѧϰ¸ü¶à¹ØÓÚXFormsµÄ֪ʶ£¬Çë·ÃÎÊÎÒÃǵÄXForm ½Ì³Ì¡£
XHTML Modularization is about splitting XHTML 1.0 into a collection of small modules that provide specific functionality.
XHTML Ä£¿éÊǹØÓÚ½«XHTML 1.0 ²ð·Ö³ÉÌṩ²»Í¬¹¦ÄÜÐÔµÄС×é¼þµÄ¡£
Modularization of XHTML 1.0 is implemented using the XML DTD (Document Type Definition)
XHTML1.0Ä£¿éÊÇʹÓÃXML DTD£¨ÎĵµÀàÐͶ¨Ò壩À´Ö´Ðеġ£
Modularization of XHTML 2.0 will be implemented using XML Schemas.
XHTML 2.0Ä£¿é½«Ê¹ÓÃXML SchemaÀ´Ö´ÐС£
To learn more about DTD, visit our DTD tutorial.
ΪÁËѧϰ¸ü¶à¹ØÓÚDTDµÄ֪ʶ£¬Çë·ÃÎÊÎÒÃǵÄDTD ½Ì³Ì¡£
To learn more about XML Schemas, visit our Schema tutorial.
ΪÁËѧϰ¸ü¶à¹ØÓÚXML SchemaµÄ֪ʶ£¬Çë·ÃÎÊÎÒÃǵÄXML Schema ½Ì³Ì¡£
XHTML 2.0 is a next generation markup language. The functionality is expected to remain similar to XHTML 1.1, but the markup language may be altered to conform to the requirements of XML standards like XML Linking and XML Schema.
XHTML 2.0 ÊDZê¼ÇÓïÑÔµÄÏÂÒ»´ú£¬ÎÒÃÇÆÚ´ý×ÅËü¿ÉÒÔ±£ÁôÓëXHTML1.1Ïà·ÂµÄ¹¦ÄÜÐÔ¡£µ«ÊÇ£¬±ê¼ÇÓïÑÔ¿ÉÄÜת»»³É×ñÑÖîÈ磺XML Á´½ÓºÍXML SchemaÕâÑùµÄXML±ê×¼µÄ±Ø±¸Ìõ¼þ¡£
XLink is a language for creating hyperlinks in XML documents. XLink is similar to HTML links - but it is a lot more powerful
XLink supports simple links (like HTML) and extended links (for linking multiple resources together).
XLink ÊÇÓÃÓÚÔÚXMLÎĵµÖд´½¨³¬Á´½ÓµÄÓïÑÔ¡£XLinkÓëHTMLÁ´½ÓÏà·Â - µ«ÊÇ£¬ËüµÄ¹¦ÄÜÏԵøüΪǿ´ó¡£
XLink Ö§³Ö¼òµ¥µÄÁ´½Ó£¨È磺HTML£©ºÍÀ©Õ¹Á´½Ó£¨Í¬Ê±Á´½Óµ½¶à¸ö×ÊÔ´£©¡£
You can learn more about XLink in our XLink tutorial.
ΪÁËѧϰ¸ü¶à¹ØÓÚXLinkµÄ֪ʶ£¬Çë·ÃÎÊÎÒÃǵÄXLink ½Ì³Ì¡£
HLink adds the ability to specify which attributes of elements represent hyperlinks in XHTML, and specifies how hyperlinks should be traversed.
HLink ¼ÓÈëÁËÈ«ÐµĹ¦ÄÜ¡£Ëü¿ÉÒÔÖ¸¶¨ÔÚXHTMLÖдú±í³¬Á´½ÓµÄÔªËØÊôÐÔ£¬Ö¸¶¨³¬Á´½ÓµÄת»»·½Ê½¡£
HLink is an extension to XLink.
HLinkÊÇXLinkµÄÀ©Õ¹¡£
| Specification ¹æ·¶ |
Draft /Proposal ²Ý°¸ / ÌáÒé |
W3C Recommendation W3C ÍÆ¼öʱ¼ä±í |
| XHTML 1.0 | 26. Jan 2000 [2000Äê1ÔÂ26ÈÕ] |
|
| XHTML 1.0 Revision | 01. Aug 2002 [2002Äê8ÔÂ1ÈÕ] |
|
| XHTML 1.1 | 31. May 2001 [2001Äê5ÔÂ31ÈÕ] |
|
| XHTML Modules | 10. Apr 2001 [2001Äê4ÔÂ10ÈÕ] |
|
| XHTML Modules 1.1 | 13. Feb 2006 [2006Äê2ÔÂ13ÈÕ] | |
| XHTML Basic | 19. Dec 2000 [2000Äê12ÔÂ19ÈÕ] |
|
| XHTML Basic 1.1 | 07. Jun 2006 [2006Äê6ÔÂ7ÈÕ] |
|
| XHTML Events | 14. Oct 2003 [2003Äê10ÔÂ14ÈÕ] |
|
| XHTML Print | 31. Jan 2006 [2006Äê1ÔÂ31ÈÕ] |
|
| XHTML Media Types | 01. Aug 2002 [2002Äê8ÔÂ1ÈÕ] |
|
| XForms 1.0 | 14. Oct 2003 [2003Äê10ÔÂ14ÈÕ] |
|
| XForms 1.0 (SE) | 14. Mar 2006 [2006Äê3ÔÂ14ÈÕ] |
|
| XForms 1.1 | 09. Dec 2005 [2005Äê12ÔÂ9ÈÕ] |
|
| XHTML 2.0 | 27. May 2005 [2005Äê5ÔÂ27ÈÕ] |
|
| XLink | 27. Jun 2001 [2001Äê6ÔÂ27ÈÕ] |
|
| HLink | 13. Sep 2002 [2002Äê9ÔÂ13ÈÕ] |
W3C HTML Home Page [W3C HTML Ö÷Ò³]
ÆÀÂÛ (0)
All