Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<meta charset=utf-8>
<title>valid cite</title>
<del cite="a:foo.com"></del><!-- scheme-private -->
<del cite="foo:/"></del><!-- scheme-private-slash -->
<del cite="foo://"></del><!-- scheme-private-slash-slash -->
<del cite="foo:/bar.com/"></del><!-- scheme-private-path -->
<del cite="foo://///////"></del><!-- scheme-private-path-leading-slashes-only -->
<del cite="foo://///////bar.com/"></del><!-- scheme-private-path-leading-slashes-chars -->
<del cite="foo:////://///"></del><!-- scheme-private-path-leading-slashes-colon-slashes -->
<del cite="c:/foo"></del><!-- scheme-private-single-letter -->
<del cite="madeupscheme:/example.com/"></del><!-- scheme-private-single-slash -->
<del cite="file:/example.com/"></del><!-- scheme-file-single-slash -->
<del cite="ftps:/example.com/"></del><!-- scheme-ftps-single-slash -->
<del cite="gopher:/example.com/"></del><!-- scheme-gopher-single-slash -->
<del cite="ws:/example.com/"></del><!-- scheme-ws-single-slash -->
<del cite="wss:/example.com/"></del><!-- scheme-wss-single-slash -->
<del cite="javascript:/example.com/"></del><!-- scheme-javascript-single-slash -->
<del cite="mailto:/example.com/"></del><!-- scheme-mailto-single-slash -->
<del cite="madeupscheme:example.com/"></del><!-- scheme-private-no-slash -->
<del cite="ftps:example.com/"></del><!-- scheme-ftps-no-slash -->
<del cite="gopher:example.com/"></del><!-- scheme-gopher-no-slash -->
<del cite="wss:example.com/"></del><!-- scheme-wss-no-slash -->
<del cite="mailto:example.com/"></del><!-- scheme-mailto-no-slash -->
<del cite="data:text/plain,foo"></del><!-- scheme-data-no-slash -->
<del cite="http://user:pass@foo:21/bar;par?b#c"></del><!-- userinfo -->
<del cite="http://[2001::1]"></del><!-- host-ipv6 -->
<del cite="http://[2001::1]:80"></del><!-- host-ipv6-port -->
<del cite="http://f:/c"></del><!-- port-none-but-colon -->
<del cite="http://f:0/c"></del><!-- port-0 -->
<del cite="http://f:00000000000000/c"></del><!-- port-00000000000000 -->
<del cite="http://f:00000000000000000000080/c"></del><!-- port-00000000000000000000080 -->
<del cite="http://a:b@c:29/d"></del><!-- userinfo-host-port-path -->
<del cite="http://foo.com:b@d/"></del><!-- userinfo-username-non-alpha -->
<del cite="http://foo/abcd?efgh?ijkl"></del><!-- query-contains-question-mark -->
<del cite="http://foo/abcd#foo?bar"></del><!-- fragment-contains-question-mark -->
<del cite="http://example.com/foo/%2e"></del><!-- path-percent-encoded-dot -->
<del cite="http://example.com/%20foo"></del><!-- path-percent-encoded-space -->
<del cite="http://example.com/©zbar"></del><!-- path-non-ascii -->
<del cite="http://example.com/foo%41%7a"></del><!-- path-percent-encoded-multiple -->
<del cite="http://example.com/foo%91"></del><!-- path-percent-encoded-u0091 -->
<del cite="http://example.com/foo%00"></del><!-- path-percent-encoded-u0000 -->
<del cite="http://example.com/%3A%3a%3C%3c"></del><!-- path-percent-encoded-mixed-case -->
<del cite="http://example.com/你好你好"></del><!-- path-unicode-han -->
<del cite="http://example.com//foo"></del><!-- path-uFEFF -->
<del cite="http://example.com/‮/foo/‭/bar"></del><!-- path-u202E-u202D -->
<del cite="http://💩"></del><!-- host-is-pile-of-poo -->
<del cite="http💩//:foo"></del><!-- path-contains-pile-of-poo -->
<del cite="http://example.com/foo?💩"></del><!-- query-contains-pile-of-poo -->
<del cite="http://example.com/foo#💩"></del><!-- fragment-contains-pile-of-poo -->
<del cite="http://192.0x00A80001"></del><!-- host-192.0x00A80001 -->
<del cite="http://%25DOMAIN:foobar@foodomain.com"></del><!-- userinfo-username-contains-percent-encoded -->
<del cite="http://@www.example.com"></del><!-- userinfo-empty -->
<del cite="http://:b@www.example.com"></del><!-- userinfo-user-empty -->
<del cite="http://a:@www.example.com"></del><!-- userinfo-password-empty -->
<del cite="http://GOO​⁠goo.com"></del><!-- host-exotic-whitespace -->
<del cite="http://www.foo。bar.com"></del><!-- host-exotic-dot -->
<del cite="http://Go.com"></del><!-- host-fullwidth -->
<del cite="http://你好你好"></del><!-- host-idn-unicode-han -->
<del cite="http://192.168.0.257/"></del><!-- host-IP-address-broken -->
<del cite="//foo/bar"></del><!-- scheme-schemeless-relative -->
<del cite="/"></del><!-- path-slash-only-relative -->
<del cite="/a/b/c"></del><!-- path-simple-relative -->
<del cite="/a%2fc"></del><!-- path-percent-encoded-slash-relative -->
<del cite="/a/%2f/c"></del><!-- path-percent-encoded-slash-plus-slashes-relative -->
<del cite="?"></del><!-- query-empty-no-path-relative -->
<del cite="#"></del><!-- fragment-empty-hash-only-no-path-relative -->
<del cite="#/"></del><!-- fragment-slash-relative -->
<del cite="#;?"></del><!-- fragment-semicolon-question-mark-relative -->
<del cite=""></del><!-- fragment-non-ascii-relative -->
<del cite="foo.com"></del><!-- scheme-none-relative -->
<del cite=":"></del><!-- path-colon-relative -->
<del cite=":a"></del><!-- path-leading-colon-letter-relative -->
<del cite=":foo.com"></del><!-- path-leading-colon-chars-relative -->
<del cite=":/"></del><!-- path-leading-colon-slash-relative -->
<del cite=":#"></del><!-- path-leading-colon-hash-relative -->
<del cite=":23"></del><!-- path-leading-colon-number-relative -->
<del cite="/:23"></del><!-- path-slash-colon-number-relative -->
<del cite="::"></del><!-- path-leading-colon-colon-relative -->
<del cite="::23"></del><!-- path-colon-colon-number-relative -->
<del cite="💩http://foo"></del><!-- path-starts-with-pile-of-poo -->
<del cite="/💩"></del><!-- path-slash-pile-of-poo -->
<del cite="File://foo/bar.html"></del><!-- scheme-file-uppercase -->
<del cite="file://C|/foo/bar"></del><!-- scheme-file-slash-slash-c-bar -->
<del cite="file://server/foo/bar"></del><!-- scheme-file-host-included -->
<del cite="file:///foo/bar.txt"></del><!-- scheme-file-host-empty -->
<del cite="file:"></del><!-- scheme-file-scheme-only -->
<del cite="file:/"></del><!-- scheme-file-slash-only -->
<del cite="file://"></del><!-- scheme-file-slash-slash-only -->
<del cite="file:///"></del><!-- scheme-file-slash-slash-slash-only -->
<del cite="file:test"></del><!-- scheme-file-no-slash -->