One final note about SVG before we move into more details in the following chapters about the way that SVG interacts with the wider universe of web technology: if you're going to serve SVG on the web, you need to ensure that it's served with the correct content type. Browsers expect SVG to be served with the "image/svg+xml" media type. If you run into problems with SVG images not displaying and you can verify that they exist on the server, it's a good bet to check the headers (using the Network tab of your browser debugger of choice) to see if they're being served correctly. If they're not (for example, if they're text/xml), then you need to set the media type properly. This section outlines how to set the proper media type in common web servers.
United States
United Kingdom
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Argentina
Austria
Belgium
Bulgaria
Chile
Colombia
Cyprus
Czechia
Denmark
Ecuador
Egypt
Estonia
Finland
Greece
Hungary
Indonesia
Ireland
Italy
Japan
Latvia
Lithuania
Luxembourg
Malaysia
Malta
Mexico
Netherlands
New Zealand
Norway
Philippines
Poland
Portugal
Romania
Singapore
Slovakia
Slovenia
South Africa
South Korea
Sweden
Switzerland
Taiwan
Thailand
Turkey
Ukraine