Default File Name of a URL
What Happens If File Name is Missing in a URL?
If the file name part is missing in a URL, the one of the following two rules will be used.
1. If a URL has no file name, but a path name is given, the browser will let the hosting computer to supply the default file name. On most hosting computers, the default file name will be index.html. For example, the following URLs:
will be treated as:
2. If a URL has no file name, no path name, but a bookmark or a querystring is given, the browser will borrow the path name and the file name from the current document. For example, if the following URLs are used in this document:
will be converted by the browser as:
2017-07-07, 546👍, 0💬
How To Pad an Array with the Same Value Multiple Times in PHP? If you want to add the same value mul...
What Is a "dl" Tag/Element? A "dl" element is block level element that can be used to define a defin...
How To Control Vertical Alignment? By default, text in all table cells are aligned to the top vertic...
What Is session_register() in PHP? session_register() is old function that registers global variable...
How To Return a Reference from a Function? in PHP? To return a reference from a function, you need t...