|
|
HTML-XHTML Syntax and Differences by Ramil Alcibar As what I’ve mentioned in the introduction, XHTML is almost identical to HTML. Well take a look on the following changes between HTML and XHTML listed below. As you can see, it seems very laborious task but the truth is you can even do it with some few clicks if you are using advance WYSWYG editors like Maromedia Dreamweaver MX and other webpage editing tools out there. In XHTML,
The Is Mandatory XHTML 1.0 Strict is used when the markup is very clean and there is no extra markup to aid the presentation of the document. Use this together with Cascading Style Sheets.
XHTML 1.0 Transitional should be used if you want to use presentational features of HTML and if you want to support older browsers that don’t support Cascading Style Sheets.
XHTML 1.0 Frameset is used if you divide your page into frames.
All Tags and Attributes Must Be In Lower Case
What was wrong here was the first letter of the tag. It should be in lower case. Consider also the following code which doesn’t conform to this rule. Our mistake here is the capital letter of onClick. On HTML, such things are generally capitalize. Examples are onChange, onBlur, onKeyUp, onMouseOver, onMOuseOut, etc. These should be change to lowercase. Source URL: http://www.triphp.com About The Author Ramil Alcibar is a contributor to TriPHP Webmaster Resources. Page: 1 |
|
|
Copyright © 2004 - 2006
TriPHP. All Rights Reserved. |

