Page 1 of 2 12 LastLast
Results 1 to 10 of 16
Like Tree1Likes

Thread: Html / xhtml

  1. #1
    Junior Member webdevelop's Avatar
    Join Date
    Aug 2009
    Posts
    1

    Default Html / xhtml 25 Aug 2009 @ 09.37

    Who created HTML and XHTML?
      Reply With Quote

  2. #2
    Trusted Guru WelshStew's Avatar
    Join Date
    Dec 2008
    Posts
    2,555
    Blog Entries
    3

    Default 25 Aug 2009 @ 10.29

    HTML was first thought up around 1980 by Tim Berners-Lee, although a fully formed basic version wasn't around until 1990 when it was accepted by his employer CERN.

    From there it has grown and been driven by the community who use it, web developers, and particularily by the world wide web consortium (set up in 1996)

    The latest version of HTML (4.01) was published as a recommendation back in 1999, and so we all partied like it was that year.

    We are awaiting HTML5, which is currently in working draft (since 2008).

    xHTML, grew out of HTML and was published as a recommendation in 2000. We still only have version 1.0. Version 2.0, whilst a working draft, will not continue to be developed. Instead, we should have xHTML5; which is being developed alongside HTML5.

    Having said that, I heard somewhere that Al Gore invented it????
      Reply With Quote

  3. #3
    Gaz
    Gaz is offline
    Member Gaz's Avatar
    Join Date
    Jan 2009
    Posts
    113

    Default 25 Aug 2009 @ 10.35

    quote
    Having said that, I heard somewhere that Al Gore invented it????
    Originally Posted by WelshStew View Post
    I always liked his comeback

    quote
    [FONT=Verdana][SIZE=2]The day I made that statement, about the inventing the internet, I was tired because I'd been up all night inventing the Camcorder.[/SIZE][/FONT]
    Originally Posted by Al Gore
      Reply With Quote

  4. #4
    Senior Member Jason's Avatar
    Join Date
    Dec 2008
    Posts
    911

    Default 25 Aug 2009 @ 13.55

    Check out w3.org

    Regarding what has been written.

    XHTML is HTML 4.0 rewritten in xml. Basically, professional's decided that HTML was a bit of a tag soup and they wanted to create valid documents which made sense. This means that instead of this.

    Code:
    <div CLASS=content>
      <P>Some text
    </div>
    becomes this.

    Code:
    <div class="content">
      <p>Some text</p>
    </div>
    Visually the 2 above snippets should display the same. When it comes to reading and maintaining code the second is far nicer.

    However, XHTML was never proper supported by IE which led to some problems.

    This brings us closer to today. XHTML2 isn't the next version of XHTML. It is basically a new mark up language with lots of new tags. Because of this, it became somewhat unpopular within the development community. Mark up needs to be improved but it doesn't need to be completely rewritten from scratch. With this in mind the current version of XHTML2 was abandoned.

    XHTML5 doesn't really exist, its like DHMTL, just a tag for existing technologies. HTML5 is case insensitive and you do not need to close tags. Another tag soup. If you add a line telling the browser to render this page as XML you are forced into lower case + closing tags. Thus you effectively have 'XHTML5'. HTML 5 rendered as XML.
      Reply With Quote

  5. #5
    Trusted Guru WelshStew's Avatar
    Join Date
    Dec 2008
    Posts
    2,555
    Blog Entries
    3

    Default 25 Aug 2009 @ 13.59

    quote
    If you add a line telling the browser to render this page as XML you are forced into lower case + closing tags. Thus you effectively have 'XHTML5'. HTML 5 rendered as XML.
    Originally Posted by Jason View Post
    I didn't know that, thanks for pointing it out. [need to read more, but no time]
      Reply With Quote

  6. #6
    Senior Member Mike Hopley's Avatar
    Join Date
    Jul 2009
    Posts
    712

    Default 25 Aug 2009 @ 15.51

    quote
    Visually the 2 above snippets should display the same. When it comes to reading and maintaining code the second is far nicer.
    Originally Posted by Jason View Post
    Both snippets are valid HTML. However, the W3C validator does not "enforce" the latter (neater) syntax for HTML, whereas it does "enforce" it for XHTML. This is a purely formal artefact; if you want, you can write HTML and validate it against an XHTML grammar (validating against a custom DTD).


    quote
    However, XHTML was never proper supported by IE which led to some problems.
    Such as (almost) nobody using it.


    quote
    XHTML5 doesn't really exist, its like DHMTL, just a tag for existing technologies.
    I'm not sure what you mean by this. Can you explain any respect in which XHTML 5 is "less real" or "less XML" than XHTML 1 or 2? They seem equally real to me.
      Reply With Quote

  7. #7
    Senior Member CloudedVision's Avatar
    Join Date
    Jan 2009
    Posts
    824
    Blog Entries
    4

    Default 25 Aug 2009 @ 22.22

    quote
    However, XHTML was never proper supported by IE which led to some problems.
    Originally Posted by Jason View Post
    A quick note on that: Quite a lot of people say this, and its true, but rather misleading. IE does not support XML, the base of XHTML. However, if you serve the XHTML document with the MIME type text/html rather than the correct text/xml, IE is absolutely fine with it. (In other words, you need to trick it into thinking its HTML)

    Since most people aren't going to bother with using the correct MIME type of text/xml, but rather just leave it on the default text/html, XHTML doesn't cause any issues with IE for the most part.
      Reply With Quote

  8. #8
    Senior Member Jason's Avatar
    Join Date
    Dec 2008
    Posts
    911

    Default 26 Aug 2009 @ 06.44

    quote
    I'm not sure what you mean by this. Can you explain any respect in which XHTML 5 is "less real" or "less XML" than XHTML 1 or 2? They seem equally real to me.
    Originally Posted by Mike Hopley View Post
    Well, XHTML5 isn't a programming language. Just like DHTML isn't a programming language. DHTML is a term used to describe programming with Javascript and HTML. You cannot learn DHTML, its just a - I don't know the word... tag? - to describe the combination of 2 technologies.

    Its like XHTML5. It doesn't exist. You can learn HTML5 and you can learn XML. XHTML5 isn't a separate language in itself. Its just the product of putting HTML5 and xml together.
      Reply With Quote

  9. #9
    Senior Member Mike Hopley's Avatar
    Join Date
    Jul 2009
    Posts
    712

    Default 26 Aug 2009 @ 08.12

    quote
    Its like XHTML5. It doesn't exist. You can learn HTML5 and you can learn XML. XHTML5 isn't a separate language in itself. Its just the product of putting HTML5 and xml together.
    Originally Posted by Jason View Post
    I don't see how this differs from XHTML 1.0, for example. The only difference is that XHTML 1.0 got a specification of its own, whereas the XHTML 5 spec is combined with the HTML 5 spec. That's just a difference of documentation.

    If you're talking about syntax, then yes, XHTML 5 and HTML 5 are nearly identical. However, the same is true of HTML 4.01 and XHTML 1.0.

    Define "separate language". :p
      Reply With Quote

  10. #10
    Senior Member Jason's Avatar
    Join Date
    Dec 2008
    Posts
    911

    Default 26 Aug 2009 @ 08.38

    *sigh*

    The difference is exactly what you said.

    XHTML1, HTML4/5 all have specifications from W3C. 'XHTML5' is simply using HTML5 while parsing it with xml and the xml syntax.

    XHTML1's syntax is similar to that of HTML but there are some minor differences.

    'XHTML5' and HTML5 syntax are identical because they are the same formulation of HTML. Only difference is how the document is being parsed.

    All I am trying to say is that XHTML5 shouldn't be mistaken for a new version or iteration of XHTML. It is simply a buzzword used to describe the use of HTML5 + xml together.

    For example, on your CV, you would put down HTML5 as something you know. Not XHTML5.
      Reply With Quote

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 28
    Last Post: 19 Dec 2010, @ 20.19
  2. HTML,XHTML,CSS,PHP & MySQL for Dummies
    By Wrams in forum Just Starting Out - Help Me!
    Replies: 17
    Last Post: 5 May 2010, @ 11.25
  3. PSD to XHTML & CSS Web Buisness
    By Wrams in forum Coffee House
    Replies: 5
    Last Post: 31 May 2009, @ 09.52
  4. Fastest and best way to learn XHTML and CSS
    By Michael in forum Coffee House
    Replies: 4
    Last Post: 24 Feb 2009, @ 13.41

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •