main
side
curve
  1. Welcome to the new boards! Details here!

the official xhtml thread

Discussion in 'Fan Sites' started by darthtuttle, Jun 10, 2004.

Thread Status:
Not open for further replies.
  1. darthtuttle

    darthtuttle Jedi Master star 4

    Registered:
    Apr 2, 2004
    i'm reading xhtml for dummies. this is the thread for discussing anythind xhtml. if u don't use it 4 yo site, use it
     
  2. darthtuttle

    darthtuttle Jedi Master star 4

    Registered:
    Apr 2, 2004
    will someone help me understand what makes it better than html
     
  3. Night4554

    Night4554 Jedi Knight star 5

    Registered:
    Oct 9, 2000
    Using XHTML makes your site a Well-Formed XML Document, which means it can be parsed and understood by XML Readers and browsers.

    ¤Night
     
  4. djr33

    djr33 Jedi Master star 4

    Registered:
    Apr 5, 2003
    ^whoa.... english please :p
    i think i kinda get that... but what is an XML browser? whats the actual advantage to that?
     
  5. darthtuttle

    darthtuttle Jedi Master star 4

    Registered:
    Apr 2, 2004
    an xml browser is a browser that displays documents written in the computer language called xml
     
  6. djr33

    djr33 Jedi Master star 4

    Registered:
    Apr 5, 2003
    yeah, i assumed that, ok, fine, question answered....

    but whats the point of that? why isnt html just as good?
     
  7. darthtuttle

    darthtuttle Jedi Master star 4

    Registered:
    Apr 2, 2004
    with html you have to make multiple webpages for the same webpage so it can be shown on different browser (one version for computers, another for PDA's, another for web TV). In XHTML you can create style sheets so one webpage can be displayed on multiple browsers. XHTML descrides content, but not layout. HTML describes content and layout. That makes XHTML more extensible (which is what the X stands for). You can use style steets to control the size and color of headings. It's hard to explain. Read XHTML for Dummies, it can explain things better. I'll try harder if you want.
     
  8. djr33

    djr33 Jedi Master star 4

    Registered:
    Apr 5, 2003
    ok, i get it now, just was wondering....
     
  9. Night4554

    Night4554 Jedi Knight star 5

    Registered:
    Oct 9, 2000
    XML is used a lot for databases, and if your website is XHTML compliant, it can be converted to a database much easier. (because technically, it already is a database.)

    I believe that using XHTML you can define your own tags also, which, using stylesheets as mentioned, you can make display things the way you want them to be displayed.

    ¤Night
     
  10. darthtuttle

    darthtuttle Jedi Master star 4

    Registered:
    Apr 2, 2004
    XHTML is stricter than HTML, it's case sensitive for one thing
     
  11. Nick_Fel

    Nick_Fel Jedi Master

    Registered:
    Jul 12, 2002
    It also requires that all tags be closed, and must be nested properly, as with regular XML.

    While I can understand the advantages, I don't think they'll benefit my site enough at the moment to warrant changing it.
     
  12. darthtuttle

    darthtuttle Jedi Master star 4

    Registered:
    Apr 2, 2004
    While I can understand the advantages, I don't think they'll benefit my site enough at the moment to warrant changing it.
    y not
     
  13. Nick_Fel

    Nick_Fel Jedi Master

    Registered:
    Jul 12, 2002
    Can't explain it much more than I already did: none of the advantages would benefit my site.

    I haven't heard any demand from people wanting to browse on PDAs or mobile phones, and I know most of the regular members personally. They'd most likely express their annoyance at not being able to get the site on those mediums if they'd ever tried.

    I've got a lot of code to validate, remarkably little free time to do it in, and nothing to gain from doing it.
     
  14. MaxVeers

    MaxVeers TFN FanFilms Staff, Manager Emeritus star 5 VIP - Former Mod/RSA

    Registered:
    Apr 24, 2000
    You may wish to consider it in the future for handicapped or blind users. Most likely they aren't complaining because they can't make any sense out of your site at all. XHTML is much more friendly for text-to-speech devices and so forth.
     
  15. darthtuttle

    darthtuttle Jedi Master star 4

    Registered:
    Apr 2, 2004
    You may wish to consider it in the future for handicapped or blind users. Most likely they aren't complaining because they can't make any sense out of your site at all. XHTML is much more friendly for text-to-speech devices and so forth.
    how
     
  16. darthtuttle

    darthtuttle Jedi Master star 4

    Registered:
    Apr 2, 2004
    please explain the http-equiv attribute of the <meta /> element
     
  17. darthtuttle

    darthtuttle Jedi Master star 4

    Registered:
    Apr 2, 2004
    I read in XHTML for dummies that the <object> element won't be in the next version of XHTML, how are multimedia files supposed to be embeded, wouldn't that mean anyone using multimedia wouldn't use it
     
  18. malducin

    malducin Jedi Padawan star 4

    Registered:
    Oct 23, 2001
    Well maybe the book didn't include the latest info. XHTML v. 1.1 does include the object tag.

    Here is the official definition of the http-equiv, which is actually clearer with the4 example:

    The http-equiv attribute can be used in place of the name attribute and has a special significance when documents are retrieved via the Hypertext Transfer Protocol (HTTP). HTTP servers may use the property name specified by the http-equiv attribute to create an [RFC822]-style header in the HTTP response. Please see the HTTP specification ([RFC2616]) for details on valid HTTP headers.

    The following sample META declaration:

    <META http-equiv="Expires" content="Tue, 20 Aug 1996 14:25:27 GMT">

    will result in the HTTP header:

    Expires: Tue, 20 Aug 1996 14:25:27 GMT

    This can be used by caches to determine when to fetch a fresh copy of the associated document.
     
  19. darthtuttle

    darthtuttle Jedi Master star 4

    Registered:
    Apr 2, 2004
    were can I get the latest info on wut's in XHTML v.1.1
     
  20. Night4554

    Night4554 Jedi Knight star 5

    Registered:
    Oct 9, 2000
    http://www.w3.org/TR/xhtml11/

    ¤Night
     
  21. darthtuttle

    darthtuttle Jedi Master star 4

    Registered:
    Apr 2, 2004
    i don't see th <script> or <applet> elements

    EDIT: my eyes overlooked the script element
     
Thread Status:
Not open for further replies.