| Overview |
Visão Geral |
| XHTML 1.0 is "a reformulation of the three HTML 4 document types as applications of XML 1.0". |
XHTML 1.0 é "uma reformulação de três tipos de documento HTML 4 como aplicações para 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. |
O World Wide Web Consortium (W3C) também continua mantendo como recomendação o HTML 4.01, e as especificações para HTML5 e XHTML5 estão sendo desenvolvidas ativamente. |
| 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." |
No documento atual de Recomendação XHTML 1.0, publicado e revisado em agosto de 2002, o W3C comentou que "A família XHTML é o próximo passo na evolução da Internet. Hoje, ao migrar para o XHTML, os desenvolvedores de conteúdo podem ingressar no mundo XML com todos os seus benefícios, mantendo a confiança na compatibilidade com versões anteriores e futuras de seu conteúdo." |
| 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. |
No entanto, em 2005, o Web Hypertext Application Technology Working Group (WHERWG) formou, independentemente do W3C, para trabalhar no avanço do HTML comum, não baseado no 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. |
O Whatwg acabou começando a trabalhar em um padrão que apoiava as serializações XML e não XML, HTML5, paralelamente aos padrões W3C, como o 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. |
Em 2007, o Grupo de Trabalho HTML do W3C votou oficialmente para reconhecer oficialmente o HTML5 e trabalhar nele como o padrão HTML da próxima geração. |
| 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. |
Em 2009, o W3C permitiu que a Carta do Grupo de Trabalho do XHTML 2 expirasse, reconhecendo que o HTML5 seria o único padrão HTML de próxima geração, incluindo serializações XML e não XML. |
| Of the two serializations, the W3C suggests that most authors use the HTML syntax, rather than the XHTML syntax. |
Das duas serializações, o W3C sugere que a maioria dos autores usa a sintaxe HTML, ao invés da XHTML. |
| Motivation |
Motivação |
| XHTML was developed to make HTML more extensible and increase interoperability with other data formats. |
O XHTML foi desenvolvido para tornar o HTML mais extensível e aumentar a interoperabilidade com os outros formatos de dados. |
| 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. |
Além disso, os navegadores relevava erros no HTML, e a maioria dos sites foram exibidos, apesar dos erros técnicos na marcação; O XHTML introduziu um processamento mais rígido de erros. |
| 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. |
O HTML 4 foi supostamente uma aplicação da Linguagem de Marcação Generalizada Padrão (SGML); No entanto, a especificação para SGML era complexa, e nem os navegadores de internet, nem a recomendação do HTML 4 estavam totalmente em conformidade com isso. |
| The XML standard, approved in 1998, provided a simpler data format closer in simplicity to HTML 4. |
O padrão XML, aprovado em 1998, forneceu um formato de dados mais simples e próximo da simplicidade ao 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. |
Trocando para um formato XML, era esperado que o HTML se tornasse compatível com ferramentas XML comuns; Servidores e proxies seriam capazes de transformar o conteúdo, conforme necessário, para dispositivos restritos, como telefones celulares. |
| By using namespaces, XHTML documents could provide extensibility by including fragments from other XML-based languages such as Scalable Vector Graphics and MathML. |
Ao usar namespaces, os documentos XHTML podem fornecer extensibilidade, incluindo fragmentos de outras linguagens baseadas em XML, como gráficos vetoriais escaláveis e matemática. |
| Finally, the renewed work would provide an opportunity to divide HTML into reusable components (XHTML Modularization) and clean up untidy parts of the language. |
Por fim, o trabalho renovado proporcionaria uma oportunidade de dividir o HTML em componentes reutilizáveis (modularização XHTML) e limpar partes desarrumadas da linguagem. |