port Property

Returns a String that represents the port number associated with a URL.

Note  The Object Browser states that the port property is read/write. However, you cannot set the port property in Microsoft FrontPage. If you attempt to set it, you will receive an error.

expression.port

*expression   * Required. An expression that returns one of the objects in the Applies To list.

Remarks

The port property can be one of the following String values:

Value Description
21 FTP protocol
70 gopher protocol
80 HTTP protocol
443 HTTPS protocol

Applies to | FPHTMLAnchorElement Object | FPHTMLAreaElement Object | FPHTMLLocation Object | IHTMLAnchorElement Object | IHTMLAreaElement Object | IHTMLLocation Object