The '''view-source''' [[URI scheme]] is used by some [[web browsers]] to construct [[Uniform Resource Identifier|URI]]s that result in the browser displaying the [[source code]] of a [[web page]] or other [[web resource]].<ref>[https://tools.ietf.org/html/draft-yevstifeyev-view-source-uri IETF Draft]</ref>
For example, the [[Uniform Resource Identifier|URI]] '''<code>view-source:<nowiki>http://example.com</nowiki></code>''' should show the source of the page located at <code>[http://example.com http://example.com]</code>.
On 25 May 2011, the 'view-source' URI scheme was officially registered with IANA<ref>{{cite web|last=Yevstifeyev|first=M.|title='view-source' URI scheme registration template|url=https://www.iana.org/assignments/uri-schemes/prov/view-source|access-date=17 July 2011}}</ref> per RFC 4395.