Jump to content

[SOLVED] Invalid HTML


gevans

Recommended Posts

Sorry, bad explination....

 

http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fprojects.purplecoffee.co.uk%2Fgap-chile%2Findex.html

 

That's the validation page.

 

The problem is the URL itself;

 

<a href="http://maps.google.co.uk/maps?f=q&source=s_q&hl=en&geocode=&q=chile&sll=53.800651,-4.064941&sspn=18.61907,39.506836&ie=UTF8&z=4" alt="See Chile on Google Maps">Google Map link</a>

 

Cheers,

Gareth

Link to comment
https://forums.phpfreaks.com/topic/172720-solved-invalid-html/#findComment-910430
Share on other sites

Well, for one, <input> is a self-closing tag. That adds onto your errors.

<input value="" type="" name="" id=""/>

 

As for that URL I dunno why the validator is being retarded.... >.> <.< It's set up right.

 

Alt is not an <a href=""> property, to have a mouseover text, use

<a href="" title="TEXT TO DISPLAY"> </a>

 

I dunno about that link, but it's making a big fuss.

Link to comment
https://forums.phpfreaks.com/topic/172720-solved-invalid-html/#findComment-910528
Share on other sites

Well, for one, <input> is a self-closing tag. That adds onto your errors.

<input value="" type="" name="" id=""/>

 

The input tag isn't the issue, easily fixed. And it is already set up properly. It just needs to be wrapped.

 

As for that URL I dunno why the validator is being retarded.... >.> <.< It's set up right.

 

Alt is not an <a href=""> property, to have a mouseover text, use

<a href="" title="TEXT TO DISPLAY"> </a>

 

I dunno about that link, but it's making a big fuss.

 

Cheers on that, didn't notice the alt tag. The correct tag is 'title' no need for a mouseover.

 

In the URL you have to change all the '&' to '&'

 

Cheers haku, I'll give that a try now and get back to you.

Link to comment
https://forums.phpfreaks.com/topic/172720-solved-invalid-html/#findComment-910766
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.