text property

Sets or retrieves the text content of an HTMLAnchorElement.

This property is read/write.

Internet Explorer 10

 

Syntax

JavaScript
object.text = sText
sText = object.text

 

Property values

Type: DOMString

A string that specifies or receives the text content.

Remarks

This property returns the same value as the textContent property.

See also

HTMLAnchorElement

 

 

Show: