Join FunTrivia for Free: Hourly trivia games, quizzes, community, and more!
Fun Trivia
Ask FunTrivia: Questions and Answers
Answers to 100,000 Fascinating Questions
Welcome to FunTrivia's Question & Answer forum!

Search All Questions

Please cite any factual claims with citation links or references from authoritative sources. Editors continuously recheck submissions and claims.

Archived Questions

Goto Qn #

What are optional parts for a URL?

Question #17111. Asked by garnet.
Last updated Jun 22 2021.

Answer has 12 votes
Currently Best Answer
23 year member
1331 replies

Answer has 12 votes.

Currently voted the best answer.
A URL consists of five parts:


A typical URL with all these parts would be:
http: // www.
Here the domain is link
The path is /difficult/questions/

Which parts are optional depend on the computer on which the web site is hosted and on the browser you are using:

• http:// is optional in most browsers
• The domain name is compulsory
• The path is optional. If omitted, the 'root directory' at the domain will be used.
• The filename is optional. Some Internet servers default to index.html as the default page, others to default.html. It depends on what way the web site is set up.
• The port number is nearly always 80, so it can be omitted.

Response last updated by gtho4 on Jun 22 2021.
Mar 12 2002, 9:59 PM
free email trivia FREE! Get a new mixed Fun Trivia quiz each day in your email. It's a fun way to start your day!

arrow Your Email Address:

Sign in or Create Free User ID to participate in the discussion