HTML Validation Result of msn.com

After validating, we found 9 errors and 3 warnings.

9 Errors

1. X-UA-Compatible HTTP header must have the value “IE=edge”, was “IE=Edge;chrome=1”. 1 occurrence
On line , column

2. Saw “<?”. Probable cause: Attempt to use an XML processing instruction in HTML. (XML processing instructions are not supported in HTML.) 1 occurrence
On line 1, column 2 '...<?xml version="1...'

3. Legacy doctype. Expected “<!DOCTYPE html>”. 1 occurrence
On line 2, column 126 '..."UTF-8" ?> <!DOCTYPE HTML PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN" "http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd"> <html...'

4. When the attribute “xml:lang” in no namespace is specified, the element must also have the attribute “lang” present with the same value. 1 occurrence
On line 3, column 70 '...le12.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" dir="ltr"> <hea...'

5. Element “button” is missing one or more of the following attributes: “aria-checked”, “type”. 2 occurrences
On line 275, column 2 '...> <div> <button name="weaDegreeType" id="id393fc2081ec044afb4846c2b81891d54_fahrenheit" value="F" class="selected" role="radio" > <span...'
On line 284, column 2 '... <button name="weaDegreeType" id="id393fc2081ec044afb4846c2b81891d54_celsius" value="C" class="" role="radio" > <span...'

6. Attribute “form” not allowed on element “label” at this point. 2 occurrences
On line 278, column 101 '...</button> <label for="id393fc2081ec044afb4846c2b81891d54_fahrenheit" form="id393fc2081ec044afb4846c2b81891d54">Fahren...'
On line 287, column 98 '...</button> <label for="id393fc2081ec044afb4846c2b81891d54_celsius" form="id393fc2081ec044afb4846c2b81891d54">Celsiu...'

7. Element “img” is missing required attribute “src”. 4 occurrences
On line 445, column 24 '... <img class="nativead" /> <...'
On line 912, column 24 '... <img class="nativead" /> <...'
On line 921, column 24 '... <img class="nativead" /> <...'
On line 1054, column 127 '... <img data-src="//www.bizographics.com/collect/?fmt=gif&amp;pid=7850&amp;ts=noscript" width="1" height="1" alt="" /> ...'

8. An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images. 3 occurrences
On line 445, column 24 '... <img class="nativead" /> <...'
On line 912, column 24 '... <img class="nativead" /> <...'
On line 921, column 24 '... <img class="nativead" /> <...'

9. Bad value for attribute “href” on element “a”: Illegal character in query: space is not allowed. 1 occurrence
On line 917, column 447 '...li > <a href="https://moneywise.com/investing/investing-basics/investing-in-art-made-simple?t=Middle-Class%20Americans%20Can%20Finally%20Invest%20In%20Fine%20Art,%20Just%20Like%20Millionaires%20Do&amp;utm_source=mnd_aff&amp;utm_medium=Desktop&amp;utm_campaign=mnd_aff_masterworksbb4_v1&amp;utm_term=mnd_masterworksbb4_v1_promostripe4 &amp;utm_content=mnd_aff_masterworksbb4_v1_promostripe4_v1" target="_blank" data-pg="1" data-pid="7HD66FC"> ...'

3 Warnings

1. Self-closing tag syntax in text/html documents is widely discouraged; it’s unnecessary and interacts badly with other HTML features (e.g., unquoted attribute values). If you’re using a tool that injects self-closing tag syntax into all void elements, without any option to prevent it from doing so, then consider switching to a different tool. 46 occurrences
On line 7, column 46 '...ons: --> <meta name="robots" content="index, follow"/> <met...'
On line 8, column 67 '...ollow"/> <meta property="sharing_url" content="https://www.msn.com/en-us"/><meta ...'
On line 8, column 123 '...m/en-us"/><meta property="og:url" content="https://www.msn.com/"/><meta ...'
On line 8, column 229 '...sn.com/"/><meta property="og:title" content="MSN | Outlook, Office, Skype, Bing, Breaking News, and Latest Videos"/><meta ...'
On line 8, column 290 '... Videos"/><meta property="twitter:card" content="summary_large_image"/><meta ...'
On line 8, column 334 '...e_image"/><meta property="og:type" content="website"/><meta ...'
On line 8, column 379 '...website"/><meta property="og:site_name" content="MSN"/><meta ...'
On line 8, column 486 '...nt="MSN"/><meta property="og:image" content="https://static-global-s-msn-com.akamaized.net/hp-eus/sc/c6/519670.jpg"/> <lin...'
On line 9, column 53 '...0.jpg"/> <link rel="canonical" href="https://www.msn.com/" /> <...'
On line 13, column 264 '...</title> <meta name="description" content="Your customizable and curated collection of the best in trusted news plus coverage of sports, entertainment, money, weather, travel, health and lifestyle, combined with Outlook/Hotmail, Facebook, Twitter, Bing, Skype and more."/> <me...'
On line 15, column 86 '...ore."/> <meta name="viewport" content="width=device-width,initial-scale=1, maximum-scale=1" /> <lin...'
On line 16, column 916 '...le=1" /> <link rel="stylesheet" href="//static-global-s-msn-com.akamaized.net/hp-eus/en-us/homepage/_sc/css/d7cb56b9-4ab53bd3/direction=ltr.locales=en-us.themes=start.dpi=resolution1x/ab-69ca4a-4e3b0a9b/90-67c322-ee5f2b10/2a-1f1669-a955659a/3e-923a67-f94d3276/ab-52fe22-a648eab2/86-b413d7-63b61fa3/d1-7801d5-68ddb2ab/7a-660b57-4534563a/75-a00681-654638bf/c2-fc0b01-8a746cb4/17-58d7c6-9118303c?ver=20220715_29743481&amp;fdhead=msnallexpusers,muidflt16cf,muidflt312cf,prd-live-sdcrdnew-c,bingcollabedge3cf,pnehp3cf,ads-ldctrl,modcoglangt,artgly2cf,msnapp4cf,traffic-p1-bdg,traffic-tp-hcol,btrecenus,iframeflex,1s-winauthservice,wf-sunny-first,weather8cf,1s-fk-bdg,1s-p2-brknb,f-rel-allc,btie-aiuxsearan,routentpring2t,1s-fcrypt,artglyrank2cf,1s-rpssecautht,jj_fac_c,6e158435,1s-xapsegment,1s-skip-systags,1s-xapntpseg,j0739923,infra-ceto-win-c&amp;csopd=20210722164117&amp;csopdb=20220120005548" type="text/css" media="all" /> <scr...'
On line 95, column 107 '...x="2"> <img alt="" height="20" width="20" src="//static-global-s-msn-com.akamaized.net/hp-eus/sc/82/c22c7d.gif" /> </a> ...'
On line 105, column 129 '...ettoggle"><img alt="en-us" src="//static-global-s-msn-com.akamaized.net/hp-eus/sc/6a/a62410.gif" /></a> ...'
On line 108, column 124 '...f="#nav"> <img alt="go to navigation" width="27" height="20" src="//static-global-s-msn-com.akamaized.net/hp-eus/sc/57/a49b8d.gif" /> ...'
On line 118, column 46 '...archbox"> <input type="text" id="q" name="q" value="" /> <inpu...'
On line 119, column 50 '...lue="" /> <input type="hidden" name="form" value="PRUSDL" /> <inp...'
On line 120, column 49 '...USDL" /> <input type="hidden" name="mkt" value="en-us" /> <in...'
On line 124, column 74 '...e6fdc06"> <input type="submit" class="text" value="web search" title="web search" /> <div...'
On line 220, column 58 '...ileleft"> <img class="skycond" src="//img-s-msn-com.akamaized.net/tenant/amp/entityid/BB8MKSg.img?m=6&amp;o=true&amp;u=true&amp;n=true&amp;w=40&amp;h=40" data-src="{&quot;default&quot;:&quot;//img-s-msn-com.akamaized.net/tenant/amp/entityid/BB8MKSg.img?m=6&amp;o=true&amp;u=true&amp;n=true&amp;w=40&amp;h=40&quot;}" alt="Mostly cloudy" title="Mostly cloudy" data-icon="3" /> <div...'
On line 250, column 62 '...ntainer"> <input name="q" class="query" accesskey="L" autocomplete="off" type="search" aria-autocomplete="list" value="" maxlength="250" data-auto-suggest-settings='{&quot;market&quot;:&quot;en-us&quot;,&quot;mode&quot;:&quot;AS&quot;,&quot;baseurl&quot;:&quot;/en-us/weather/today&quot;,&quot;action&quot;:&quot;sethome&quot;,&quot;method&quot;:&quot;custom&quot;,&quot;selector&quot;:&quot;.weaaddlocation&quot;,&quot;urltype&quot;:&quot;GeoLocation&quot;,&quot;formcode&quot;:&quot;&quot;,&quot;lat&quot;:42.3658,&quot;lon&quot;:-71.1044}' placeholder="Search for Location / City" data-seemoretext="Press &lt;Enter&gt; to see more" data-autosuggestdelay="100" aria-label="Search for Location / City" /> <butt...'
On line 323, column 317 '...nb7Kz" > <img alt="" height="194" src="//static-global-s-msn-com.akamaized.net/img-resizer/tenant/amp/entityid/AA12xnel.img?h=194&amp;w=300&amp;m=6&amp;q=60&amp;u=t&amp;o=t&amp;l=f" title="A Ukrainian flag waves on a street of the recently liberated village of Vysokopi... - GENYA SAVILOV, AFP via Getty Images" width="300" /> <...'
On line 361, column 224 '...lnews" > <img alt="" height="194" src="//static-global-s-msn-com.akamaized.net/img-resizer/tenant/amp/entityid/AAKp6qN.img?h=194&amp;w=300&amp;m=6&amp;q=60&amp;u=t&amp;o=t&amp;l=f" title="Ask the Job Doc. - Boston.com" width="300" /> <...'
On line 399, column 194 '...nb2gh" > <img alt="" height="194" src="//www.bing.com/th?id=ORMS.aee121da330bd364a87643dee40808bf&amp;pid=Wdp&amp;h=194&amp;w=300&amp;rs=6&amp;c=6&amp;qlt=70" title="Alex Rodriguez posing" width="300" /> <...'
On line 437, column 187 '...7HD66FC"> <img alt="" height="194" src="//static-global-s-msn-com.akamaized.net/img-resizer/tenant/amp/entityid/AA10x6th.img?h=194&amp;w=300&amp;m=6&amp;q=60&amp;u=t&amp;o=t&amp;l=f" width="300" /> <...'
On line 445, column 24 '... <img class="nativead" /> <...'
On line 454, column 230 '...2pczC" > <img alt="" height="194" src="//www.bing.com/th?id=ORMS.baae41b6a777ba9477ef7b86e19f97af&amp;pid=Wdp&amp;h=194&amp;w=300&amp;rs=6&amp;c=6&amp;qlt=70" title="A bombshell lawsuit threatens Trump&#39;s property empire" width="300" /> <...'
On line 492, column 283 '...5ms5q" > <img alt="" height="194" src="//static-global-s-msn-com.akamaized.net/img-resizer/tenant/amp/entityid/AA10m6GM.img?h=194&amp;w=300&amp;m=6&amp;q=60&amp;u=t&amp;o=t&amp;l=f" title="15 worst college football teams of 2022 - Samuel Lewis/Icon Sportswire via Getty Images" width="300" /> <...'
On line 530, column 208 '...MSN_4" > <img alt="" height="194" src="//static-global-s-msn-com.akamaized.net/img-resizer/tenant/amp/entityid/AA120CzP.img?h=194&amp;w=300&amp;m=6&amp;q=60&amp;u=t&amp;o=t&amp;l=f" title="CEOtaku 2022" width="300" /> <...'
On line 568, column 284 '...13281" > <img alt="" height="194" src="//static-global-s-msn-com.akamaized.net/img-resizer/tenant/amp/entityid/AA12fjMF.img?h=194&amp;w=300&amp;m=6&amp;q=60&amp;u=t&amp;o=t&amp;l=f&amp;x=0&amp;y=0" title="$9.99 Willful T02 Wireless Earbuds, Bluetooth 5.0 with Mic Touch Control" width="300" /> <...'
On line 606, column 282 '...96475" > <img alt="" height="194" src="//static-global-s-msn-com.akamaized.net/img-resizer/tenant/amp/entityid/AA12wNfF.img?h=194&amp;w=300&amp;m=6&amp;q=60&amp;u=t&amp;o=t&amp;l=f&amp;x=0&amp;y=0" title="$30.89 SUPERDANNY 5-Outlet Surge Protector 3 USB Ports Indicator Light" width="300" /> <...'
On line 638, column 219 '...nbcA0" > <img alt="" height="194" src="//www.bing.com/th?id=ORMS.602460970e5f487e68f3320c2a2309a2&amp;pid=Wdp&amp;h=194&amp;w=300&amp;rs=6&amp;c=6&amp;qlt=70" title="Marvel Studios’ Black Panther: Wakanda Forever" width="300" /> <...'
On line 676, column 288 '...nbcA1" > <img alt="" height="194" src="//static-global-s-msn-com.akamaized.net/img-resizer/tenant/amp/entityid/AA12xx3e.img?h=194&amp;w=300&amp;m=6&amp;q=60&amp;u=t&amp;o=t&amp;l=f&amp;x=432&amp;y=102" title="‘We’re with you,’ Biden tells Puerto Rico ahead of visit - Andrew Harnik" width="300" /> <...'
On line 714, column 215 '...nba9O" > <img alt="" height="194" src="//www.bing.com/th?id=ORMS.7c489b67c036b2f327b7e4fdc2b37998&amp;pid=Wdp&amp;h=194&amp;w=300&amp;rs=6&amp;c=6&amp;qlt=70" title="Which Fast Food Chain Has The Best Burger?" width="300" /> <...'
On line 752, column 261 '...=desc" > <img alt="" height="194" src="//static-global-s-msn-com.akamaized.net/img-resizer/tenant/amp/entityid/AA6VE37.img?h=194&amp;w=300&amp;m=6&amp;q=60&amp;u=t&amp;o=t&amp;l=f" title="In search of a new vehicle? Discover great deals near you - Toyota" width="300" /> <...'
On line 790, column 243 '...SN163" > <img alt="" height="194" src="//static-global-s-msn-com.akamaized.net/img-resizer/tenant/amp/entityid/AALs3bS.img?h=194&amp;w=300&amp;m=6&amp;q=60&amp;u=t&amp;o=t&amp;l=f" title="Save big with hundreds of free printable coupons" width="300" /> <...'
On line 828, column 192 '...nbklE" > <img alt="" height="194" src="//www.bing.com/th?id=ORMS.825543faf6066865802a8decd72688fb&amp;pid=Wdp&amp;h=194&amp;w=300&amp;rs=6&amp;c=6&amp;qlt=70" title="32. Cryptoportiques" width="300" /> <...'
On line 866, column 239 '...2xzSw" > <img alt="" height="194" src="//static-global-s-msn-com.akamaized.net/img-resizer/tenant/amp/entityid/AAZHPxc.img?h=194&amp;w=300&amp;m=6&amp;q=60&amp;u=t&amp;o=t&amp;l=f" title="Rising: July 18, 2022 - Provided by The Hill" width="300" /> <...'
On line 904, column 187 '...7HD66FC"> <img alt="" height="194" src="//static-global-s-msn-com.akamaized.net/img-resizer/tenant/amp/entityid/AA10JBvh.img?h=194&amp;w=300&amp;m=6&amp;q=60&amp;u=t&amp;o=t&amp;l=f" width="300" /> <...'
On line 912, column 24 '... <img class="nativead" /> <...'
On line 921, column 24 '... <img class="nativead" /> <...'
On line 930, column 237 '...2xkIi" > <img alt="" height="194" src="//www.bing.com/th?id=ORMS.4d22cd1ff1284f79752a7c5e41f4c507&amp;pid=Wdp&amp;h=194&amp;w=300&amp;rs=6&amp;c=6&amp;qlt=70" title="LCEC continues to work on power restoration after Hurricane Ian." width="300" /> <...'
On line 1035, column 451 '... <div> <img src="//c.msn.com/c.gif?udc=true&amp;rid=7ef1aabbfeb54c1c8426b5afae6fdc06&amp;rnd=638004090073566686&amp;rf=&amp;tp=https%253A%252F%252Fwww.msn.com%252F&amp;di=340&amp;lng=en-us&amp;activityId=7ef1aabbfeb54c1c8426b5afae6fdc06&amp;d.dgk=downlevel.pc&amp;d.imd=0&amp;st.dpt=&amp;st.sdpt=&amp;subcvs=homepage&amp;pg.n=startpage&amp;pg.t=hp&amp;pg.c=&amp;pg.p=prime&amp;anoncknm=&amp;issso=0&amp;aadState=0" alt="image beacon" width="1" height="1" /><img s...'
On line 1035, column 659 '...ght="1" /><img src="https://sb.scorecardresearch.com/p?c1=2&amp;c2=3000001&amp;cs_ucfr=1&amp;rn=638004090073566686&amp;c7=https%253A%252F%252Fwww.msn.com%252F&amp;c8=&amp;c9=" alt="image beacon" width="1" height="1" /><img s...'
On line 1035, column 2040 '...ght="1" /><img src="https://browser.events.data.msn.com/OneCollector/1.0/t.js?qsp=true&anoncknm=%22%22&name=%22MS.News.Web.PageView%22&time=%222022-10-03T15%3a50%3a07.3722943Z%22&ver=%224.0%22&iKey=%22o%3a0ded60c75e44443aa3484c42c1c43fe8%22&w=0&apikey=0ded60c75e44443aa3484c42c1c43fe8-9fc57d3f-fdac-4bcf-b927-75eafe60192e-7279&ext.intweb.msfpc=%22+%22&*page.name=%22startpage%22&*page.type=%22hp%22&*page.product=%22prime%22&*page.config=%22%22&*page.url=%22https%253A%252F%252Fwww.msn.com%252F%22&*page.referral=%22%22&*page.isAutoRefresh=%220%22&*page.content.title=%22%22&*page.content.domainId=%22340%22&*page.content.brand=%22%22&*page.content.partnerName=%22%22&*page.content.canvas=%22Browser%22&*page.content.vertical=%22homepage%22&*page.content.id=%22%22&*page.content.source=%22%22&*page.content.brandId=%22%22&*page.content.category=%22%22&*page.content.subcategory=%22%22&*page.content.parentId=%22%22&*page.content.idx=%22%22&*page.content.total=%22%22&*browser.clientId=%220E9BFC2AF13A6F9826ECEE18F0C76E7B%22&*browser.clientIdType=%22muid%22&*browser.muid=%220E9BFC2AF13A6F9826ECEE18F0C76E7B%22&*browser.isMobile=%220%22&*request.activityId=%227ef1aabbfeb54c1c8426b5afae6fdc06%22&*request.requestId=%227ef1aabbfeb54c1c8426b5afae6fdc06%22&*timestamp*6=1664812207372&*eventIndex*6=1&*local.mkt=%22en-us%22&*user.isSignedIn=%22False%22" alt="image beacon" width="1" height="1" /> </div...'
On line 1054, column 127 '... <img data-src="//www.bizographics.com/collect/?fmt=gif&amp;pid=7850&amp;ts=noscript" width="1" height="1" alt="" /> ...'

2. The “type” attribute is unnecessary for JavaScript resources. 3 occurrences
On line 17, column 32 '..."all" /> <script type="text/javascript">//<![C...'
On line 18, column 5084 '...></script><script type="text/javascript" src="//static-global-s-msn-com.akamaized.net/hp-eus/_h/4c59fa2c/webcore/externalscripts/jquery/jquery-1.11.1.min.js"></scri...'
On line 128, column 32 '... </form> <script type="text/javascript"> ...'

3. Consider adding a “lang” attribute to the “html” start tag to declare the language of this document. 1 occurrence
On line 3, column 70 '...le12.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" dir="ltr"> <hea...'

HTML Validator

To make an error-free HTML template, you must know the valid structure and rules of HTML. But sometime it becomes hard to maintain error-free status. To help you identify any HTML Validation error or warning, HTML Validator Tool is here. 

Validate HTML online

Input your HTML document URL in the above field and hit the action button. You will be shown all the errors and warnings your HTML document have. The list is organized in such a way that you will be able to identify them easily.