HTML
  Home arrow HTML arrow Page 4 - XHTML 2.0 Explained
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Dedicated Servers  
Moblin 
JMSL Numerical Library 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
HTML

XHTML 2.0 Explained
By: Sasha Slutsker
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 26
    2004-08-24

    Table of Contents:
  • XHTML 2.0 Explained
  • Making the Switch
  • Get Ready for New Types of Lists
  • Sections and Headings
  • XForms
  • The MIME Situation

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    XHTML 2.0 Explained - Sections and Headings


    (Page 4 of 6 )

    The old <h1> through <h6> tags are still in XHTML 2.0. However, there is a similar feature intended to replace them. Basically, one just defines a section and then has headings in the section. Something along these lines can be done:

    <section>
     <h>Heading</h>
     <section>
      <h>First Point Heading</h>
      <p>Content</p>
     </section>
     <section>
      <h>Second Point Heading</h>
      <p>Content</p>
     </section>
    </section>

    The point of all of this is to add a level of structure to the document. Everything is laid out simply and in a hierarchal manner. Search engines can get the information more easily, and non-visual web browsers can more easily let the blind user access the page more easily since they just have to look at the heading in the <h> tag.

    The new <p> element

    Unlike old versions of XHTML, in XHTML 2.0 the <p> element can contain block-level elements. (It still can't nest <p> elements, though.) What this means is that it is possible to put lists in a <p> element, tables, and all other sorts of elements. The <p> will be more of a "conceptual idea of a paragraph" according to W3C, the makers of XHTML.

    Forget <hr />, introducing <separator />

    Not nearly as big of a change as all the previous lists, but <hr /> has been replaced with <separator /> in order to more clearly state its purpose. It will place a separator (usually a horizontal line) in the document.

    More HTML Articles
    More By Sasha Slutsker


       · It is me, the writer of the article. I just want to add that there are some examples...
       · is is just me or is anyone else thinking xhtml 2.0 is stupid.Removing <br/>Come...
       · I think it's just you. I welcome these standards as a way to help clean up the...
       · Crappy coding has very little to do with XHTML standards.And more to do with...
       · Please Kndly give a space like <br />It works now my dear.Happy...
       · Since i have made server side scripts, I hate many objects that makes much more work...
       · Who matters? Money-grubbing megacorps that are frozen in 1995 and know nothing...
       · "Removing <br/>Come on, now I have to type 5 times the code for a simple line...
       · "Seperation of content and style is one thing, but making thingslonger and harder...
       · If your scripts aren't flexible enough to allow this simple transition, then they're...
       · The space isn't necessary for anything in common use today (for example Netscape 4...
       · I have study all the documents for XHTML 2.0. But I am getting confusion here for...
     

    HTML ARTICLES

    - Tabular Database Forms with HTML
    - Using the Find Functions for HTML Database F...
    - Sorting for Database Forms with HTML
    - Edit and Other Database Form Functions with ...
    - More Database Form Functions with HTML
    - Database Form Functions with HTML
    - Using the HTML Table Element as a Recordset
    - Building Single Row Database Forms with HTML
    - Introduction to Database Forms with HTML
    - Another Look at Animation of Geographical Ma...
    - Animation of Geographical Map Regions
    - Changing and Moving Pictures with CSS
    - Clickable Geographical Map Regions
    - Gradient Creation with the HR Element
    - Text on HTML Images: Do it Yourself







    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway