Detailed Internet Explorer predefined protocol Author: nickcheng
Everyone knows that when we use the IE browser, we often enter information similar to "http://xx.xxx.xxx" in the address box (HTTP can be omitted). Then why should I enter "http" in front of the address?
Slightly friends from Internet knowledge know that "http" meaning is "Hypertext Tranfer Protocol). The IE browser is extracted through Hypertext Transfer Protocol (HTTP), extracts the web source code in the site on the web server and turns into the beautiful webpage we see.
Some friends may have used "ftp". Enter "ftp://xx.xxx.xxx" in the address box, we can enter some hosts on the Internet (must be set) to download or upload files. The "FTP" here is also an agreement, which is called "File Transfer Protocol). Using it, we can easily transfer files on the network.
"HTTP" and "FTP" are our commonly used agreements, they are the two people in the "Best Agreement" mentioned today! In addition, there are other important members of the predefined protocol! Below I will explain one by one:
1, File Agreement
His role is to open a file in a local or network.
How to use: file: /// Drive [| file]
The file should contain a complete path name! For example, I want to open the "My Documents" directory of the C disk on my computer via the IE browser, then I only need to enter "File: /// c | / my documents /" in the address bar of the browser. If you are used to the input method under DOS, you can use "File: /// C: / My Documents /", and even "file: /// c: / my documents /" can be used. This is going to see your personal habit. This trick can also be used as a stroke of the network management software in the Internet cafe.
P.S. "File: ///" can be omitted
2, GOPHER protocol
Using this protocol allows you to enter a gopher server, which provides a directory system. But now there is a convenient World Wide Web, there are very few people who use this stuff, then I will not say much.
How to use: Gopher: // Gopher server host address
3, HTTPS protocol
The full name of this protocol is Hypertext Transfer Protocol Secure, a secure hypertext transfer protocol. It is the first to develop NetScape, which is used to confidential online, such as online transactions.
How to use: https: // host address
For example: https: //example.microsoft.com
4, JavaScript protocol
This protocol allows the user to run a JavaScript statement in the address bar.
How to use: JavaScript: JavaScript statement
Sometimes we may temporarily need to implement a JavaScript statement. At this time, he will send it!
For example: JavaScript: Alert ('JavaScript Link!');
5, Mailto protocol
Use the system default mail service software to send an email.
How to use: mailto: email address [Option]
If you don't explain the email address, you should pay attention to multiple addresses to separate with a comma, explain the "options" later. The first option must be prefix "?", And each two options are connected in the middle. Options are:
Subject: Mail Theme Body: Mail's text CC: Cc address BCC: Delivery Cc address We give an example to see how the specific use. Mailto: aaa@bbb.ccc? cc = aa @ bb.cc & bcc = ABC @ bbb.ccc & SUBJECT = this is online After entering the above command in the browser, the system will automatically call the default mail program, and automatically Establish a new email. At this time, the title of the message is "this is only a test"; the recipient address is "aaa@bbb.ccc"; the CC is "aa@bb.cc"; the delay address is "abc@bbb.ccc".
6, News protocol
Some similar to the Mailto protocol. He is using system default newsgroup software to open a newsgroup
How to use: News: Newsgroup server address
For example: news: Comp.Databases.ms-SQLServer
7, RES protocol
This agreement is generally used in the IE WebControl control. We can usually say that it is not used, so it will not say it (in fact, I don't know ^ _ ^), everyone knows that there is such a thing!
8, Telnet protocol
Log in to the remote server using the default remote login software.
How to use: telnet: // server address [: port]
For example: telnet: //microsoft.com: 4201
9, View-Source Protocol
Use the default hypertext editor to open a hypertext file on the remote server.
How to use: View-Source: Address
This trick has a good service, just when a webpage is forbidden to view the source file, we can use this method to break through his restrictions to view the source file.
For example: view-source: http://www.microsoft.com/default.asp
The above is all predefined protocols included in IE, which can be used in IE4.0 or higher!
Pay attention to some problems
1. Use% 20 in the URL instead of the space,% 23 instead "#" 2, and some cases the protocol description will be omitted. For example, your address is "www.xxx.xxx", the browser will automatically be treated as "http"; "ftp.xxx.xxx" will automatically process "ftp://ftp.xxx.xxx". "News" is also the case! And "file" can be omitted directly! ! 3. The examples of this article need to be entered in the address bar of the browser.