XHTML is not very different from the HTML 4.01 standardView more random threads:
- HTML Introduction
- basic introduction to HTML 2012
- HTML and CSS working
- HTML <img> Tag for html users 2011
- div tag is used in html 2011
- Class usage and it's example in css latest version in css...
- HTML Elements
- difference between <br> and <br \> in html and...
- why html is important for students? do you have any idea?
- HTML Web Page Template with Colored Background Options job...
In addition, you should start NOW to write your HTML code in lowercase letters, and NEVER skip closing tags (like </p>).
The Most Important Differences:
XHTML elements must be properly nested
XHTML elements must always be closed
XHTML elements must be in lowercase
XHTML documents must have one root element
Sponsored Links
XHTML Elements Must Always Be Closed
This is wrong:
<p>This is a book
<p>This is another book
This is correct:
<p>This is a book</p>
<p>This is another book</p>
There are currently 1 users browsing this thread. (0 members and 1 guests)