- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
HTML 5 versus XHTML 1.0 Transitional
HTML is expressed as SGML and XHTML is expressed in XML. Creating XHTML is connected with more restrictions in the form of markup.
Avoid using the <video> or <audio> tags in XHTML 1.0 Transitional, as those are not an element of that specification.
Convert from HTML to XHTML
- Add an XHTML <!DOCTYPE> to the first line of every page
- Add a xmlns attribute to the HTML element of every page
- Change all element names to lowercase
- Close all empty elements
- Change all attribute names to lowercase
- Quote all attribute values
- Related Articles
- Difference between XHTML and HTML 5
- html.parser — Simple HTML and XHTML parser in Python
- Polymer 1.0 dom-repeat should display index starting at 1 with HTML
- Java String.equals() versus ==.
- ADSL versus Cable
- Limitations of using SAP HANA 1.0
- MyISAM versus InnoDB in MySQL?
- calloc() versus malloc() in C
- Matching Versus Searching in Python
- Flooding versus Fixed Routing Algorithms
- For Versus While in C++
- Difference between HTML and HTML 5
- For Versus While Loop in C
- MySQL data types int versus enum?
- Selenium versus BeautifulSoup for Web Scraping.

Advertisements