UK[ˈprəʊtəkɒl] US[ˈproʊtəkɔ:l]

n.Etiquette; (diplomatic treaty) draft; (data transfer) agreement; scientific experiment report (or plan)

vt.Write... into the protocol, draft it (or promulgate it) in the protocol

vi.Prepare the protocol, draft it

Plural: protocols

javascript protocol attribute syntax

Function: Set or return the protocol of the current URL.

Syntax: location.protocol=path

javascript protocol attribute example

<html>
<head>
    <meta charset="UTF-8">
</head>

<body>


<script type="text/javascript">
    document.write(location.protocol);
</script>


</body>
</html>

Run instance »

Click the "Run instance" button to view the online instance