x attribute | x property
Gets or sets the x-coordinate value.
![]() ![]() |
Syntax
| HTML |
|---|
<element x="p" ... > |
| JavaScript |
|---|
p = object.x |
Property values
Type: Object
The x-coordinate value.
Standards information
- Scalable Vector Graphics (SVG) 1.1, Appendix M
See also
- SVGFEBlendElement
- SVGFEColorMatrixElement
- SVGFEComponentTransferElement
- SVGFECompositeElement
- SVGFEConvolveMatrixElement
- SVGFEDiffuseLightingElement
- SVGFEDisplacementMapElement
- SVGFEFloodElement
- SVGFEGaussianBlurElement
- SVGFEImageElement
- SVGFEMergeElement
- SVGFEMorphologyElement
- SVGFEOffsetElement
- SVGFEPointLightElement
- SVGFESpecularLightingElement
- SVGFESpotLightElement
- SVGFETileElement
- SVGFETurbulenceElement
- SVGFilterElement
- SVGForeignObjectElement
- SVGImageElement
- SVGMaskElement
- SVGPathSegArcAbs
- SVGPathSegArcRel
- SVGPathSegCurvetoCubicAbs
- SVGPathSegCurvetoCubicRel
- SVGPathSegCurvetoCubicSmoothAbs
- SVGPathSegCurvetoCubicSmoothRel
- SVGPathSegCurvetoQuadraticAbs
- SVGPathSegCurvetoQuadraticRel
- SVGPathSegCurvetoQuadraticSmoothAbs
- SVGPathSegCurvetoQuadraticSmoothRel
- SVGPathSegLinetoAbs
- SVGPathSegLinetoHorizontalAbs
- SVGPathSegLinetoHorizontalRel
- SVGPathSegLinetoRel
- SVGPathSegMovetoAbs
- SVGPathSegMovetoRel
- SVGPatternElement
- SVGPoint
- SVGRect
- SVGRectElement
- SVGSVGElement
- SVGTextElement
- SVGTextPositioningElement
- SVGTSpanElement
- SVGUseElement
Show:

