Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

RE: I use for

by buzzcutbuddha (Chaplain)
on Jun 08, 2000 at 16:13 UTC ( #17061=note: print w/replies, xml ) Need Help??

in reply to I use for

Working at a web design company, I have always strived to keep the design and the code
seperate, especially because you often have clients who want to change the design of their
page often.
The other consideration is that HTML recently changed to XHTML, a subset of XML, and I haven't
heard anything stating that is up to date with the new standard yet.

If you want to know more about XHTML, I suggest you check out:
  • W3C's Explanation of XHTML
  • which has already created the first IDE for XHTML.
    Sebastian Schnitzenbaumer and Cassandra Greer worked with other authors to produce
    Wrox's first book on XHTML.

Replies are listed 'Best First'.
RE: RE: I use for
by merlyn (Sage) on Jun 14, 2000 at 06:18 UTC
    Thus spoke buzzcutbuddha:
    The other consideration is that HTML recently changed to XHTML, a subset of XML,
    That's a bit like saying "a good novel is a subset of the dictionary words". I suppose it's literally true, but it's more accurate to say something like "XHTML is an XML application". You'll have to limit yourself to a subset of XHTML if you want backward compatibility with older browsers, but as far as XHTML is concerned, it is XML with a specific DTD.

    -- Randal L. Schwartz, Perl hacker

RE: RE: I use for
by nutate (Novice) on Jun 08, 2000 at 19:27 UTC

    XHTML, is nice... but the <br /> (br with a space then the empty element delineating slash) thing seems like a bit of a hack which is neither XML nor HTML... then again, I have only fooled with XML and never really made a full app with it. And who know which if any browsers would barf at such a syntax. Mad love to the everything engine, though.

    On the topic of the poll, I must be honest and say I've used to generate entire pages, just do forms, and parse form variables from forms I wrote by hand. The other day in irc, chromatic gave me the tip of HTML::Template which really helps things out when trying to separate formatting (HTML) from code. I highly recommend it. It shortened my latest job by at least 100 lines.

      Actually, since I have started learning XHTML, I have used the <br /> as in my post here, and I have
      yet to see a browser complain or improperly render the layout. And as far as I remember, XML does use the
      space and closing slash on empty elements. I don't know how far XHTML will be accepted in it's current
      incarnation, but we'll see. I guess the biggest reason I don't use for the actual layout is because
      you can't specify with DTD you want to use. I guess that's possible with HTML::Template? I need to read more
      on that.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://17061]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2018-12-11 14:25 GMT
Find Nodes?
    Voting Booth?
    How many stories does it take before you've heard them all?

    Results (55 votes). Check out past polls.

    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!