{"id":39810,"date":"2025-06-25T15:54:56","date_gmt":"2025-06-25T12:54:56","guid":{"rendered":"https:\/\/goit.global\/?p=39810"},"modified":"2025-06-27T11:39:00","modified_gmt":"2025-06-27T08:39:00","slug":"tag-svg","status":"publish","type":"post","link":"https:\/\/goit.global\/ua\/glossary\/html\/tag-svg\/","title":{"rendered":"Tag svg"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\"><strong>\u0422\u0435\u0433 &lt;svg&gt;<\/strong><\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">\u0422\u0435\u0433 <strong><code>&lt;svg&gt;<\/code><\/strong> (\u0443\u043a\u0440. \u2014 \u201c\u0432\u0435\u043a\u0442\u043e\u0440\u043d\u0430 \u0433\u0440\u0430\u0444\u0456\u043a\u0430\u201d) \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454\u0442\u044c\u0441\u044f \u0432 HTML \u0434\u043b\u044f \u0432\u0456\u0434\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u043e\u0432\u0430\u043d\u043e\u0457 \u0432\u0435\u043a\u0442\u043e\u0440\u043d\u043e\u0457 \u0433\u0440\u0430\u0444\u0456\u043a\u0438 \u043f\u0440\u044f\u043c\u043e \u0443 \u043a\u043e\u0434\u0456 \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0438. \u0412\u0456\u043d \u0434\u043e\u0437\u0432\u043e\u043b\u044f\u0454 \u0441\u0442\u0432\u043e\u0440\u044e\u0432\u0430\u0442\u0438 \u0456\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u0443, \u0430\u043d\u0456\u043c\u043e\u0432\u0430\u043d\u0443, \u0447\u0456\u0442\u043a\u0443 \u0433\u0440\u0430\u0444\u0456\u043a\u0443 \u0431\u0443\u0434\u044c-\u044f\u043a\u043e\u0433\u043e \u0440\u043e\u0437\u043c\u0456\u0440\u0443, \u044f\u043a\u0430 \u043d\u0435 \u0432\u0442\u0440\u0430\u0447\u0430\u0454 \u044f\u043a\u043e\u0441\u0442\u0456 \u043f\u0440\u0438 \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0443\u0432\u0430\u043d\u043d\u0456.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"494\" src=\"https:\/\/web-dev-goit.s3.eu-north-1.amazonaws.com\/app\/uploads\/2025\/06\/27113851\/Teh-_svg_-vektorna-hrafika-1024x494.png\" alt=\"\" class=\"wp-image-39977\" srcset=\"https:\/\/web-dev-goit.s3.eu-north-1.amazonaws.com\/app\/uploads\/2025\/06\/27113851\/Teh-_svg_-vektorna-hrafika-1024x494.png 1024w, https:\/\/web-dev-goit.s3.eu-north-1.amazonaws.com\/app\/uploads\/2025\/06\/27113851\/Teh-_svg_-vektorna-hrafika-300x145.png 300w, https:\/\/web-dev-goit.s3.eu-north-1.amazonaws.com\/app\/uploads\/2025\/06\/27113851\/Teh-_svg_-vektorna-hrafika-768x371.png 768w, https:\/\/web-dev-goit.s3.eu-north-1.amazonaws.com\/app\/uploads\/2025\/06\/27113851\/Teh-_svg_-vektorna-hrafika.png 1488w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u0410\u0442\u0440\u0438\u0431\u0443\u0442\u0438<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u0421\u043f\u0435\u0446\u0438\u0444\u0456\u0447\u043d\u0456 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0438<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>width <\/strong>\u2014 \u0437\u0430\u0434\u0430\u0454 \u0448\u0438\u0440\u0438\u043d\u0443 \u043e\u0431\u043b\u0430\u0441\u0442\u0456 SVG (\u0443 \u043f\u0456\u043a\u0441\u0435\u043b\u044f\u0445 \u0430\u0431\u043e \u0456\u043d\u0448\u0438\u0445 \u043e\u0434\u0438\u043d\u0438\u0446\u044f\u0445). \u041d\u0430\u043f\u0440\u0438\u043a\u043b\u0430\u0434:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;svg width=\"300\"&gt;&lt;\/svg&gt;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>height <\/strong>\u2014 \u0437\u0430\u0434\u0430\u0454 \u0432\u0438\u0441\u043e\u0442\u0443 \u043e\u0431\u043b\u0430\u0441\u0442\u0456 SVG. \u041d\u0430\u043f\u0440\u0438\u043a\u043b\u0430\u0434:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;svg height=\"150\"&gt;&lt;\/svg&gt;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>viewBox <\/strong>\u2014 \u0432\u0438\u0437\u043d\u0430\u0447\u0430\u0454 \u0432\u043d\u0443\u0442\u0440\u0456\u0448\u043d\u044e \u0441\u0438\u0441\u0442\u0435\u043c\u0443 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442 \u0442\u0430 \u0434\u043e\u0437\u0432\u043e\u043b\u044f\u0454 \u0433\u043d\u0443\u0447\u043a\u043e \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0443\u0432\u0430\u0442\u0438 \u0433\u0440\u0430\u0444\u0456\u043a\u0443. \u041d\u0430\u043f\u0440\u0438\u043a\u043b\u0430\u0434:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;svg viewBox=\"0 0 300 150\"&gt;&lt;\/svg&gt;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>preserveAspectRatio <\/strong>\u2014 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044e\u0454 \u0432\u0438\u0440\u0456\u0432\u043d\u044e\u0432\u0430\u043d\u043d\u044f \u043f\u0440\u0438 \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0443\u0432\u0430\u043d\u043d\u0456. \u041d\u0430\u043f\u0440\u0438\u043a\u043b\u0430\u0434:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;svg viewBox=\"0 0 300 150\" preserveAspectRatio=\"xMidYMid meet\"&gt;&lt;\/svg&gt;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>xmlns <\/strong>\u2014 \u043f\u0440\u043e\u0441\u0442\u0456\u0440 \u0456\u043c\u0435\u043d SVG (\u0443 HTML5 \u0437\u0430\u0437\u0432\u0438\u0447\u0430\u0439 \u043d\u0435 \u043f\u043e\u0442\u0440\u0456\u0431\u0435\u043d \u043f\u0440\u0438 \u0432\u0441\u0442\u0430\u0432\u0446\u0456 inline, \u0430\u043b\u0435 \u043d\u0435\u043e\u0431\u0445\u0456\u0434\u043d\u0438\u0439 \u0443 standalone SVG-\u0444\u0430\u0439\u043b\u0430\u0445). \u041d\u0430\u043f\u0440\u0438\u043a\u043b\u0430\u0434:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"300\" height=\"150\"&gt;&lt;\/svg&gt;<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u0413\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u0456 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0438<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>id<\/strong> \u2014 \u0443\u043d\u0456\u043a\u0430\u043b\u044c\u043d\u0438\u0439 \u0456\u0434\u0435\u043d\u0442\u0438\u0444\u0456\u043a\u0430\u0442\u043e\u0440 \u0435\u043b\u0435\u043c\u0435\u043d\u0442\u0430. \u041d\u0430\u043f\u0440\u0438\u043a\u043b\u0430\u0434:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;svg id=\"main-logo\" width=\"100\" height=\"100\"&gt;&lt;\/svg&gt;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>class <\/strong>\u2014 \u0437\u0430\u0434\u0430\u0454 \u043a\u043b\u0430\u0441 \u0434\u043b\u044f \u0441\u0442\u0438\u043b\u0456\u0437\u0430\u0446\u0456\u0457 \u0447\u0435\u0440\u0435\u0437 CSS. \u041d\u0430\u043f\u0440\u0438\u043a\u043b\u0430\u0434:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;svg class=\"icon\" width=\"100\" height=\"100\"&gt;&lt;\/svg&gt;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>style <\/strong>\u2014 \u0434\u043e\u0434\u0430\u0454 \u0456\u043d\u043b\u0430\u0439\u043d-\u0441\u0442\u0438\u043b\u0456. \u041d\u0430\u043f\u0440\u0438\u043a\u043b\u0430\u0434:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;svg style=\"border: 1px solid #000;\" width=\"200\" height=\"100\"&gt;&lt;\/svg&gt;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>title <\/strong>\u2014 \u0434\u043e\u0434\u0430\u0454 \u043e\u043f\u0438\u0441 \u0435\u043b\u0435\u043c\u0435\u043d\u0442\u0430, \u0449\u043e \u0432\u0456\u0434\u043e\u0431\u0440\u0430\u0436\u0430\u0454\u0442\u044c\u0441\u044f \u043f\u0440\u0438 \u043d\u0430\u0432\u0435\u0434\u0435\u043d\u043d\u0456 \u043a\u0443\u0440\u0441\u043e\u0440\u0430. \u041d\u0430\u043f\u0440\u0438\u043a\u043b\u0430\u0434::<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;svg title=\"\u0414\u0456\u0430\u0433\u0440\u0430\u043c\u0430\" width=\"100\" height=\"100\"&gt;&lt;\/svg&gt;<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u041f\u0440\u0438\u043a\u043b\u0430\u0434 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u041f\u043e\u0432\u043d\u0438\u0439 \u043f\u0440\u0438\u043a\u043b\u0430\u0434 \u043f\u0440\u043e\u0441\u0442\u043e\u0457 SVG-\u0433\u0440\u0430\u0444\u0456\u043a\u0438:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;!DOCTYPE html&gt;\n&lt;html lang=\"uk\"&gt;\n&lt;head&gt;\n  &lt;meta charset=\"UTF-8\"&gt;\n  &lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\"&gt;\n  &lt;title&gt;SVG \u041f\u0440\u0438\u043a\u043b\u0430\u0434&lt;\/title&gt;\n  &lt;style&gt;\n    .circle {\n      fill: #4CAF50;\n      stroke: #333;\n      stroke-width: 3;\n    }\n  &lt;\/style&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n\n&lt;h2&gt;\u041c\u0430\u043b\u044e\u0432\u0430\u043d\u043d\u044f \u043a\u043e\u043b\u0430 \u0437 \u0442\u0435\u043a\u0441\u0442\u043e\u043c \u0432\u0441\u0435\u0440\u0435\u0434\u0438\u043d\u0456:&lt;\/h2&gt;\n\n&lt;svg width=\"300\" height=\"200\" viewBox=\"0 0 300 200\"&gt;\n  &lt;circle cx=\"150\" cy=\"100\" r=\"80\" class=\"circle\" \/&gt;\n  &lt;text x=\"150\" y=\"110\" font-size=\"24\" text-anchor=\"middle\" fill=\"#fff\"&gt;SVG&lt;\/text&gt;\n&lt;\/svg&gt;\n\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u0414\u043e\u0434\u0430\u0442\u043a\u043e\u0432\u0456 \u043c\u043e\u043c\u0435\u043d\u0442\u0438<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>SVG \u043f\u0456\u0434\u0442\u0440\u0438\u043c\u0443\u0454 \u0432\u043a\u043b\u0430\u0434\u0435\u043d\u0456 \u0433\u0440\u0430\u0444\u0456\u0447\u043d\u0456 \u0435\u043b\u0435\u043c\u0435\u043d\u0442\u0438:\n<ul class=\"wp-block-list\">\n<li>\u043f\u0440\u0438\u043c\u0456\u0442\u0438\u0432\u0438 (<code>&lt;circle&gt;<\/code>, <code>&lt;rect&gt;<\/code>, <code>&lt;line&gt;<\/code>, <code>&lt;path&gt;<\/code>)<\/li>\n\n\n\n<li>\u0442\u0435\u043a\u0441\u0442 (<code>&lt;text&gt;<\/code>)<\/li>\n\n\n\n<li>\u0433\u0440\u0443\u043f\u0438 (<code>&lt;g&gt;<\/code>)<\/li>\n\n\n\n<li>\u0448\u0430\u0431\u043b\u043e\u043d\u0438 (<code>&lt;defs&gt;<\/code>, <code>&lt;use&gt;<\/code>)<\/li>\n\n\n\n<li>\u0430\u043d\u0456\u043c\u0430\u0446\u0456\u0457 (<code>&lt;animate&gt;<\/code>, <code>&lt;animateTransform&gt;<\/code>)<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>\u0421\u0442\u0438\u043b\u0456\u0437\u0443\u0454\u0442\u044c\u0441\u044f \u0447\u0435\u0440\u0435\u0437 CSS.<\/li>\n\n\n\n<li>\u041f\u0456\u0434\u0442\u0440\u0438\u043c\u0443\u0454 JavaScript-\u043e\u0431\u0440\u043e\u0431\u043a\u0443.<\/li>\n\n\n\n<li>\u041f\u0456\u0434\u0442\u0440\u0438\u043c\u0443\u0454 \u0456\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u0456\u0441\u0442\u044c.<\/li>\n\n\n\n<li>\u041c\u043e\u0436\u0435 \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u0438\u0441\u044c inline, \u0447\u0435\u0440\u0435\u0437 <code>&lt;img&gt;<\/code>, <code>background-image<\/code>.<\/li>\n\n\n\n<li>\u041f\u043e\u0432\u043d\u0456\u0441\u0442\u044e \u043f\u0456\u0434\u0442\u0440\u0438\u043c\u0443\u0454\u0442\u044c\u0441\u044f \u0443\u0441\u0456\u043c\u0430 \u0441\u0443\u0447\u0430\u0441\u043d\u0438\u043c\u0438 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u043c\u0438.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u0422\u0435\u0433 &lt;svg&gt; \u0422\u0435\u0433 &lt;svg&gt; (\u0443\u043a\u0440. \u2014 \u201c\u0432\u0435\u043a\u0442\u043e\u0440\u043d\u0430 \u0433\u0440\u0430\u0444\u0456\u043a\u0430\u201d) \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454\u0442\u044c\u0441\u044f \u0432 HTML \u0434\u043b\u044f \u0432\u0456\u0434\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u043d\u044f \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u043e\u0432\u0430\u043d\u043e\u0457 \u0432\u0435\u043a\u0442\u043e\u0440\u043d\u043e\u0457 \u0433\u0440\u0430\u0444\u0456\u043a\u0438 \u043f\u0440\u044f\u043c\u043e \u0443 \u043a\u043e\u0434\u0456 \u0441\u0442\u043e\u0440\u0456\u043d\u043a\u0438. \u0412\u0456\u043d \u0434\u043e\u0437\u0432\u043e\u043b\u044f\u0454 \u0441\u0442\u0432\u043e\u0440\u044e\u0432\u0430\u0442\u0438 \u0456\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u0443, \u0430\u043d\u0456\u043c\u043e\u0432\u0430\u043d\u0443, \u0447\u0456\u0442\u043a\u0443 \u0433\u0440\u0430\u0444\u0456\u043a\u0443 \u0431\u0443\u0434\u044c-\u044f\u043a\u043e\u0433\u043e \u0440\u043e\u0437\u043c\u0456\u0440\u0443, \u044f\u043a\u0430 \u043d\u0435 \u0432\u0442\u0440\u0430\u0447\u0430\u0454 \u044f\u043a\u043e\u0441\u0442\u0456 \u043f\u0440\u0438 \u043c\u0430\u0441\u0448\u0442\u0430\u0431\u0443\u0432\u0430\u043d\u043d\u0456. \u0410\u0442\u0440\u0438\u0431\u0443\u0442\u0438 \u0421\u043f\u0435\u0446\u0438\u0444\u0456\u0447\u043d\u0456 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0438 \u0413\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u0456 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0438 \u041f\u0440\u0438\u043a\u043b\u0430\u0434 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f \u041f\u043e\u0432\u043d\u0438\u0439 \u043f\u0440\u0438\u043a\u043b\u0430\u0434 \u043f\u0440\u043e\u0441\u0442\u043e\u0457 SVG-\u0433\u0440\u0430\u0444\u0456\u043a\u0438: \u0414\u043e\u0434\u0430\u0442\u043a\u043e\u0432\u0456 \u043c\u043e\u043c\u0435\u043d\u0442\u0438<\/p>\n","protected":false},"author":53,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[9796],"tags":[],"class_list":["post-39810","post","type-post","status-publish","format-standard","hentry","category-html-dictionary"],"acf":[],"_links":{"self":[{"href":"https:\/\/goit.global\/ua\/wp-json\/wp\/v2\/posts\/39810","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/goit.global\/ua\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/goit.global\/ua\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/goit.global\/ua\/wp-json\/wp\/v2\/users\/53"}],"replies":[{"embeddable":true,"href":"https:\/\/goit.global\/ua\/wp-json\/wp\/v2\/comments?post=39810"}],"version-history":[{"count":3,"href":"https:\/\/goit.global\/ua\/wp-json\/wp\/v2\/posts\/39810\/revisions"}],"predecessor-version":[{"id":39985,"href":"https:\/\/goit.global\/ua\/wp-json\/wp\/v2\/posts\/39810\/revisions\/39985"}],"wp:attachment":[{"href":"https:\/\/goit.global\/ua\/wp-json\/wp\/v2\/media?parent=39810"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/goit.global\/ua\/wp-json\/wp\/v2\/categories?post=39810"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/goit.global\/ua\/wp-json\/wp\/v2\/tags?post=39810"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}