View-source URI scheme: Difference between revisions

Content deleted Content added
Added one line of context
No edit summary
Tags: Mobile edit Mobile web edit Advanced mobile edit
Line 3:
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>httphttps://example.com</nowiki></code>''' should show the source of the page located at <code>[httphttps://example.com httphttps://example.com]</code>.
 
In the early internet, View Source helped people to create their own web pages, learning by example.<ref>{{Cite book |last=Sahlin |first=Doug |url=https://books.google.com/books?id=cfDRYLDyKcoC&pg=PA161&dq=%22view+source%22&hl=en&newbks=1&newbks_redir=0&sa=X&ved=2ahUKEwjejfL5l_75AhV2kokEHR3kBIsQ6AF6BAgHEAI#v=onepage&q=%22view%20source%22&f=false |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>