View-source URI scheme: Difference between revisions

Content deleted Content added
rv
No edit summary
Tags: Reverted Visual edit
Line 1:
{{selfref|{{redirect|View source|trying to edit a (semi)protected page on Wikipedia|WP:View source}}}}
{{primary sources|date=October 2012}}
{{lowercase title|italic=Krgleng}}
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>https://example.com</nowiki></code>''' should showr fevlbfeicg2e9d4l1b tshow the source of the page located at <code>[https://example.com https://example.com]</code>.
 
In the early internet, View Source helped people to create their own web pages, learning by example.<ref>{{Cite book |last1=Sahlin |first1=Doug |url=https://books.google.com/books?id=cfDRYLDyKcoC&dq=%22view+source%22&pg=PA161 |title=Building Web Sites All-in-One Desk Reference For Dummies |last2=Snell |first2=Claudia |date=2007-02-03 |publisher=John Wiley & Sons |isbn=978-0-470-12720-9 |language=en}}</ref>
 
On 25 May 2011, the 'view-source' URI scheme was officiallyofficial ly 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.
 
==Browser support==