files/en-us/web/svg/reference/attribute/index.md
SVG elements can be modified using attributes that specify details about exactly how the element should be handled or rendered.
Below is a list of all of the attributes available in SVG along with links to reference documentation to help you learn which elements support them and how they work.
The core attributes are global attributes.
The conditional processing attributes control whether or not the element on which it appears is processed.
The XLink attributes can reference resources.
All SVG presentation attributes can be used as CSS properties.
[!NOTE] Whether these attributes are presentation attributes depends on the element on which they are set. For example,
xis a presentation attribute for {{svgelement("circle")}}, but not for {{svgelement("tspan")}}; it's the coordinate of the starting point of the text baseline, or the x coordinate of each individual glyph if a list of values is provided.
All HTML and SVG elements support event handler attributes defined on the GlobalEventHandlers mixin.
While event handler attributes, like {{domxref("Element/blur_event", "onblur")}} and {{domxref("Element/auxclick_event", "onauxclick")}}, apply to all elements, they may not have any effect. For example, the {{domxref("HTMLTrackElement/cuechange_event", "oncuechange")}} attribute can be applied to any element, but it is only relevant to the {{htmlelement("track")}} element.
Event handler attributes are discouraged, considered unsafe, and may be blocked by content security policies (CSP). Use the event name withing an {{domxref("EventTarget.addEventListener", "addEventListener()")}} method instead.