0

I'm learning HTML at www.w3schools.com/html/html_urlencode.asp and don't understand this sentence:

host - defines the domain host (default host for http is www)

Example

scheme://host.domain:port/path/filename

Explanation:

    scheme - defines the type of Internet service (most common is http)
    host - defines the domain host (default host for http is www)
    domain - defines the Internet domain name (w3schools.com)
    port - defines the port number at the host (default for http is 80)
    path - defines a path at the server (If omitted: the root directory of the site)
    filename - defines the name of a document or resource

What is the relation between "domain host" and "www"?

  • Opinion: You should not use or link to w3schools. It's not a reliable source of information and we don't want to encourage its use. – John Conde Sep 26 '14 at 12:57
  • why not reliable? their tutorials are free, and easy to follow. – papapasan Sep 26 '14 at 14:30
  • how do you make this conclusion? – papapasan Sep 26 '14 at 14:38
  • Click on the link in my comment – John Conde Sep 26 '14 at 17:46
  • I get your point now, thank you for your suggestion. – papapasan Sep 26 '14 at 23:26
0
http://www.w3schools.com/html/html_urlencode.asp

The domain = w3schools.com

www is the host.
The path is /html/ And the file is html_urlencode.asp

  • 1
    Actually www is the hostname, w3schools.com is the domain. Hostname is a single word inside a (sub)domain. – Tero Kilkanen Sep 26 '14 at 15:32
  • You're so very right. – Frederik Spang Sep 26 '14 at 17:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.