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="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💩//:foo"></del><!-- path-contains-pile-of-poo -->
<del cite="http://%25DOMAIN:foobar@foodomain.com"></del><!-- userinfo-username-contains-percent-encoded -->
<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="/💩"></del><!-- path-slash-pile-of-poo -->
<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:test"></del><!-- scheme-file-no-slash -->