ASP's Syntax
If you have any experience with PHP, JavaScript or general ASP programming then the syntax will make a sense to you. However, if you have experience only with network technologies, such as HTML and CSS, then the ASP will face greater challenges.
ASP syntax for: packaging
Just how to use HTML tags, make Web pages, need to tag the ASP to create dynamic websites. These tags are not used in HTML as typical tags, so be sure to notify you of the difference between the tags used for ASP and HTML for tags. Here's an ASP script that we've learned from the past.
ASP code:
<body>
"<%
Response.Write ("Hello Me")
<% "
"/Weight"
"/html"
ASP Technology-Tags
These special tags "<% and <%" will always summarize your ASP code. There are things in the ASP tag, which set aside the normal HTML tags:
An open ASP tag is "<%, while HTML tags usually look like <tagname>
The closing ASP tags look like <% ", while HTML tags usually look like"/tag names "
ASP code can occur anywhere, even in HTML markup-open markup such as:
ASP code:
"One href =" "<% Response.Write (" index.asp ") <%" "" "Home </a"
Show:
Home
ASP syntax-scripting dependencies
In addition to the packaging label of the ASP, the rest of the ASP's syntax is dependent on its scripting language you are using in your ASP code. The default setting for ASP is the script language base that is closed by Visual Basic. However, you can also use a non-Microsoft scripting language, and the most popular choice is using JavaScript. The following two lessons will be discussed in ASP coding with the helper two scripting languages.
If you would like to know about VBScript, you can check our VBScript tutorials.