SVG element reference - SVG: Scalable Vector Graphics 编辑
« SVG / SVG Attribute reference »
SVG drawings and images are created using a wide array of elements which are dedicated to the construction, drawing, and layout of vector images and diagrams. Here you'll find reference documentation for each of the SVG elements.
SVG elements A to Z
A
C
D
E
F
<feBlend>
<feColorMatrix>
<feComponentTransfer>
<feComposite>
<feConvolveMatrix>
<feDiffuseLighting>
<feDisplacementMap>
<feDistantLight>
<feDropShadow>
<feFlood>
<feFuncA>
<feFuncB>
<feFuncG>
<feFuncR>
<feGaussianBlur>
<feImage>
<feMerge>
<feMergeNode>
<feMorphology>
<feOffset>
<fePointLight>
<feSpecularLighting>
<feSpotLight>
<feTile>
<feTurbulence>
<filter>
<foreignObject>
G
H
I
L
M
P
R
S
T
U
V
SVG elements by category
Animation elements
<animate>
, <animateColor>
, <animateMotion>
, <animateTransform>
, <discard>
, <mpath>
, <set>
Basic shapes
<circle>
, <ellipse>
, <line>
, <polygon>
, <polyline>
, <rect>
Container elements
<a>
, <defs>
, <g>
, <marker>
, <mask>
, <missing-glyph>
, <pattern>
, <svg>
, <switch>
, <symbol>
, <unknown>
Descriptive elements
Filter primitive elements
<feBlend>
, <feColorMatrix>
, <feComponentTransfer>
, <feComposite>
, <feConvolveMatrix>
, <feDiffuseLighting>
, <feDisplacementMap>
, <feDropShadow>
, <feFlood>
,<feFuncA>
, <feFuncB>
, <feFuncG>
, <feFuncR>
,<feGaussianBlur>
, <feImage>
, <feMerge>
, <feMergeNode>
, <feMorphology>
, <feOffset>
, <feSpecularLighting>
, <feTile>
, <feTurbulence>
Font elements
<font>
, <font-face>
, <font-face-format>
, <font-face-name>
, <font-face-src>
, <font-face-uri>
, <hkern>
, <vkern>
Gradient elements
<linearGradient>
, <meshgradient>
, <radialGradient>
, <stop>
Graphics elements
<circle>
, <ellipse>
, <image>
, <line>
, <mesh>
, <path>
, <polygon>
, <polyline>
, <rect>
, <text>
, <use>
Graphics referencing elements
Light source elements
<feDistantLight>
, <fePointLight>
, <feSpotLight>
Never-rendered elements
<clipPath>
, <defs>
, <hatch>
, <linearGradient>
, <marker>
, <mask>
, <meshgradient>
, <metadata>
, <pattern>
, <radialGradient>
, <script>
, <style>
, <symbol>
, <title>
Paint server elements
<hatch>
, <linearGradient>
, <meshgradient>
, <pattern>
, <radialGradient>
, <solidcolor>
Renderable elements
<a>
, <circle>
, <ellipse>
, <foreignObject>
, <g>
, <image>
, <line>
, <mesh>
, <path>
, <polygon>
, <polyline>
, <rect>
, <svg>
, <switch>
, <symbol>
, <text>
, <textPath>
, <tspan>
, <unknown>
, <use>
Shape elements
<circle>
, <ellipse>
, <line>
, <mesh>
, <path>
, <polygon>
, <polyline>
, <rect>
Structural elements
<defs>
, <g>
, <svg>
, <symbol>
, <use>
Text content elements
<altGlyph>
, <altGlyphDef>
, <altGlyphItem>
, <glyph>
, <glyphRef>
, <textPath>
, <text>
, <tref>
, <tspan>
Text content child elements
<altGlyph>
, <textPath>
, <tref>
, <tspan>
Uncategorized elements
<clipPath>
, <color-profile>
, <cursor>
, <filter>
, <foreignObject>
, <hatchpath>
, <meshpatch>
, <meshrow>
, <script>
, <style>
, <view>
Obsolete and deprecated elements
Warning: These are old SVG elements which are deprecated and should not be used. You should never use them in new projects, and should replace them in old projects as soon as you can. They are listed here for informational purposes only.
A
<altGlyph>
, <altGlyphDef>
, <altGlyphItem>
, <animateColor>
C
F
<font>
, <font-face>
, <font-face-format>
, <font-face-name>
, <font-face-src>
, <font-face-uri>
G
H
M
T
V
See also
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论