Jump to content

What do you think about XHTML ?

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
14 replies to this topic

#1
stykat

stykat

    Learning Programmer

  • Members
  • PipPipPip
  • 31 posts
Hello,

I ordered a book for about 3 months and it finally arrived , im happy for that:).

Anyways, it's a book for web development and they actually teach more languages but they do not write about HTML but about XHTML .

I don't know too much about web development or web programming but at W3schools they mentioned that it is indentical to HTML .

But im confused.
I mean, is XHTML taking the role that HTML has ?
And is it better learning HTML or XHTML ?

#2
Vswe

Vswe

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 9,552 posts
The base of XHTML is HTMLs. In XHTML you need to follow the "rules" excactly. For example all elements need an ending tag but in HTML you can still write <br> even though you're actually supposed to write <br /> which also is how you must write it in XHTML. So in XHTML you're more perfect if you understands what I mean.

#3
Guest_Jordan_*

Guest_Jordan_*
  • Guests
XHTML derived from HTML.

#4
debtboy

debtboy

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 916 posts
I think XHTML was basically designed to be a transition from
sloppy HTML to strict XML document styles (where all formatting
would be separate from content), but most sites stuck to transitional
as opposed to strict, just as most sites stuck to CSS vs. XSL/XSLT,
so overall adoption of XML has been slow.
Now with the HTML 5 spec. being developed, all bets are off.
I believe HTML 5 will be quickly adopted, due to additional features
like the canvas object.
I'm brushing up on javascript to take advantage of the canvas object
and the promise of 3D websites. :rolleyes:

#5
stykat

stykat

    Learning Programmer

  • Members
  • PipPipPip
  • 31 posts
Well, i understood some things from this:).
Thank you for your help.

#6
debtboy

debtboy

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 916 posts
Find a new source for books
3 months is unreasonable. ;)

Don't worry about html, xhtml, xml, etc...

Go to pages you like and "view source" with the browser.

Take notice of CSS file links in the header (between <head> & </head> tags)
and plug that address into the URL of the browser. You should see
the css (cascading style sheets) text.

The 2 together generally make up the page formatting.

Notice the <div> tags in the (x)html... id, name, class, etc...
Look for that in the css file text.

Now your on your way, good luck!! :rolleyes:

#7
stykat

stykat

    Learning Programmer

  • Members
  • PipPipPip
  • 31 posts
well our services here in this country are very poor :).
And thank you again for the help.

#8
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
Firefox + firebug also allows you to view how the CSS is applied to each element.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#9
debtboy

debtboy

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 916 posts
excellent tip, I'll make use of that one...
Thanks!!

#10
so1i

so1i

    Programming Professional

  • Members
  • PipPipPipPipPip
  • 312 posts
Chrome + element inspector is pretty good too! :D

#11
debtboy

debtboy

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 916 posts
another good tip, thanks.

I'm not using Chrome, until they come out
with a Linux version. :mad:
I understand that it's being worked on. :)

#12
kwm

kwm

    Newbie

  • Members
  • PipPip
  • 11 posts
I never bought a book about something, that you can study online for free, with more further information, user contributed comments, etc.

I can just recommend selfhtml.org, php.net, jquery.com ;)