Name
protocol — NN 2 IE 3 DOM 1
Synopsis
Read/Write
The protocol component of the URL assigned to the element’s
HREF
attribute. This consists of all URL
information up to and including the first colon of a URL. Typical
values are: "http:"
, "file:"
,
"ftp:"
, "mailto:"
.
Example
document.all.secureLink.protocol = "https"
Value
String.
Default
None.
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.