{"id":1699,"date":"2003-09-07T08:29:51","date_gmt":"2003-09-07T22:29:51","guid":{"rendered":"http:\/\/michaelhans.com\/eclecticism\/2003\/09\/07\/validation-favelets\/"},"modified":"2019-12-06T08:58:55","modified_gmt":"2019-12-06T16:58:55","slug":"validation-favelets","status":"publish","type":"post","link":"https:\/\/michaelhans.com\/eclecticism\/2003\/09\/07\/validation-favelets\/","title":{"rendered":"Validation favelets"},"content":{"rendered":"<div class='__iawmlf-post-loop-links' style='display:none;' data-iawmlf-post-links='[{&quot;id&quot;:13523,&quot;href&quot;:&quot;http:\\\/\\\/www.zeldman.com\\\/daily\\\/0803a.shtml#se0603&quot;,&quot;archived_href&quot;:&quot;&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[],&quot;broken&quot;:false,&quot;last_checked&quot;:null,&quot;process&quot;:&quot;done&quot;},{&quot;id&quot;:13524,&quot;href&quot;:&quot;http:\\\/\\\/validator.w3.org:8001&quot;,&quot;archived_href&quot;:&quot;https:\\\/\\\/web-wp.archive.org\\\/web\\\/20050803235505\\\/http:\\\/\\\/validator.w3.org:8001\\\/&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2026-03-12 11:26:05&quot;,&quot;http_code&quot;:503},{&quot;date&quot;:&quot;2026-03-16 04:15:24&quot;,&quot;http_code&quot;:503}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-03-16 04:15:24&quot;,&quot;http_code&quot;:503},&quot;process&quot;:&quot;done&quot;}]'><\/div>\n<p>Jeffrey Zeldman has <a href=\"http:\/\/www.zeldman.com\/daily\/0803a.shtml#se0603\" title=\"Favelets Updated\">posted<\/a> two &#8216;favelets&#8217; for easy one-click site validation. Drag them onto your browser bookmark bar, and with one click, you can run any page you&#8217;re at through the W3C&#8217;s beta <a href=\"http:\/\/validator.w3.org:8001\/\" title=\"W3C Markup Validator\">page validation service<\/a>. Very handy.<\/p>\n<p>On a related note, every page of this redesign validated from the get-go. The single issue I ran into was with a link in a story earlier where I&#8217;d forgotten to escape the ampersands in the link. The ampersand character &#8212; &amp; &#8212; should be coded in valid HTML as <code>&amp;amp;<\/code>, and failure to do so will result in broken validation. Unfortunately, because many database-driven sites use a URL format of <code>http:\/\/www.server.com\/option1=\u201csample\u201d&amp;option2=\u201csample\u201d<\/code> or some such, you occasionally need to remember to fix the link so that it looks like <code>http:\/\/www.server.com\/option1=\u201csample\u201d&amp;amp;option2=\u201csample\u201d<\/code>. A minor annoyance, but not insurmountable. Once I got that link fixed, I validated without any further changes needed. Go me!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The ampersand character &mdash; &amp; &mdash; should be coded in valid HTML as <code>&amp;&amp;<\/code>, and failure to do so will result in broken validation.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2040],"tags":[65],"class_list":["post-1699","post","type-post","status-publish","format-standard","hentry","category-blog","tag-technology"],"_links":{"self":[{"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/posts\/1699","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/comments?post=1699"}],"version-history":[{"count":0,"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/posts\/1699\/revisions"}],"wp:attachment":[{"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/media?parent=1699"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/categories?post=1699"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/michaelhans.com\/eclecticism\/wp-json\/wp\/v2\/tags?post=1699"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}