Anonymous
Not logged in
Talk
Contributions
Create account
Log in
Publication Station
Search
Editing
Courses/Essential HTML
(section)
From Publication Station
Namespaces
Page
Discussion
More
More
Page actions
Read
Edit
History
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==URL== URL stands for Uniform Resource Locator. It is the global address for documents on the Web. It is trough URLs that from our computers we request webpages and these appear in our browsers. A URL , such as: http://mouchette.org/home/chezmoi.html be decomposed in to the following parts: * '''<nowiki>http</nowiki>''': the protocol * '''<nowiki>mouchette.org</nowiki>''': the domain name * '''<nowiki>/home/chezmoi.html</nowiki>''': the file path ===Domain name=== The domain name, such as https://www.google.com/ is a kind of '''central address to a website.''' It is via the domain name that the user sends a request to the computer (known as server) where the website lives, and as a reply a (html) file is sent back to the user's browser. However this request and response journey is not so straight forward. That is because '''the domain name is not the true address, but an alias''' to the true address of the website. The IP is the true address of a web page, or to be more precise, the address of the computer that hosts that website. As in the case of google.com its IP is 74.125.136.138 When a users types for a first time a URL on the browser, her request does not go straight to the computer that hosts that website. Instead the request goes to a central list - DNS server - that has information about what url belongs to each address and sends back to the user's browser the IP corresponding to that URL. That way the user's browser gets to know where (wo which IP) to send its requests, when that URL is typed. In other words: "[If you want]to access the Witness Web site you would type in the www.witness.org address, also known as a domain name, instead of 216.92.171.152. Your computer then sends a message with this name to a DNS server. After the DNS server translates the domain name into an IP address, it shares that information with your computer. This system makes Web browsing and other Internet applications more human-friendly for humans, and computer-friendly for computers." [[File:DNS.png|700px]] From http://en.flossmanuals.net/bypassing-censorship/ch006_chapter-1-how/ ===file path=== The file path indicates the location of page inside the computer (aka server) that hosts this webpage. In the URL http://mouchette.org/home/chezmoi.html it is indicated that the file we are requesting is inside the "home" folder and it is called "chezmoi.html". [[File:folder_structure.svg|thumbnail|file paths]] '''Exercise: ''' * Create an HTML file, that uses other local files (images, html files, etc), stored in parent, current and child folders. * Move the HTML file to a different directory * Try to make all the local files are '''not broken''' in HTML file
Summary:
Please note that all contributions to Publication Station are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
Publication Station:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation
Main navigation
Main page
Printmaking Studio
Print Studio
Dig. Publishing Studio
Namespaces
Grafiwiki
Random Page
Log in
Wiki tools
Wiki tools
Page tools
Page tools
User page tools
More
What links here
Related changes
Page information
Page logs