1 XHTML - Lesson 3/5 Mon Aug 02, 2010 4:39 pm
Unknown Data
Registered Member
XHTML - Lesson 3/5 Learn XHTML - Part 3 |
This is lesson 3 out of 5. Elements in XHMTL The elements in a XHTML document got a lot of new rules. To observe these rules, determines if we can use the XML methods, etc. We will take a look at three steps in this tutorial. Elements should be written with small letters In XML (and also in XHTML) is there a big different if we write with small and big letters. That means there is a big difference at these three elements: <table>, <Table>, <TABLE>. To avoid misunderstanding it's important to conclude witch elements we write with. In XHTML is it defined that element should be written with small letters. Wrong: elements written with big letters
Because many browsers had tolerated overlapped elements, although it had been against the standard, is it popular to let elements overlap each other in HTML documents. That's not allowed in XHTML were we have to end a element, before starting a new one. Again lets take a example. Wrong: elements overlapping each other
Unlike HTML, we have to end a element. Wrong: element there aren't completed
As this gives problem to some old browsers, is it also allowed to just use <br/> and but it's important to remember the slash. |
Notice : This tutorial is copyrighted by WebArtz Forum. You may not publish it on anywhere without written permission from the administrators. |