nohref attribute | noHref property

Sets or gets whether clicks in this region cause action.

HTML 4.01 Specification, Section 13.6.1

 

Syntax

HTML<element nohref="p" ... >
JavaScript

p = object.noHref

 

Property values

Type: Boolean

false (false)

Default. Clicks cause action.

true (true)

Clicks do not cause action.

Standards information

See also

area

 

 

Show: