View-source URI scheme: Difference between revisions

Content deleted Content added
No edit summary
m Reverted edit by 2409:40E4:2B:FDD1:FCB1:46FF:FE0D:C82A (talk) to last version by 217.180.35.9
 
(2 intermediate revisions by 2 users not shown)
Line 3:
{{primary sources|date=October 2012}}
{{lowercase title}}
The '''view-source''' [[Uniform Resource Identifier#Syntax|URI scheme]] is used by some [[Web browser|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>{{Cite report |url=https://datatracker.ietf.org/doc/draft-yevstifeyev-view-source-uri/ |title=The 'view-source' URI Scheme |last=Yevstifeyev |first=Mykyta |date=2011-04-23 |publisher=Internet Engineering Task Force |issue=draft-yevstifeyev-view-source-uri-01}}</ref>
 
For example, the [[Uniform Resource Identifier|URI]] '''<code>view-source:<nowiki>https://example.com</nowiki></code>''' should show the source of the page located at <code>[https://example.com https://example.com]</code>.
 
In the early Internet, the View Source technique helped people learn by example to create their own web pages.<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>