gevans Posted September 1, 2009 Share Posted September 1, 2009 Hey guys, My XHTML Strict is currently invalid due to the following link; 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 any idea how I can over come this? Cheers, Gareth Link to comment https://forums.phpfreaks.com/topic/172720-solved-invalid-html/ Share on other sites More sharing options...
Cetanu Posted September 1, 2009 Share Posted September 1, 2009 What code is invalid? What are the validation errors? What does that map have to do with it?! Are you embedding? Link to comment https://forums.phpfreaks.com/topic/172720-solved-invalid-html/#findComment-910429 Share on other sites More sharing options...
gevans Posted September 1, 2009 Author Share Posted September 1, 2009 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 More sharing options...
Cetanu Posted September 1, 2009 Share Posted September 1, 2009 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 More sharing options...
haku Posted September 2, 2009 Share Posted September 2, 2009 In the URL you have to change all the '&' to '&' Link to comment https://forums.phpfreaks.com/topic/172720-solved-invalid-html/#findComment-910693 Share on other sites More sharing options...
gevans Posted September 2, 2009 Author Share Posted September 2, 2009 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 More sharing options...
gevans Posted September 2, 2009 Author Share Posted September 2, 2009 Cheers guys, all valid. Link to comment https://forums.phpfreaks.com/topic/172720-solved-invalid-html/#findComment-910769 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.