This document was successfully checked as SVG 1.1!

Result: Passed
:
: utf-8
: SVG 1.1
Root Element: svg
Root Namespace: http://www.w3.org/2000/svg
Options

Help on the options is available.

Congratulations

The document located at <https://upload.wikimedia.org/wikipedia/commons/e/eb/USB_Mini-A_receptacle.svg> was successfully checked as SVG 1.1. This means that the resource in question identified itself as "SVG 1.1" and that we successfully performed a formal validation of it. The parser implementations we used for this check are based on OpenSP (SGML/XML) and libxml2 (XML).

"valid" Icon(s) on your Web page

To show your readers that you have taken the care to create an interoperable Web page, you may display this icon on any page that validates. Here is the HTML you could use to add this icon to your Web page:

Valid SVG 1.1
  <p>
    <a href="https://validator.w3.org/markup/check?uri=referer"><img
      src="https://www.w3.org/Icons/valid-svg11" alt="Valid SVG 1.1" height="31" width="88" /></a>
  </p>
  

A full list of icons, with links to alternate formats and colors, is available: If you like, you can download a copy of the icons to keep in your local web directory, and change the HTML fragment above to reference your local image rather than the one on this server. See also our help items related to documents transferred over secure protocols for these icons and the "uri=referer" feature.

Linking to this result

If you would like to create a link to this page (i.e., this validation result) to make it easier to revalidate this page in the future or to allow others to validate your page, the URI is <https://validator.w3.org/markup/check?uri=https%3A%2F%2Fupload.wikimedia.org%2Fwikipedia%2Fcommons%2Fe%2Feb%2FUSB_Mini-A_receptacle.svg;ss=1> (or you can just add the current page to your bookmarks or hotlist).

Validating CSS Style Sheets

If you use CSS in your document, you can check it using the W3C CSS Validation Service.

↑ Top

Source Listing

Below is the source input I used for this validation:

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
  3. <svg version="1.1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" width="450" height="300" viewBox="0 0 450 300">
  4. <style type="text/css">
  5. .st0{fill:#B3B3B3;stroke:#000;stroke-width:3;}
  6. .st1{fill:#ccc;stroke:#000;stroke-width:3;}
  7. .st2{fill:#808080;stroke:#000;stroke-width:3;}
  8. .st3{fill:#FCEE21;stroke:#000;stroke-width:3;}
  9. .st4{font-family:Liberation Sans,Arial;}
  10. .st5{font-size:60px;}
  11. .st6{font-size:48px;}
  12. </style>
  13. <g id="usb">
  14. <path class="st0" d="M81,67.1c-7.7,0-14,6.3-14,14v79.4c0,8.4,6.8,15.2,15.2,15.2h11c5.3,0,10.4,2.4,13.7,6.5l24.5,30.1
  15. c0.5,0.7,1.3,1,2.2,1h182.9c0.8,0,1.6-0.4,2.2-1l24.5-30.1c3.4-4.1,8.4-6.5,13.7-6.5h11c8.4,0,15.2-6.8,15.2-15.2V81.2
  16. c0-7.7-6.3-14-14-14H81z"/>
  17. <path class="st1" d="M313.8,225.7H136.2c-5.2,0-10.1-2.3-13.3-6.3l-23.8-29.2c-0.5-0.6-1.3-1-2.1-1H81.5
  18. c-13.5,0-24.4-10.9-24.4-24.4V73.8c0-10.5,8.5-19,19-19h297.7c10.5,0,19,8.5,19,19v90.9c0,13.5-10.9,24.4-24.4,24.4H353
  19. c-0.8,0-1.6,0.4-2.1,1l-23.8,29.2C323.8,223.4,319,225.7,313.8,225.7z M85.2,69.3c-7.5,0-13.6,6.1-13.6,13.6v77
  20. c0,8.1,6.6,14.7,14.7,14.7H97c5.2,0,10.1,2.3,13.3,6.3l23.8,29.2c0.5,0.6,1.3,1,2.1,1h177.5c0.8,0,1.6-0.4,2.1-1l23.8-29.2
  21. c3.3-4,8.1-6.3,13.3-6.3h10.7c8.1,0,14.7-6.6,14.7-14.7v-77c0-7.5-6.1-13.6-13.6-13.6H85.2z"/>
  22. <path class="st2" d="M123.5,125.5v29.4c0,2.7,0.9,5.3,2.6,7.4l17.7,22.1c2.2,2.8,5.6,4.4,9.2,4.4h143.3c3.6,0,7-1.6,9.2-4.4
  23. l17.7-22.1c1.7-2.1,2.6-4.7,2.6-7.4v-29.4c0-4-3.2-7.2-7.2-7.2H130.7C126.7,118.2,123.5,121.5,123.5,125.5z"/>
  24. <g id="pins">
  25. <rect x="145.1" y="99.5" class="st3" width="18.7" height="18.7"/>
  26. <rect x="180.3" y="99.5" class="st3" width="18.7" height="18.7"/>
  27. <rect x="215.5" y="99.5" class="st3" width="18.7" height="18.7"/>
  28. <rect x="250.6" y="99.5" class="st3" width="18.7" height="18.7"/>
  29. <rect x="285.8" y="99.5" class="st3" width="18.7" height="18.7"/>
  30. </g>
  31. </g>
  32. <g id="text">
  33. <text transform="matrix(1 0 0 1 138 288)" class="st4 st5">Mini-A</text>
  34. <text transform="matrix(1 0 0 1 141 42)" class="st4 st6">1</text>
  35. <text transform="matrix(1 0 0 1 176 42)" class="st4 st6">2</text>
  36. <text transform="matrix(1 0 0 1 210 42)" class="st4 st6">3</text>
  37. <text transform="matrix(1 0 0 1 247 42)" class="st4 st6">4</text>
  38. <text transform="matrix(1 0 0 1 281 42)" class="st4 st6">5</text>
  39. </g>
  40. </svg>

↑ Top