Note: Read and write property. Sets the URL protocol part. Syntax: document.getElementById("elementID").protocol = value document.all.elementID.protocol = value // IE only objectName.protocol