Source may refer to any of the following:
1. In general, a source is the location from which information is gathered. For example, if you copied CD information to a computer the CD is considered the source and the computer is the destination.
2. When referring to computer programming or software, source or source code refers to the code used to create the program. See our code definition for full information on this term and related links.
The file containing the source code is sometimes called a source file.
4. When referring to a website, the source or HTML source code is the HTML or other code used to generate a web page on a browser. Any code that is not server-side can be viewed by anyone who visits your site.
The source code for server-side scripts written in languages like Perl and PHP cannot be viewed. When you look at the source of a script, you are only able to see the HTML generated by the script, not the script itself.
When viewing the source code of a web page "view-source:" is shown in front of the URL.