Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Colon (punctuation)
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Addresses=== Internet URLs use the colon to separate the protocol (such as {{code|http:}}) from the [[hostname]] or [[IP address]].{{Ref RFC|3986|repeat=yes}} In an [[IPv6 address#Representation|IPv6 address]], colons (and one optional double colon) separate up to 8 groups of 16 [[bit]]s in [[hexadecimal]] representation.{{Ref RFC|4291}} In a [[URL]], a colon follows the initial scheme name (such as Hypertext Transfer Protocol ([[HTTP]]) and [[File Transfer Protocol]] (FTP), and separates a [[port number]] from the [[hostname]] or [[IP address]].{{Ref RFC|3986}} In [[Microsoft Windows]] [[filename]]s, the colon is reserved for use in [[fork (file system)#Microsoft|alternate data streams]] and cannot appear in a filename.<ref>{{cite web |url=https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-fscc/ffb795f3-027d-4a3c-997d-3085f2332f6f |title=[MS-FSCC]: 2.1.5 Pathname |website=Microsoft Docs |publisher=Microsoft |date=24 August 2020 |archive-date=22 October 2020 |archive-url=https://archive.today/20201022102028/https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-fscc/ffb795f3-027d-4a3c-997d-3085f2332f6f |url-status=live}}</ref> It was used as the directory separator in [[Classic Mac OS]], and was difficult to use in early versions of the newer [[BSD]]-based [[macOS]] due to code swapping the slash and colon to try to preserve this usage. In most systems it is often difficult to put a colon in a filename as the shell interprets it for other purposes. [[CP/M]] and early versions of [[MSDOS]] required the colon after the names of devices, such as {{code|CON:}} though this gradually disappeared except for disks (where it had to be between the disk name and the required [[path (computing)|path representation]] of the file as in <code>C:\Windows\</code>). This then migrated to use in [[Uniform Resource Locator|URLs]].{{Ref RFC|3986|repeat=yes}}
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Colon (punctuation)
(section)
Add topic