An open API service indexing awesome lists of open source software.

https://github.com/csaba79-coder/udemyhtmlconvertingxhtmlwithrobert

Converting HTML to XHTML
https://github.com/csaba79-coder/udemyhtmlconvertingxhtmlwithrobert

xhtml

Last synced: 5 months ago
JSON representation

Converting HTML to XHTML

Awesome Lists containing this project

README

          

# UdemyHtmlConvertingXhtmlWithRobert

Convert HTML to XHTML

Good to know 6 steps:

First step:
add !DOCTYPE as the first line of the page!!!
Second step:
add xmlns attribute to the openint html tag! xmlns attribute specifies an xml namespace!
Third step:
ensure that all elements are properly closed and nested!
Fourth step:
change all attribute and elemnt name to lowercase!
Fifth step:
use id attribute instead of name attribute!
Sixth step:
make sure that all attribute values have quotes around them!

See the webpage bellow:

https://www.w3.org/1999/xhtml/