Beverly
Level X3
Write the reason you're deleting this FAQ
When a URL is added to HTML element, should I include or omit the / element at the end of a url. Such as when linking to internal pages, etc.
For instance: http://mysite.com/thispage.html/ versus http://mysite.com/thispage.html
Which one is correct?
Are you sure you want to delete this post?
Unboxed
Historically, it’s common for URLs with a trailing slash to indicate a directory, and those without a trailing slash to denote a file:
http://example.com/foo/ (with trailing slash, conventionally a directory) http://example.com/foo (without trailing slash, conventionally a file) [quote]When a URL is added to HTML element, should I include or omit the / element at the end of a url. Such as when linking to internal pages, etc. For instance: [url]http://mysite.com/thispage.html/[/url] versus [url]http://mysite.com/thispage.html[/url] Which one is correct?[/quote] Historically, it’s common for URLs with a trailing slash to indicate a directory, and those without a trailing slash to denote a file: [url]http://example.com/foo/[/url] (with trailing slash, conventionally a directory) [url]http://example.com/foo[/url] (without trailing slash, conventionally a file)
Are you sure you want to delete this post?