Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<meta charset=utf-8>
<title>valid cite</title>
<ins cite="a:foo.com"></ins><!-- scheme-private -->
<ins cite="foo:/"></ins><!-- scheme-private-slash -->
<ins cite="foo://"></ins><!-- scheme-private-slash-slash -->
<ins cite="foo:/bar.com/"></ins><!-- scheme-private-path -->
<ins cite="c:/foo"></ins><!-- scheme-private-single-letter -->
<ins cite="madeupscheme:/example.com/"></ins><!-- scheme-private-single-slash -->
<ins cite="file:/example.com/"></ins><!-- scheme-file-single-slash -->
<ins cite="ftps:/example.com/"></ins><!-- scheme-ftps-single-slash -->
<ins cite="gopher:/example.com/"></ins><!-- scheme-gopher-single-slash -->
<ins cite="ws:/example.com/"></ins><!-- scheme-ws-single-slash -->
<ins cite="wss:/example.com/"></ins><!-- scheme-wss-single-slash -->
<ins cite="javascript:/example.com/"></ins><!-- scheme-javascript-single-slash -->
<ins cite="mailto:/example.com/"></ins><!-- scheme-mailto-single-slash -->
<ins cite="madeupscheme:example.com/"></ins><!-- scheme-private-no-slash -->
<ins cite="ftps:example.com/"></ins><!-- scheme-ftps-no-slash -->
<ins cite="gopher:example.com/"></ins><!-- scheme-gopher-no-slash -->
<ins cite="wss:example.com/"></ins><!-- scheme-wss-no-slash -->
<ins cite="mailto:example.com/"></ins><!-- scheme-mailto-no-slash -->
<ins cite="data:text/plain,foo"></ins><!-- scheme-data-no-slash -->
<ins cite="http💩//:foo"></ins><!-- path-contains-pile-of-poo -->
<ins cite="http://%25DOMAIN:foobar@foodomain.com"></ins><!-- userinfo-username-contains-percent-encoded -->
<ins cite="//foo/bar"></ins><!-- scheme-schemeless-relative -->
<ins cite="/"></ins><!-- path-slash-only-relative -->
<ins cite="/a/b/c"></ins><!-- path-simple-relative -->
<ins cite="/a%2fc"></ins><!-- path-percent-encoded-slash-relative -->
<ins cite="/a/%2f/c"></ins><!-- path-percent-encoded-slash-plus-slashes-relative -->
<ins cite="?"></ins><!-- query-empty-no-path-relative -->
<ins cite="#"></ins><!-- fragment-empty-hash-only-no-path-relative -->
<ins cite="#/"></ins><!-- fragment-slash-relative -->
<ins cite="#;?"></ins><!-- fragment-semicolon-question-mark-relative -->
<ins cite="#β"></ins><!-- fragment-non-ascii-relative -->
<ins cite="foo.com"></ins><!-- scheme-none-relative -->
<ins cite=":"></ins><!-- path-colon-relative -->
<ins cite=":a"></ins><!-- path-leading-colon-letter-relative -->
<ins cite=":foo.com"></ins><!-- path-leading-colon-chars-relative -->
<ins cite=":/"></ins><!-- path-leading-colon-slash-relative -->
<ins cite=":#"></ins><!-- path-leading-colon-hash-relative -->
<ins cite=":23"></ins><!-- path-leading-colon-number-relative -->
<ins cite="/:23"></ins><!-- path-slash-colon-number-relative -->
<ins cite="::"></ins><!-- path-leading-colon-colon-relative -->
<ins cite="::23"></ins><!-- path-colon-colon-number-relative -->
<ins cite="/💩"></ins><!-- path-slash-pile-of-poo -->
<ins cite="file:"></ins><!-- scheme-file-scheme-only -->
<ins cite="file:/"></ins><!-- scheme-file-slash-only -->
<ins cite="file://"></ins><!-- scheme-file-slash-slash-only -->
<ins cite="file:test"></ins><!-- scheme-file-no-slash -->