View Full Version : xhtml extension


Xiphias
04-03-2003, 10:16 PM
What do you save an XHTML file as? .xml? Thx

Dude128
04-03-2003, 11:56 PM
I believe it's .xhtml

XML is something different- so I doubt it's .xml

Xiphias
04-04-2003, 12:03 AM
okie day, thx

pb&j
04-04-2003, 05:57 AM
you save xhtml documents with an html extension, or htm, or shtml, or php, or... well, the list goes on. basically any "normal" web page extension. i have not yet seen any "xhtml" extensions and dunno if any host would support such an extension.

for example, my pages are valid xhtml coding, but they have the php extension considering they have php coding in them.

xhtml is still html coding, but it is more structured, so as long as the doctype is correct, the page will conform to its rules.

clear as mud?

Xiphias
04-04-2003, 11:13 AM
I agree, clear as mud... I've been doing XHTML for awhile, because I believe it is more compatible with different browsers (or so I've heard) and that's why I was wondering...

Xiphias
04-04-2003, 08:38 PM
Well I've searched and searched but I still can't find out these three things... Can anyone answer them (they are about XHTML):

(1) Do you end images with a slash like you do <br> and <hr> tags? So that it would be <img src="img.gif" alt="" />?

(2) Do you end links with a slash like you do <br> and <hr> tags? So that it would be <a href="http" title="" />?

(3) The coloring of the scrollbars does not seem to work for XHTML... Does anyone know if it will / won't or if I am just doing something wrong? THX

Dude128
04-05-2003, 12:27 AM
oops, I believe I was thinking of something else when I replied...

(1) yes. any tags that do not have a closing tag (such as </td>) need the slash

(2) no, since the <a> tag has a closing tag, </a>

(3 - not sure) you should still be able to use your normal CSS code.

Xiphias
04-05-2003, 01:14 AM
Okee, so anyone know the answer to (3)? as in... for sure?

pb&j
04-05-2003, 06:57 AM
you will have to post the coding you are currently using for that effect and/or a better idea is to post a link to the page in question.

xhtml coding does accept css, including the colored scrollbars.