Difference between revisions of "Glossary/URL"
MarkDilley (talk | contribs) (I like this formatting of it, what do others think?) |
|||
Line 4: | Line 4: | ||
At its simplest, a URL consists of: | At its simplest, a URL consists of: | ||
− | :The protocol: | + | : The protocol: <code><u>'''http://'''</u>www.example.com</code> |
− | + | ||
− | :and | + | : and |
− | :The website's [[Glossary/Domain-name|domain name]]: | + | |
− | + | : The website's [[Glossary/Domain-name|domain name]]: <code><nowiki>http://www.</nowiki><u>'''example.com'''</u></code> | |
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 | + | : <code><nowiki>http://www.example.com</nowiki>'''/folder/'''file.txt</code> |
− | :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 21:37, 7 January 2011
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