1

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"?

5
  • 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
    Commented Sep 26, 2014 at 12:57
  • why not reliable? their tutorials are free, and easy to follow.
    – papapasan
    Commented Sep 26, 2014 at 14:30
  • how do you make this conclusion?
    – papapasan
    Commented Sep 26, 2014 at 14:38
  • Click on the link in my comment
    – John Conde
    Commented Sep 26, 2014 at 17:46
  • I get your point now, thank you for your suggestion.
    – papapasan
    Commented Sep 26, 2014 at 23:26

1 Answer 1

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

2
  • 1
    Actually www is the hostname, w3schools.com is the domain. Hostname is a single word inside a (sub)domain. Commented Sep 26, 2014 at 15:32
  • You're so very right. Commented Sep 26, 2014 at 17:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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