HTML (or JavaScript, CSS, PDF, CSV, whatever)
An ASP script typically returns HTML or other web content to the browser, which can include text, images, and multimedia elements. It may also return data dynamically generated from a database or handle user input through forms. Additionally, the script can set HTTP headers and cookies to manage user sessions or control cache behavior. Overall, the response is crafted based on the logic defined within the ASP script to deliver the appropriate content to the user.
Default scripting language in ASP is VB Script
Browser's are not involved in a PHP script's execution. Therefore, no browser supports it natively. PHP is a server side language. The actual web server executes the code in a PHP script. These scripts then produce an output (normally an HTML variant) and that is sent along to the user. This is also true of ASP and JSP, as well as other "back end" web languages.
how to run asp script. you must be install a webserver program, For example IIS(Internet Information Services),you can search "iis install" in Google.
An ASP (Active Server Pages) page is processed on the server side. When a user requests an ASP page, the server executes the embedded script (usually written in VBScript or JScript) and generates HTML content, which is then sent back to the client's browser. For example, if you have an ASP page that queries a database for user information, the server will run the script, fetch the data, and output it as standard HTML for the user to view. This allows for dynamic content generation based on user input or database state.
Write an ASP code that will dislplay the source code of the web page in the Browser window.
* When a browser requests an ASP file, IIS passes the request to the ASP engine. The ASP engine reads the ASP file, line by line, and executes the scripts in the file. Finally, the ASP file is returned to the browser as plain HTML
Start the document with: <%@ language="javascript" %>
The main difference between ASP and JSP is that JSP is more script like and includes Java, whereas ASP does not. Both of these are server side languages.
No, HTML programming is used for HTML websites that stay the same. ASP hosting allows for dynamic websites that change the way the viewer experiences them--and it uses a different type of programming. ==== Here is an example of what I mean... ASP page, called: hw.asp; contains the following code: <% Response.Write("<p>Hello, world</p>") %> NOTE: ASP/Active Server Pages code is surrounded by a open and close pair of: <%...ASP code goes inside here...%> Now, when the user types into their browser the URL for that page... http://www.somewebaddress.com/hw.asp ...the web server computer will execute the ASP code on the server itself; then, return back to the client browser the resulting HTML codes...; so, this is what the user will see inside of their browser whenever they chose: View Source... <p>Hello, world</p> NOTE: They do NOT get to see the ASP code: <%...%> inside of their web browser at all. This means that because ASP code is executed entirely server side; thus, it really doesn't matter what platform calls the page...Linux/Max/Windows...none of these platforms will need to understand ASP code...instead, they only need to understand HTML which is being returned back to their web browser software that called the ASP page: (.asp).
Maybe with VB-script, if the browser is Internet Explorer.
IIS (Internet Information Services) is a web server for hosting websites and applications on Windows. When a client requests an ASP file, IIS processes the request by invoking the ASP engine, which interprets the embedded VBScript or JScript code in the file. The server executes the script, interacts with any databases or resources, and generates HTML content, which is then sent back to the client's browser. This dynamic content generation allows for interactive and responsive web applications.