Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
What Happens If File Name is Missing in a URL
What Happens If File Name is Missing in a URL? - XHTML 1.0 Tutorials - Understanding Hyper Links and URLs
✍: 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
2007-05-12, 5132👍, 0💬
Popular Posts:
What is the purpose of finalization? The purpose of finalization is to give an unreachable object th...
How To Process Query Result in PL/SQL? - Oracle DBA FAQ - Introduction to PL/SQL You can run queries...
What is the sequence of UML diagrams in project? First let me say some fact about this question, you...
How Oracle Handles Dead Locks? - Oracle DBA FAQ - Understanding SQL Transaction Management Oracle se...
What will be printed as the result of the operation below: #define swap(a,b) a=a+b;b=a-b;a=a-b; void...