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
- Host: GitHub
- URL: https://github.com/csaba79-coder/udemyhtmlconvertingxhtmlwithrobert
- Owner: Csaba79-coder
- Created: 2021-10-23T17:53:08.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-10-23T17:57:31.000Z (over 4 years ago)
- Last Synced: 2025-07-27T16:48:41.469Z (11 months ago)
- Topics: xhtml
- Language: HTML
- Homepage: https://www.udemy.com/course/html-and-css-masterclass
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/