all
alt
ch
dir
id
min
rel
top
url
URL
urn
Expand Minimize

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:
© 2014 Microsoft. All rights reserved.