chrometweaks.org

What's a good cheap US shared iPage web hosting company?

Click Here To View All Answers...


First off, What's a good cheap US shared iPage web hosting company? Many thanks for any answer. 2nd question I got is.. I am attempting to use XHTML 1.1 on my website. On this website, I have a few quotes, for which I have been using.

This seemed to be working just fine in XHTML 1.0. The use of lang is part of the HTML 4.01 recommendation and does not seem to be deprecated. The problem is, when I try to validate my code, I get an error:.

Anybody have any ideas why this is? I have found nothing in the XHTML 1.1 recommendation about this...

Comments (6)

Good question... I dunno what is the right answer to your question. I'll do some investigation and get back to you if I find an decent answer. You should email the people at iPage as they probably could give you help..

Comment #1

I always revalidate. Well, I do now, anyway. I learned that lesson the hard way quite some time ago..

I think I like the old one better, as well. A bug is the only thing I can think of for this one, unless I am completely misunderstanding XHTML. If I understand correctly, anything no deprecated in HTML 4.01 should not be deprecated in XHTML 1.1. According to.

HTML 4.01.

, the.

Lang.

Attribute is a valid part of the.

Q.

Element..

After reading up a bit more on the lang attribute, I can see that it is inherted, so really isn't necessary in this case, since I use English throughout the document and that is declared in the HTML tag. I suppose that means I can take the offensive attribute out of the offended tag, but that really doesn't change the fact that the validator is seeing an error when there really isn't one...

Comment #2

Try one more thing. You have the lang attribute on three different lines. Remove it from only the first line, and revalidate. Do you get an error for the second line, or no error?.

I also got caught out by the need to revalidate after fixing an error. Seems an easy enough thing to overlook...

Comment #3

After removing the first lang="en-us", I get an.

Error.

On the second occurance...

Comment #4

Given that it is inherited I'd just dump it as you suggested earlier..

Neil..

Comment #5

Not sure but the I think the only valid attribute of the Q tag is cite="..." where cite is the URL of the quoted text..

You may also get an error if you are not using the correct DTD tag at the beginning of your xhtml/html document:.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">.

Or whatever it should be for your document...

Comment #6

In case anyone was interested, I figured out what the problem was. It appears that the lang attribute has, in fact, been removed from XHTML 1.1 (where it was in XHTML 1.0). It has been replaced by the xml:lang attribute. That information can be found in an [.

Appendix.

] that I had not seen before...

Comment #7


This question was taken from a support group/message board and re-posted here so others can learn from it.