Results 1 to 5 of 5

Thread: xHTML, What it is? Why do we need xHTML?

  1. #1
    Shivanna
    Guest

    xHTML, What it is? Why do we need xHTML?

    Guyz

    Can anyone among you kindly tell me what this xHTML is about? Why do we need xHTML? What are the benefits xHTML offers over HTML?

    Thanks in Adv
    Shivanna
    Web Learner


  2. #2
    Contributing Member
    Join Date
    May 2006
    Answers
    72

    Re: xHTML, What it is? Why do we need xHTML?

    I think the greatest advantage XHTML has over HTML is that XHTML can be parsed by anything (or any language) with an XML parser.


  3. #3

    Re: xHTML, What it is? Why do we need xHTML?

    xHTML is in a way well behaved HTML.The browsers are very generous to forgive syntactically incorrect HTML.

    xHTML is HTML with all the restrictions imposed by xml eg.

    1.All tags should have corrosponding closing tag
    2.The attributes should be quoted.
    3.Using lowercase for HTML tags.(not a restriction imposed by xml)

    This makes parsing HTML as easy as XML.Also,it seems that it is going to be a web standard,so it is always better to follow xHTML standards.

    For detailed explanation,visit

    http://www.w3schools.com/xhtml/default.asp

    Thanks.


  4. #4
    Moderator
    Join Date
    Sep 2006
    Answers
    920

    Re: xHTML, What it is? Why do we need xHTML?

    XHTML stands for EXtensible HyperText Markup Language.

    XHTML is a reformulation of HTML 4.01 in XML, and can be put to immediate use with existing browsers by following a few simple guidelines.

    Regards,
    Brijesh Jain
    ---------------------------------------------------------
    Connect with me on Skype: jainbrijesh
    Google Plus : jainbrijeshji

  5. #5

    Re: xHTML, What it is? Why do we need xHTML?

    HI,
    Friend's i am new here,
    According to me the xHTML is alternate of HTML, it's give us a easy and comleate way in coding for web browser which is comptable with not only the web but also mobile phone and lendline's.
    The basic use of it is making exact web page as we want and show it exactly at different web browser.
    We have reached a point where many pages on the WWW contain "bad" HTML.

    The following HTML code will work fine if you view it in a browser, even if it does not follow the HTML rules:



    This is bad HTML

    Bad HTML


    XML is a markup language where everything has to be marked up correctly, which results in "well-formed" documents.

    XML was designed to describe data and HTML was designed to display data.

    Today's market consists of different browser technologies, some browsers run Internet on computers, and some browsers run Internet on mobile phones and hand helds. The last-mentioned do not have the resources or power to interpret a "bad" markup language.

    Therefore - by combining HTML and XML, and their strengths, we got a markup language that is useful now and in the future - XHTML.

    XHTML pages can be read by all XML enabled devices AND while waiting for the rest of the world to upgrade to XML supported browsers, XHTML gives you the opportunity to write "well-formed" documents now, that work in all browsers and that are backward browser compatible !!!

    i think it's usefull to all of you thank's----BHASKAR CHAUHAN


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact