Comparison of HTML 5 and XHTML 1.0 Transitional

王林
Release: 2023-09-08 09:17:19
forward
1274 people have browsed it

HTML 5与XHTML 1.0 Transitional的对比

HTML is represented by SGML and XHTML is represented by XML. Creating XHTML involves more restrictions in the form of markup.

Avoid using the

Convert from HTML to XHTML

  • Add XHTML to the first line of each page
  • Add the xmlns attribute to the HTML of each page Element
  • Change all element names to lowercase
  • Close all empty elements
  • Change all attribute names to lowercase
  • Quote all attribute values

The above is the detailed content of Comparison of HTML 5 and XHTML 1.0 Transitional. For more information, please follow other related articles on the PHP Chinese website!

source:tutorialspoint.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!