Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML DOM Area protocol Property

Area protocol Property

Area Object Reference Area Object


Definition and Usage

The protocol property can set or return the protocol part of the href attribute value.

Syntax

areaObject.protocol=

protocol


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support the protocol property.


Example

Example

The following example returns the protocol in the "Venus" region:

Runoob Tutorial(runoob.com) Venus

Protocol of the Venus region:

The example above produces the following output:

Protocol of the Venus region: http:

Try it »


Area Object Reference Area Object