Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

What do you think about XHTML ?

XHTML HTML xhtml

  • Please log in to reply
14 replies to this topic

#1 stykat

stykat

    CC Regular

  • Just Joined
  • PipPipPip
  • 31 posts

Posted 19 October 2009 - 02:24 AM

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 ?
  • 0

#2 Vswe

Vswe

    CC Leader

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1989 posts
  • Programming Language:Java, C#, PHP, Python, JavaScript, PL/SQL, Visual Basic .NET, Lua, ActionScript

Posted 19 October 2009 - 03:12 AM

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.
  • 0

#3 Guest_Jordan_*

Guest_Jordan_*
  • Guest

Posted 19 October 2009 - 05:15 AM

XHTML derived from HTML.
  • 0

#4 debtboy

debtboy

    CC Devotee

  • Just Joined
  • PipPipPipPipPipPip
  • 499 posts

Posted 19 October 2009 - 08:14 AM

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:
  • 0

#5 stykat

stykat

    CC Regular

  • Just Joined
  • PipPipPip
  • 31 posts

Posted 19 October 2009 - 09:33 AM

Well, i understood some things from this:).
Thank you for your help.
  • 0

#6 debtboy

debtboy

    CC Devotee

  • Just Joined
  • PipPipPipPipPipPip
  • 499 posts

Posted 19 October 2009 - 02:48 PM

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:
  • 0

#7 stykat

stykat

    CC Regular

  • Just Joined
  • PipPipPip
  • 31 posts

Posted 20 October 2009 - 01:37 AM

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

#8 WingedPanther73

WingedPanther73

    A spammer's worst nightmare

  • Moderator
  • 17757 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others

Posted 20 October 2009 - 08:11 AM

Firefox + firebug also allows you to view how the CSS is applied to each element.
  • 0

Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

My MineCraft server site: http://banishedwings.enjin.com/


#9 debtboy

debtboy

    CC Devotee

  • Just Joined
  • PipPipPipPipPipPip
  • 499 posts

Posted 20 October 2009 - 02:51 PM

excellent tip, I'll make use of that one...
Thanks!!
  • 0

#10 so1i

so1i

    CC Addict

  • Advanced Member
  • PipPipPipPipPip
  • 297 posts

Posted 21 October 2009 - 02:00 AM

Chrome + element inspector is pretty good too! :D
  • 0

#11 debtboy

debtboy

    CC Devotee

  • Just Joined
  • PipPipPipPipPipPip
  • 499 posts

Posted 21 October 2009 - 05:16 AM

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. :)
  • 0

#12 kwm

kwm

    CC Newcomer

  • Just Joined
  • PipPip
  • 11 posts

Posted 25 October 2009 - 10:44 AM

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 ;)
  • 0





Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download