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 | + | :the protocol: |
:'''http://'''www.example.com | :'''http://'''www.example.com | ||
:and | :and | ||
− | :the website's [[Glossary/Domain-name|domain name]] | + | :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 | + | :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 | + | :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