Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsDiscussion Forum → When do I switch to XHTML?
When do I switch to XHTML?
2004-02-28, 5:43 AM #1
I figure there's no reason not to switch on my next project. But I figured that on my last project. And the project before that.

Hmmm...


------------------
To artificial life, all reality is virtual.
HTP
2004-02-28, 5:50 AM #2
You should really be using XHTML already...

I switched about a year ago, it really wasn't any hassle. About 10 minutes to learn the differences, about 10 minutes to get used to writing in the new way.
Detty. Professional Expert.
Flickr Twitter
2004-02-28, 6:07 AM #3
K. I'm going to for this next project.
And I think I'll slowly switch my site over.

------------------
To artificial life, all reality is virtual.
HTP
2004-02-28, 7:48 AM #4
Any suggestions on places to get started learning it Detty?

Though i suppose i should learn php first really.

------------------
[Blue Mink Bifocals !] [fsck -Rf /world/usr/] [<!-- kalimonster -->] [Capite Terram]
"You'll have to face it, the endings are the same however you slice it. Don't be deluded by any other endings, they're all fake, with malicious intent to deceive, or just motivated by excessive optimism if not by downright sentimentality. The only authentic ending is the one provided here: John and Mary die. John and Mary die. John and Mary die." -Happy Endings [Margeret Atwood]
NPC.Interact::PressButton($'Submit');
Also, I can kill you with my brain.
2004-02-28, 7:51 AM #5
http://www.w3schools.com/xhtml/default.asp
Detty. Professional Expert.
Flickr Twitter
2004-02-28, 8:28 AM #6
Heh, 10 minutes was about right actually [http://forums.massassi.net/html/tongue.gif]
This may be a foolish question, but can one use php and xhtml together? Or. I guess i'm a bit confused on that. Maybe i'll just go run through the php school and see..

------------------
[Blue Mink Bifocals !] [fsck -Rf /world/usr/] [<!-- kalimonster -->] [Capite Terram]
"You'll have to face it, the endings are the same however you slice it. Don't be deluded by any other endings, they're all fake, with malicious intent to deceive, or just motivated by excessive optimism if not by downright sentimentality. The only authentic ending is the one provided here: John and Mary die. John and Mary die. John and Mary die." -Happy Endings [Margeret Atwood]
NPC.Interact::PressButton($'Submit');
Also, I can kill you with my brain.
2004-02-28, 8:38 AM #7
The only differences the average designer will notice is the enforced rules on tags (ie <br /> ) and use of CSS rather than depreciated tags. PHP can be used in exactly the same as older versions of HTML.
Detty. Professional Expert.
Flickr Twitter
2004-02-28, 8:53 AM #8
I suppose the next question is how to go about getting up to speed with php. I found the w3schools tutorial on it. But it says you need to install like mysql and apache and php which sounds like a nuisance.

------------------
[Blue Mink Bifocals !] [fsck -Rf /world/usr/] [<!-- kalimonster -->] [Capite Terram]
"You'll have to face it, the endings are the same however you slice it. Don't be deluded by any other endings, they're all fake, with malicious intent to deceive, or just motivated by excessive optimism if not by downright sentimentality. The only authentic ending is the one provided here: John and Mary die. John and Mary die. John and Mary die." -Happy Endings [Margeret Atwood]
NPC.Interact::PressButton($'Submit');
Also, I can kill you with my brain.
2004-02-28, 9:01 AM #9
LOL Dor.
Well either have it in your web host or you have to install it.
The easiest way to install it on your machine as localhost is with Foxserv.
Then you can go to www.sitepoint.com . They have some good tutorials.
I also bought Beginning PHP which I found to be a usefull book.

------------------
To artificial life, all reality is virtual.
HTP
2004-02-28, 10:02 AM #10
So is XHTML basically strict HTML, the only two new things are the DOCTYPE thing, and the fact you have to do "<br />" instead of just "<br>"?

------------------
GhostOfYoda - General doer of stuff.
Massassi's Official Chatroom: irc.synirc.com #massassi
2004-02-28, 10:17 AM #11
XHTML1.1 basically is just strict HTML. XHTML2, however, will be much more different, and not backwards compatible.
2004-02-28, 10:25 AM #12
Quote:
<font face="Verdana, Arial" size="2">Originally posted by GhostOfYoda:
So is XHTML basically strict HTML, the only two new things are the DOCTYPE thing, and the fact you have to do "<br />" instead of just "<br>"?

</font>


<br />
<hr />
<img src="blah" alt="blah" />
<div></div>
<span></span>

the rule is that all tags must be closed, they should also all be lowercase.
Detty. Professional Expert.
Flickr Twitter
2004-02-28, 10:27 AM #13
Hm.. got my test site up to specs in xhtml.. works in Opera, works in IE.. but in FireFox it just displays the raw xml tree:

Quote:
<font face="Verdana, Arial" size="2">This XML file does not appear to have any style information associated with it. The document tree is shown below.</font>


[http://forums.massassi.net/html/redface.gif]

------------------
[Blue Mink Bifocals !] [fsck -Rf /world/usr/] [<!-- kalimonster -->] [Capite Terram]
"You'll have to face it, the endings are the same however you slice it. Don't be deluded by any other endings, they're all fake, with malicious intent to deceive, or just motivated by excessive optimism if not by downright sentimentality. The only authentic ending is the one provided here: John and Mary die. John and Mary die. John and Mary die." -Happy Endings [Margeret Atwood]
NPC.Interact::PressButton($'Submit');
Also, I can kill you with my brain.
2004-02-28, 10:47 AM #14
Are you sure it passes the specs? If it does, that's one strike for firefox... (which I'm using right now)

I have noticed a number of pages displayed incorectly in firefox, but from what I've heard that is a side effect of web sites trying to get their page to work in IE.
2004-02-28, 11:15 AM #15
Well i learned xhtml straight from w3. And so everything would seem to be kosher [after various fixes to the tree to make it display properly.

I also can't for the life of me find an xhtml validator on w3. I try to use the one that Opera has which uploads pages to w3 and it returns:
Sorry, I am unable to validate this document because its content type is text/xhtml, which is not currently supported by this service.

------------------
[Blue Mink Bifocals !] [fsck -Rf /world/usr/] [<!-- kalimonster -->] [Capite Terram]
"You'll have to face it, the endings are the same however you slice it. Don't be deluded by any other endings, they're all fake, with malicious intent to deceive, or just motivated by excessive optimism if not by downright sentimentality. The only authentic ending is the one provided here: John and Mary die. John and Mary die. John and Mary die." -Happy Endings [Margeret Atwood]
NPC.Interact::PressButton($'Submit');
Also, I can kill you with my brain.
2004-02-28, 11:17 AM #16
http://validator.w3.org
Detty. Professional Expert.
Flickr Twitter
2004-02-28, 11:22 AM #17
Yeah Detty, that's what i've been trying to use, stil get that message.

------------------
[Blue Mink Bifocals !] [fsck -Rf /world/usr/] [<!-- kalimonster -->] [Capite Terram]
"You'll have to face it, the endings are the same however you slice it. Don't be deluded by any other endings, they're all fake, with malicious intent to deceive, or just motivated by excessive optimism if not by downright sentimentality. The only authentic ending is the one provided here: John and Mary die. John and Mary die. John and Mary die." -Happy Endings [Margeret Atwood]
NPC.Interact::PressButton($'Submit');
Also, I can kill you with my brain.
2004-02-28, 12:30 PM #18
Heres a shining example of XHTML and CSS compliance: http://massassi.net/jkarena

------------------
Ω of 14
New! Fun removed by Vinny :[
2004-02-28, 12:59 PM #19
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
<meta http-equiv="Content-Language" content="en-us" />
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<meta name="description" content="Dormouse' Teapot of Kipple, now with twice the kipple." />
<meta name="keywords" content="xyzzy" />
<link rel="stylesheet" type="text/css" href="jane.css" />
<title>Dormouse' Teapot of Kipple +23</title>
</head>

<body class="mono">


I'm not seeing any noteworthy differences between this and the jkarena header, but it keeps denying this one on grounds of being text/xhtml which isn't yet supported, whereas the jkarena site cleares perfectly.

------------------
[Blue Mink Bifocals !] [fsck -Rf /world/usr/] [<!-- kalimonster -->] [Capite Terram]
"You'll have to face it, the endings are the same however you slice it. Don't be deluded by any other endings, they're all fake, with malicious intent to deceive, or just motivated by excessive optimism if not by downright sentimentality. The only authentic ending is the one provided here: John and Mary die. John and Mary die. John and Mary die." -Happy Endings [Margeret Atwood]
NPC.Interact::PressButton($'Submit');

[This message has been edited by Dormouse (edited February 28, 2004).]
Also, I can kill you with my brain.
2004-02-28, 7:16 PM #20
XHTML? Pfft. Useless.


Ill stick to plain ole HTML, thank you. [http://forums.massassi.net/html/wink.gif]

------------------
The future is here, and all bets are off.
And when the moment is right, I'm gonna fly a kite.
2004-02-28, 9:30 PM #21
XHTML is essentially HTML, but youre not supposed to use the old attributes and you mayen't have CAPITAL LETTERED TAGS and you have to close single tag stuff like <br /> and such

Other than that its not much different

Comon! youre a linux nerd, youre supposed to be rabid and foaming at the mouth for this open standards stuff.

------------------
Ω of 14
New! Fun removed by Vinny :[
2004-02-29, 5:11 AM #22
I wonder how long it will be before MS completly takes over XML (I think they were already granted a patent for it).
2004-02-29, 5:12 AM #23
Quote:
<font face="Verdana, Arial" size="2">Originally posted by oSiRiS:
Comon! youre a linux nerd, youre supposed to be rabid and foaming at the mouth for this open standards stuff.

</font>


No, GBK is a conservative linux nerd. [http://forums.massassi.net/html/wink.gif]
2004-02-29, 7:48 AM #24
Quote:
<font face="Verdana, Arial" size="2">Originally posted by Mystic0:
No, GBK is a conservative linux nerd. [http://forums.massassi.net/html/wink.gif]</font>


Exactally. [http://forums.massassi.net/html/wink.gif]


I write all my html by hand. In a plain text editor. I dont cut and paste anything, I dont use any GUIs, I type it all out by hand. Granted, it may not follow exacting WC3 specs, but those are just reccomendations, not rigid guidelines.

Im not going to take the time to learn xhtml when it will profit me NOTHING, and when good old html will still work. xhtml may be the latest and greatest thing, but I see no practical reason to use it.

------------------
The future is here, and all bets are off.

[This message has been edited by GBK (edited February 29, 2004).]
And when the moment is right, I'm gonna fly a kite.
2004-02-29, 7:52 AM #25
GBK, it literally takes you 4 minutes to see the differences and apply them next time you write any html.
All the differences have been posted here.


------------------
To artificial life, all reality is virtual.
HTP
2004-02-29, 8:25 AM #26
Many people are sticking to HTML 4 until XHTML 2, because a lot of browsers are having problems with XHTML 1 and 1.1.
2004-02-29, 9:16 AM #27
Quote:
<font face="Verdana, Arial" size="2">Originally posted by Darth Evad:
GBK, it literally takes you 4 minutes to see the differences and apply them next time you write any html.</font>


I can see the differences. I dont like the differences. I just dont see the point of closing all my tags. Its stupid, pointless, and irrelevent.

------------------
The future is here, and all bets are off.
And when the moment is right, I'm gonna fly a kite.
2004-02-29, 9:21 AM #28
The same could be said of spending hours and hours of time on learning how to use a new operating system.

You say "welcome to the future" when someone uses firebird, and yet the future is actually created by w3: the people who create the standards that you disregard. Come on.
2004-02-29, 9:27 AM #29
Quote:
<font face="Verdana, Arial" size="2">Originally posted by GBK:
I can see the differences. I dont like the differences. I just dont see the point of closing all my tags. Its stupid, pointless, and irrelevent.

</font>


1. It ensures that the document is well-formed. Unclosed tags are a mess for the developer and the browser.
2. XML requires all tags be closed, and XHTML must adhere to that in order to gain the benefits that XML brings.
3. Why don't you like the differences? http://www.nypl.org/styleguide/xhtml/benefits.html

I think your problem isn't with XHTML, GBK, but your laziness. If you can't write <br /> then you might as well not make webpages at all. You seem to stubbornly hang on to all technology- COG, Perl, VB, HTML4... sheesh. 1999 called, they want your hobbies back.
2004-02-29, 9:30 AM #30
Guh.. and after all that time trying to figure out what was wrong with my code, it turns out that itwas all buggering because it was a .xhtml file, so i changed the extension to .html and w3 loves it now.. [http://forums.massassi.net/html/rolleyes.gif]

------------------
[Blue Mink Bifocals !] [fsck -Rf /world/usr/] [<!-- kalimonster -->] [Capite Terram]
"You'll have to face it, the endings are the same however you slice it. Don't be deluded by any other endings, they're all fake, with malicious intent to deceive, or just motivated by excessive optimism if not by downright sentimentality. The only authentic ending is the one provided here: John and Mary die. John and Mary die. John and Mary die." -Happy Endings [Margeret Atwood]
NPC.Interact::PressButton($'Submit');
Also, I can kill you with my brain.
2004-02-29, 9:46 AM #31
Quote:
<font face="Verdana, Arial" size="2">Originally posted by Jedi Legend:
...I think your problem isn't with XHTML, GBK, but your laziness....</font>


Bingo. "Interoperability with wireless devices" is not a good enough warrent for the extra 2 characters.

------------------
The future is here, and all bets are off.
And when the moment is right, I'm gonna fly a kite.
2004-02-29, 9:50 AM #32
I like the strict style that XHTML offers. Programmers can appreciated this. Maybe, might, hopefully, XHTML will reduce or even eliminate the annoyances of trying to make cross-browser compliant pages. Do I expect IE to adopt XHTML standards? Oh hell no. I'll put $20 on Mozilla, Opera, Safari, etc. to adopt XHTML rendering.

------------------
<scribbly handwriting barely resembling name>
Code to the left of him, code to the right of him, code in front of him compil'd and thundered. Programm'd at with shot and $SHELL. Boldly he typed and well. Into the jaws of C. Into the mouth of PERL. Debug'd the 0x258.

↑ Up to the top!