Benefits of XHTML

Started by virgil, October 05, 2012, 05:06:46 AM

virgil

XHTML is the combination of programming language and HTML language. Basically it is used for balancing of browser friendliness. The benefits of XHTML are it is easily accessible with browsers of cell phones and mobile phones. It is well-suited with XML. It is compatible with internet technology. It improves the interactivity and features.
   
I welcome You to share your ideas on this.

parkerjohnson

The benefits of adopting XHTML now or migrating your existing site to the new standards are numerous:

    XHTML ensures excellent forward-compatibility
    XHTML is the new set of standards that the web will be built on in the years to come
    Future browser versions might stop supporting deprecated elements from old HTML
    XHTML is no more difficult to use than HTML ever was
    XHTML produces a more streamlined experience for users
    Browsers interpret and display XHTML pages quicker
    XHTML pages are more accessible than old style HTML pages
    XHTML pages are guaranteed to work in any standards-compliant browser
    XHTML allows greater access to devices other than a computer and browser

marymnewland

Quote from: parkerjohnson on October 08, 2012, 02:03:48 AM
The benefits of adopting XHTML now or migrating your existing site to the new standards are numerous:

    XHTML ensures excellent forward-compatibility
    XHTML is the new set of standards that the web will be built on in the years to come
    Future browser versions might stop supporting deprecated elements from old HTML
    XHTML is no more difficult to use than HTML ever was
    XHTML produces a more streamlined experience for users
    Browsers interpret and display XHTML pages quicker
    XHTML pages are more accessible than old style HTML pages
    XHTML pages are guaranteed to work in any standards-compliant browser
    XHTML allows greater access to devices other than a computer and browser

Completely agree with you :)

ruby

Some of the benefits of XHTML:-

XHTML documents are XML conforming. As such, they are readily reviewed, edited and validated with standard XML tools such as the MSXML parser.
XHTML documents can be written to operate as well or better that they did before in existing HTML 4-conforming user agents as well as in new, XHTML 1.0 conforming user agents.
XHTML documents can utilize applications (e.g. scripts and applets) that rely upon either the HTML Document Object Model or the XML Document Object Model (DOM)

Kaelwilliam

I agree XHTML is quickly becoming the standard for web development.

rob12

XHTML documents are backward compatible with older, non-XHTML compliant web browsers. Instead of sloppy HTML tags, your pages will now contain XML tags that are always properly closed and nested correctly, such as:

<p><b><u>This is some text<br /><br /></u></b></p>
Instead of:

<p><b><u>This is some text<br><br></b></u>
You can see that the XHTML version of the code above has a <p>, <b>, and then a <u> tag. These tags are closed in the reverse order that they were created in: </u>, </b>, and lastly </p>. All tags must be closed in this way for the XHTML document to be considered valid.

Also, notice the <br /> tags? Because of the way non-XHTML browsers are designed, as long as you leave a space between the beginning of the tag and the "/>", then they will just treat the tag normally, and ignore the forward-slash.