chrometweaks.org

Difference between goDaddy wordpress and iPage web hosting?

Click Here To View All Answers...


My first question is Difference between goDaddy wordpress and iPage web hosting? Hoping for any comment. Another quick question... Ok - the code appears at.

Http://www.moneycare.com.au/Pages/initialpage.html.

And I am trying to do the right things and validate it all..

Anywho - I am using this validator.

Http://www.htmlhelp.com/tools/validator.

And getting this message:.

"Line 7, character 7:.

</head>.

^.

Error: missing a required sub-element of HEAD".

The top part of code is as follows:.

Can someone please explain this to me??.

THanks..

Comments (5)

I'm stumped. I'm not so sure what is the answer to that question. I'll do some Googling and get back to you if I got an decent answer. You should email the people at iPage as they probably can help you..

Comment #1

The script tags should reflect both the language and/or mime types in them to be HTML 4 compliant..

<script language="Javascript" type="text/javascript">.

However, as the language attribute is not supported in early browsers I believe you can get away with just having the type attribute in HTML 4 Transitional. You need to add those attribs to all the <script> tags..

As for the.

Bgproperties.

Attribute you have in the <body> tag, this is a MSIE extension and not part of HTML 4. You need to use a css style to create the affect you desire..

This is not NS4 compatible though...

Comment #2

Ok not sure about the java thing but as far as the bgproperties="fixed" that works and does just fine with all my pages but that maybe why the script dont want to work like it's supposed to..

Comment #3

All of the fixes are correct that were given just so long as you validate it with a DOCTYPE of HTML 4.01 Transitional..

Transitional is a more friendly version of HTML than the HTML 4.01 Strict version...

Comment #4

Point by point..

Line 1:.

This should always be a doc type declaration so your browsers knows what it is. In your case it should be:.

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

Line 5:.

You need to declare what language your script is in, not my field so don't know what one you are using..

For example if you were using Java Script it would be as follows:.

<script language="JavaScript">.

Line 14:.

As above..

Line 53:.

The problem is the attribute for bgproperties. Did you know this attribute only works in internet explorer (although I am not sure of other 6th gen browsers). If your validator is hardcore to the truth, i.e. HTML 4.01 than this attribute may be invalid, but it could be because you have speach marks around it and (I think) are not supposed to be there. The correct way of doing this would be to set a fixed background using CSS and would solve this problem. Try this: (also let me know if you don't know the CSS equiv and I will sort it out for you, being lazy, sorry)..

<body background="tvbkgnd.gif" bgproperties=fixed>.

Line 66:.

Same as line 5...

Comment #5

Looks like I was moments too late, story of my life.....

Comment #6


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