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 267, column 2 '...> <div> <button name="weaDegreeType" id="id93d9fbf8eaf64278a9b8dc28aa349333_fahrenheit" value="F" class="selected" role="radio" > <span...'
On line 276, column 2 '... <button name="weaDegreeType" id="id93d9fbf8eaf64278a9b8dc28aa349333_celsius" value="C" class="" role="radio" > <span...'

6. Attribute “form” not allowed on element “label” at this point. 2 occurrences
On line 270, column 101 '...</button> <label for="id93d9fbf8eaf64278a9b8dc28aa349333_fahrenheit" form="id93d9fbf8eaf64278a9b8dc28aa349333">Fahren...'
On line 279, column 98 '...</button> <label for="id93d9fbf8eaf64278a9b8dc28aa349333_celsius" form="id93d9fbf8eaf64278a9b8dc28aa349333">Celsiu...'

7. Element “img” is missing required attribute “src”. 4 occurrences
On line 437, column 24 '... <img class="nativead" /> <...'
On line 904, column 24 '... <img class="nativead" /> <...'
On line 913, column 24 '... <img class="nativead" /> <...'
On line 1044, 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 437, column 24 '... <img class="nativead" /> <...'
On line 904, column 24 '... <img class="nativead" /> <...'
On line 913, 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 909, 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. Trailing slash on void elements has no effect and interacts badly with unquoted attribute values. 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 826 '...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=20230224_34407096&amp;fdhead=msnallexpusers,platagyedge2cf,platagyedge3cf,ads-lockerdome,weather4cf,weather5cf,btrecenus,iframeflex,1s-winauthservice,1s-fcrypt,ads-gemrtbintc,1s-rpssecautht,jj_fac_c,1s-compicsync,ads-xandradfull,1s-defaultscn,1s-defaultscnw,sa-rewards-dci-t,ads-stableidlookup,1s-contview-obst,1s-osmhp-uidtl,ads-leadgenntp3,prong1akmigt&amp;csopd=20210722164117&amp;csopdb=20230120201536" type="text/css" media="all" /> <scr...'
On line 87, 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 97, column 129 '...ettoggle"><img alt="en-us" src="//static-global-s-msn-com.akamaized.net/hp-eus/sc/6a/a62410.gif" /></a> ...'
On line 100, 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 110, column 46 '...archbox"> <input type="text" id="q" name="q" value="" /> <inpu...'
On line 111, column 50 '...lue="" /> <input type="hidden" name="form" value="PRUSDL" /> <inp...'
On line 112, column 49 '...USDL" /> <input type="hidden" name="mkt" value="en-us" /> <in...'
On line 116, column 74 '...e241249"> <input type="submit" class="text" value="web search" title="web search" /> <div...'
On line 212, column 52 '...ileleft"> <img class="skycond" src="//img-s-msn-com.akamaized.net/tenant/amp/entityid/BB8MkhA.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/BB8MkhA.img?m=6&amp;o=true&amp;u=true&amp;n=true&amp;w=40&amp;h=40&quot;}" alt="Light rain" title="Light rain" data-icon="8" /> <div...'
On line 242, 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.358,&quot;lon&quot;:-71.0625}' 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 315, column 333 '...nb7Kz" > <img alt="" height="194" src="//static-global-s-msn-com.akamaized.net/img-resizer/tenant/amp/entityid/AA19lugJ.img?h=194&amp;w=300&amp;m=6&amp;q=60&amp;u=t&amp;o=t&amp;l=f&amp;x=201&amp;y=185" title="US President Joe Biden speaks to the media as he walks to Marine One prior to de... - SAUL LOEB, AFP via Getty Images" width="300" /> <...'
On line 353, column 225 '...lnews" > <img alt="" height="194" src="//static-global-s-msn-com.akamaized.net/img-resizer/tenant/amp/entityid/BB173YJL.img?h=194&amp;w=300&amp;m=6&amp;q=60&amp;u=t&amp;o=t&amp;l=f" title="Boston - roman_slavik / Getty" width="300" /> <...'
On line 391, column 279 '...nb2gh" > <img alt="" height="194" src="//static-global-s-msn-com.akamaized.net/img-resizer/tenant/amp/entityid/AA192yBh.img?h=194&amp;w=300&amp;m=6&amp;q=60&amp;u=t&amp;o=t&amp;l=f&amp;x=538&amp;y=201" title="How to Watch &#39;Ride&#39; Starring Nancy Travis - David Brown" width="300" /> <...'
On line 429, column 186 '...7HD66FC"> <img alt="" height="194" src="//static-global-s-msn-com.akamaized.net/img-resizer/tenant/amp/entityid/AAZrQYt.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 437, column 24 '... <img class="nativead" /> <...'
On line 446, column 330 '...6M4hs" > <img alt="" height="194" src="//static-global-s-msn-com.akamaized.net/img-resizer/tenant/amp/entityid/AA17I5Qj.img?h=194&amp;w=300&amp;m=6&amp;q=60&amp;u=t&amp;o=t&amp;l=f&amp;x=463&amp;y=404" title="It could take a decade to undo damage to the Republican Party caused by Fox News... - Provided by Business Insider" width="300" /> <...'
On line 484, column 267 '...5ms5q" > <img alt="" height="194" src="//static-global-s-msn-com.akamaized.net/img-resizer/tenant/amp/entityid/AA18ycry.img?h=194&amp;w=300&amp;m=6&amp;q=60&amp;u=t&amp;o=t&amp;l=f&amp;x=633&amp;y=219" title="Aaron Hernandez - Provided by Sports Unlimited News" width="300" /> <...'
On line 522, column 229 '...epage" > <img alt="" height="194" src="//static-global-s-msn-com.akamaized.net/img-resizer/tenant/amp/entityid/AA19eF6v.img?h=194&amp;w=300&amp;m=6&amp;q=60&amp;u=t&amp;o=t&amp;l=f" title="Rocket League Championship Series" width="300" /> <...'
On line 560, column 288 '...94402" > <img alt="" height="194" src="//static-global-s-msn-com.akamaized.net/img-resizer/tenant/amp/entityid/AA19l3rR.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="$16.49 Trucker Wireless Headset Bluetooth 5.1 Earpiece Dual Mic Earbud Noise" width="300" /> <...'
On line 598, column 293 '...84769" > <img alt="" height="194" src="//static-global-s-msn-com.akamaized.net/img-resizer/tenant/amp/entityid/AA19d49P.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="$29.66 Kitchen Knife, Chef Knife Set - 8 Inch Chef Knife &amp; 8 Inch Bread Knife" width="300" /> <...'
On line 630, column 321 '...nbcA0" > <img alt="" height="194" src="//static-global-s-msn-com.akamaized.net/img-resizer/tenant/amp/entityid/AA19bFnp.img?h=194&amp;w=300&amp;m=6&amp;q=60&amp;u=t&amp;o=t&amp;l=f&amp;x=490&amp;y=182" title="Meet the 22-year-old grandson of the last king of Greece, an actor who attends N... - Provided by INSIDER" width="300" /> <...'
On line 668, column 273 '...nbcA1" > <img alt="" height="194" src="//static-global-s-msn-com.akamaized.net/img-resizer/tenant/amp/entityid/AA19lLQo.img?h=194&amp;w=300&amp;m=6&amp;q=60&amp;u=t&amp;o=t&amp;l=f" title="Dems react to Trump indictment with glee — and anxiety - Provided by The Hill" width="300" /> <...'
On line 706, column 296 '...nba9O" > <img alt="" height="194" src="//static-global-s-msn-com.akamaized.net/img-resizer/tenant/amp/entityid/AA18n1LB.img?h=194&amp;w=300&amp;m=6&amp;q=60&amp;u=t&amp;o=t&amp;l=f" title="Florida Man Bitten by 9-Foot Alligator That Was Waiting for Him on His Porch - Provided by Best Life" width="300" /> <...'
On line 744, column 256 '...33342" > <img alt="" height="194" src="//static-global-s-msn-com.akamaized.net/img-resizer/tenant/amp/entityid/AA18FyQm.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="Discover new and used cars for sale near you" width="300" /> <...'
On line 782, 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 820, column 360 '...nbklE" > <img alt="" height="194" src="//static-global-s-msn-com.akamaized.net/img-resizer/tenant/amp/entityid/AA19lqUF.img?h=194&amp;w=300&amp;m=6&amp;q=60&amp;u=t&amp;o=t&amp;l=f&amp;x=280&amp;y=317" title="I was born and raised outside of Nashville. Here are 5 mistakes I see tourists m... - Clay Walker/Insider; Dan Reynolds Photography/Getty Images" width="300" /> <...'
On line 858, column 289 '...9lZnz" > <img alt="" height="194" src="//static-global-s-msn-com.akamaized.net/img-resizer/tenant/amp/entityid/AA19lXDS.img?h=194&amp;w=300&amp;m=6&amp;q=60&amp;u=t&amp;o=t&amp;l=f" title="Israeli prime minister pauses controversial changes to judicial system - Provided by CBS News" width="300" /> <...'
On line 896, 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 904, column 24 '... <img class="nativead" /> <...'
On line 913, column 24 '... <img class="nativead" /> <...'
On line 922, column 282 '...9k8PY" > <img alt="" height="194" src="//static-global-s-msn-com.akamaized.net/img-resizer/tenant/amp/entityid/AA19lBx9.img?h=194&amp;w=300&amp;m=6&amp;q=60&amp;u=t&amp;o=t&amp;l=f" title="Tornado updates: 10 dead, dozens injured across 4 states - Benjamin Krain/Getty Images" width="300" /> <...'
On line 1025, column 451 '... <div> <img src="//c.msn.com/c.gif?udc=true&amp;rid=f85634af48374be483db2581be241249&amp;rnd=638159582509685538&amp;rf=&amp;tp=https%253A%252F%252Fwww.msn.com%252F&amp;di=340&amp;lng=en-us&amp;activityId=f85634af48374be483db2581be241249&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 1025, column 659 '...ght="1" /><img src="https://sb.scorecardresearch.com/p?c1=2&amp;c2=3000001&amp;cs_ucfr=1&amp;rn=638159582509685538&amp;c7=https%253A%252F%252Fwww.msn.com%252F&amp;c8=&amp;c9=" alt="image beacon" width="1" height="1" /><img s...'
On line 1025, 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=%222023-04-01T15%3a04%3a10.9841727Z%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=%2205CB3FDCACFE600A3DD42D3AAD266122%22&*browser.clientIdType=%22muid%22&*browser.muid=%2205CB3FDCACFE600A3DD42D3AAD266122%22&*browser.isMobile=%220%22&*request.activityId=%22f85634af48374be483db2581be241249%22&*request.requestId=%22f85634af48374be483db2581be241249%22&*timestamp*6=1680361450984&*eventIndex*6=1&*local.mkt=%22en-us%22&*user.isSignedIn=%22False%22" alt="image beacon" width="1" height="1" /> </div...'
On line 1044, 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 120, 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.