{"id":370,"date":"2010-09-17T09:00:21","date_gmt":"2010-09-17T17:00:21","guid":{"rendered":"https:\/\/www.numinix.com\/blog\/?p=370"},"modified":"2019-05-29T11:12:21","modified_gmt":"2019-05-29T18:12:21","slug":"how-to-ensure-your-web-pages-are-xhtml-validated","status":"publish","type":"post","link":"https:\/\/www.numinix.com\/blog\/how-to-ensure-your-web-pages-are-xhtml-validated\/","title":{"rendered":"How to Ensure Your Web Pages Are XHTML Validated"},"content":{"rendered":"<p>I know what you are thinking&#8230;what in the world is XHTML validation?\u00a0 I am glad you asked.\u00a0 XHTML validation ensures that all of your website is up to code.\u00a0 Didn&#8217;t know building a website was that much like building a house, did you?\u00a0 Just like in the housing industry, the web design industry has certain rules for structure, and syntax. You don&#8217;t <em>have <\/em>to build to code, but it is certainly better, and more profitable, if you do.\u00a0 Checking to see if your site is validated is fast and easy.\u00a0 So there is no reason not to ensure your web pages are XHTML validated.<\/p>\n<h3>Why all the fuss?<\/h3>\n<p>I know the arguments already.\u00a0 &#8220;I don&#8217;t need to validate, my site looks fine&#8221;, or &#8220;making sure the code is validated is too\u00a0 expensive&#8221;, or &#8220;it will quench my artistic flair&#8221;.\u00a0 All I can say is wrong, wrong, and&#8230;boo hoo&#8230;wrong!\u00a0 Actually, just because your site looks good on your browser, doesn&#8217;t mean it will on every other one.\u00a0 To kill the second argument, you should actually be requiring your web designer to build to proper code in the first place.\u00a0 Finally, in 2010, most of your fantastically designed, content rich websites are built with standard HTML and CSS script.\u00a0 Still not convinced?\u00a0 Let me\u00a0 give you three great reasons to make sure you validate all of your pages:<\/p>\n<ul>\n<li>It is much easier to apply style and layout consistently across multiple platforms and user agents when you have validated HTML script.<\/li>\n<li>If your site is built to the proper standard, it stands a much better chance of being handled as it was designed by both present and future web platforms, browser version changes, etc.<\/li>\n<li>It separates you as a professional web designer from the world of pimple-faced teenagers who quickly hack something together for extra cash.<\/li>\n<\/ul>\n<h3>Okay, I get it&#8230;now what?<\/h3>\n<p>Now that you are keenly aware of your need to have web pages that are up to standard, I will show you how to check.\u00a0 It is really quite easy.<\/p>\n<ol>\n<li>Go to <a title=\"W3C Markup Validation Service\" href=\"http:\/\/validator.w3.org\" target=\"_blank\" rel=\"noopener\">the W3C validation site<\/a><\/li>\n<li>type in (or copy and paste) the website address of the page you want to check.<\/li>\n<li>Wait for the results! (if your page is validated, it will look like this)<\/li>\n<\/ol>\n<div id=\"attachment_386\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/www.numinix.com\/wordpress\/wp-content\/uploads\/2010\/09\/W3C-Good4.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-386\" class=\"size-medium wp-image-386\" src=\"https:\/\/www.numinix.com\/wordpress\/wp-content\/uploads\/2010\/09\/W3C-Good4-300x162.jpg\" alt=\"Sample of Validated Web page result\" width=\"300\" height=\"162\" srcset=\"https:\/\/www.numinix.com\/wordpress\/wp-content\/uploads\/2010\/09\/W3C-Good4-300x162.jpg 300w, https:\/\/www.numinix.com\/wordpress\/wp-content\/uploads\/2010\/09\/W3C-Good4.jpg 944w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><p id=\"caption-attachment-386\" class=\"wp-caption-text\">Validated Web Page Result<\/p><\/div>\n<p style=\"text-align: left;\">\n<p>If not, the bar on the page will be red, and it will display the number of errors and warnings, along with explanations of each.\u00a0 The explanations are really detailed and can help you when trying to correct the errors(or making your webmaster correct them).<\/p>\n<p>That is literally all there is to it.\u00a0 Fixing the errors may take some time, but you will show what a true professional you are by making the effort to validate your entire website.\u00a0 So before you add any pages, may sure they validate.\u00a0 As a matter of fact, go back and check your old pages too.\u00a0 You may be surprised at what you find.<\/p>\n<p><script type=\"application\/ld+json\">\n      {\n        \"@context\": \"http:\/\/schema.org\",\n        \"@type\": \"NewsArticle\",\n\t\"dateModified\": \"https:\/\/calendar.google.com\/calendar\/r\/day\/2019\/5\/29\",\n\t\"mainEntityOfPage\": \"https:\/\/www.numinix.com\/wordpress\/2010\/09\/17\/how-to-ensure-your-web-pages-are-xhtml-validated\/\",\n\"author\": {\n    \"@type\": \"Person\",\n    \"name\": \"Jeff Lew\"\n  },\n   \"publisher\": {\n    \"@type\": \"Organization\",\n    \"name\": \"Numinix Web Developers\",\n    \"logo\": {\n      \"@type\": \"ImageObject\",\n      \"url\": \"https:\/\/www.numinix.com\/images\/banner_hero_clarity.png\"\n    }\n    },\n        \"headline\": \"How to Ensure Your Web Pages Are XHTML Validated\",\n        \"datePublished\": \"2010-09-17T16:00:41Z\",\n        \"image\": [\n          \"https:\/\/media.licdn.com\/dms\/image\/C560BAQFjWJ-r6HLAfQ\/company-logo_200_200\/0?e=2159024400&v=beta&t=KzCK1BdfCM48zSzjZ6lsxOsr7sfO0_EVarvyFHWW6H8\"\n        ]\n      }\n    <\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I know what you are thinking&#8230;what in the world is XHTML validation?\u00a0 I am glad you asked.\u00a0 XHTML validation ensures that all of your website is up to code.\u00a0 Didn&#8217;t know building a website was that much like building a house, did you?\u00a0 Just like in the housing industry, the web design industry has certain&#8230;<\/p>\n","protected":false},"author":54,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[29,5],"tags":[188,190,189,187],"class_list":["post-370","post","type-post","status-publish","format-standard","hentry","category-search-engine-optimization","category-usability","tag-browser-compatibility","tag-validation","tag-w3c","tag-xhtml-compliance"],"modified_by":"Numinix Developer","jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.numinix.com\/blog\/wp-json\/wp\/v2\/posts\/370","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.numinix.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.numinix.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.numinix.com\/blog\/wp-json\/wp\/v2\/users\/54"}],"replies":[{"embeddable":true,"href":"https:\/\/www.numinix.com\/blog\/wp-json\/wp\/v2\/comments?post=370"}],"version-history":[{"count":0,"href":"https:\/\/www.numinix.com\/blog\/wp-json\/wp\/v2\/posts\/370\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.numinix.com\/blog\/wp-json\/wp\/v2\/media?parent=370"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.numinix.com\/blog\/wp-json\/wp\/v2\/categories?post=370"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.numinix.com\/blog\/wp-json\/wp\/v2\/tags?post=370"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}