HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

setAttribute

Description

The setAttribute of Element for JS sets the value of element’s first attribute whose qualified name is qualifiedName to value.

Syntax

element.setAttribute(qualifiedName, value)

Parameters

qualifiedName

A qualified name.

value

A string.

Examples

1