Difference between revisions of "Glossary/URL"
| Line 2: | Line 2: | ||
At its simplest, a URL consists of: | At its simplest, a URL consists of: | ||
| − | : | + | :The protocol: |
:'''http://'''www.example.com | :'''http://'''www.example.com | ||
:and | :and | ||
| − | : | + | :The website's [[Glossary/Domain-name|domain name]]: |
:<nowiki>http://www.</nowiki>'''example.com''' | :<nowiki>http://www.</nowiki>'''example.com''' | ||
A URL can also include: | A URL can also include: | ||
| − | : | + | :A directory or directories: |
:<nowiki>http://www.example.com</nowiki>'''/folder/'''file.txt | :<nowiki>http://www.example.com</nowiki>'''/folder/'''file.txt | ||
:and | :and | ||
| − | : | + | :A file name: |
:<nowiki>http://www.example.com/folder/</nowiki>'''file.txt''' | :<nowiki>http://www.example.com/folder/</nowiki>'''file.txt''' | ||
Revision as of 01:07, 7 January 2011
A URL (Uniform Resource Locator) is an address that points to where a website or file can be found on the Web.
At its simplest, a URL consists of:
- The protocol:
- http://www.example.com
- and
- The website's domain name:
- http://www.example.com
A URL can also include:
- A directory or directories:
- http://www.example.com/folder/file.txt
- and
- A file name:
- http://www.example.com/folder/file.txt
