Index  | Recent Threads  | Unanswered Threads  | Who's Active  | Guidelines  | Search
 

Quick Go »
No member browsing this thread
Thread Status: Active
Total posts in this thread: 4
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 1185 times and has 3 replies Next Thread
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Widget [html] makes my page invalid

http://shiki.biomernok.hu/

Check out the validators on the bottom. The page is 100% valid without them. Any idea?
[Jun 14, 2009 11:01:32 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: Widget [html] makes my page invalid

http://shiki.biomernok.hu/

Check out the validators on the bottom. The page is 100% valid without them. Any idea?



If you click the red one it should give you a list of what it thinks is wrong. Try fixing them and see if the widget still displays OK.

Here's what it looks like to me:

[Jun 15, 2009 3:34:20 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: Widget [html] makes my page invalid



What the validator suggests:

Ampersands (&'s) in URLs

Another common error occurs when including a URL which contains an ampersand ("&"):

<!-- This is invalid! --> <a href="foo.cgi?chapter=1&section=2&copy=3&lang=en">...</a>

This example generates an error for "unknown entity section" because the "&" is assumed to begin an entity reference. Browsers often recover safely from this kind of error, but real problems do occur in some cases. In this example, many browsers correctly convert &copy=3 to ©=3, which may cause the link to fail. Since &lang; is the HTML entity for the left-pointing angle bracket, some browsers also convert &lang=en to 〈=en. And one old browser even finds the entity &sect;, converting &section=2 to §ion=2.

To avoid problems with both validators and browsers, always use & amp; in place of & when writing URLs in HTML:

<a href="foo.cgi?chapter=1& amp;section=2& amp;copy=3& amp;lang=en">...</a>

Note that replacing & with & amp; is only done when writing the URL in HTML, where "&" is a special character (along with "<" and ">"). When writing the same URL in a plain text email message or in the location bar of your browser, you would use "&" and not "& amp;". With HTML, the browser translates "& amp;" to "&" so the Web server would only see "&" and not "& amp;" in the query string of the request.

Edit: *sigh*, encoding changed
----------------------------------------
[Edit 1 times, last edit by Former Member at Jun 15, 2009 11:44:57 AM]
[Jun 15, 2009 11:41:53 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: Widget [html] makes my page invalid

Thank you guys. I'll try to fix them tomorrow.
[Jun 15, 2009 8:55:05 PM]   Link   Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Post new Thread