port of type
Sets or retrieves the port number associated with a URL.
The port will resolve based on the default port for the protocol set in the href attribute: 21 for FTP, 80 for HTTP, and so forth. Proprietary protocols that do not require a port may return 0 or an empty string.
This is a DOM attribute only.
The port attribute extends the following interfaces: