XHTML is not very different from the HTML 4.01 standardView more random threads:
- why html is important for students? do you have any idea?
- HTML Web Page Template with Colored Background Options job...
- Course content for HTML online course which should follow...
- difference between <br> and <br \> in html and...
- HTML and CSS working
- HTML <img> Tag for html users 2011
- HTML Elements
- what are the latest updates for Css May 2011
- basic introduction to HTML 2012
- div tag is used in html 2011
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
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>
Sponsored Links
There are currently 1 users browsing this thread. (0 members and 1 guests)