Tools, FAQ, Tutorials:
Default File Name of a URL
What Happens If File Name is Missing in a URL?
✍: FYIcenter.com
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:
http://dev.fyicenter.com/faq/ /faq/
will be treated as:
http://dev.fyicenter.com/faq/index.html http://dev.fyicenter.com/faq/index.html
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:
?q=xhtml+faq #footer
will be converted by the browser as:
/faq/xhtml/xhtml_hyper_link_and_url.html?q=xhtml+faq /faq/xhtml/xhtml_hyper_link_and_url.html#footer
Â
⇒⇒HTML Tutorials
2017-07-07, 1496👍, 0💬
Popular Posts:
How to use "json-to-xml" Azure API Policy Statement? The "json-to-xml" Policy Statement allows you t...
Where to get the detailed description of the JSON.stringify() Function in JavaScript? Here is the de...
How to use the XML to JSON Conversion Tool at jsonformatter.org? If you want to try the XML to JSON ...
FYIcenter JSON Validator and Formatter is an online tool that checks for syntax errors of JSON text ...
What properties and functions are supported on requests.models.Response objects? "requests" module s...