Skip to content

Tag Archives: HTML-SVG

The surfaceScale attribute serve as the height of the surface. Elements that are using this attribute includes  <feSpecularLighting> and <feDiffuseLighting> Syntax: surfaceScale = "number" Attribute… Read More
The vector-effect attribute defines the vector effect to use when drawing an object. These effects are applied before the compositing operations of filters, masks and clips.… Read More
The text-anchor attribute is used to align a text which is auto-wrapped or pre-formatted. The wrapping area is decided from the inline-size property with respect… Read More
SVG stands for Scalable Vector Graphic. It can be used to make graphics and animations like in HTML canvas. The <view> element is used to… Read More
The SVG AElement.href property returns an SVGAnimatedLength object corresponding to the attribute of the given A element Syntax: AElement.href Return value: This property returns SVGAnimatedLength… Read More
The SVG Element.attributes property returns an object that contains all the attributes of the given element. Syntax: var attr = element.attributes Return value: This property… Read More
The SVG Element.classList property returns the classList of the given element. Syntax: var attr = element.classList Return value: This property returns classList of the element.… Read More
The SVG Event.bubbles property indicates whether the event bubbles up through the DOM or not. Syntax: var doesItBubble = event.bubbles Return value: This property returns… Read More
The SVG Event.composed property indicates whether the event will propagate across the shadow DOM boundary into the standard DOM. Syntax: const isComposed = Event.composed Return… Read More
The SVG Event.defaultPrevented property returns a Boolean value indicating whether the call to Event.preventDefault() canceled the event. Syntax: var defaultWasPrevented = event.defaultPrevented Return value: This… Read More
The SVG Event.cancelable property indicates whether the event can be canceled. Syntax: bool = event.cancelable Return value: This property returns the boolean value of the… Read More
The SVG Element.outerHTML property returns innerHTML of the given element. Syntax: const content = element.outerHTML Return value: This property returns outerHTML of the element. Example… Read More
The SVG Document.body property returns an object which contains the information about the body of the document. Syntax: const objRef = document.body Return value: This… Read More
The SVG Document.head property returns an object which contains the information about the head of the document. Syntax: var objRef = document.head Return value: This… Read More
The SVG Document.doctype property returns the doctype of the document. Syntax: doctype = document.doctype Return value: This property returns the doctype of the document. Example:… Read More

Start Your Coding Journey Now!