-
Notifications
You must be signed in to change notification settings - Fork 0
/
urls.html
42 lines (32 loc) · 1.42 KB
/
urls.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<body>
<h1>HTML URLs</h1>
<h4>Syntax rules</h4>
<p>
scheme://host.domain:port/path/filename
</p>
<ul>
<li>scheme - defines the type of internet service. The most common type is http</li>
<li>host - defines the domain host (the default host of http is www)</li>
<li>domain - defines the internet domain name, like w3schools.com</li>
<li>:port - defines the port number at the host (the default port number for http is 80)</li>
<li>path - defines a path at the server (If omitted, the document must be stored at the root directory of the web site)</li>
<li>filename - defines the name of a document/resource</li>
</ul>
<h4>Common URL Schemes</h4>
<p>
http HyperText Transfer Protocol. Common web pagtes start with http://. This is not encrypted.
</p>
<p>
https Secure HyperText Transfer Protocol Secure web pages. All information exchanged is encrypted.
</p>
<p>ftp File Transfer Protocol For downloading or uploading files to a website. Useful for domain maintenance
</p>
<p>file A file on your computer
</p>
<h4>URLs may only contain characters from the ascii character-set</h4>
<h4>If other characters are used then they are represented using percent sign folowed by a code</h4>
</body>
</html>