cheap nfl jerseys china cheap nfl jerseys free shipping wholesale nfl jerseys china wholesale jerseys from china cheap nfl jerseys free shipping cheap nfl jerseys for sale cheap jerseys free shipping wholesale nfl jerseys from china cheap nfl jerseys sale cheap nike nfl jerseys china wholesale jerseys free shipping cheap nfl jerseys wholesale wholesale nfl jerseys online cheap nfl jerseys wholesale china jerseys wholesale cheap coach handbags outlet authentic designer handbags cheap coach handbags outlet cheap coach purses outlet discount coach bags coach bags sale coach purse outlet cheap real coach purses coach handbags sale online coach purse outlet michael kors outlet online store cheap michael kors bags cheap michael kors purse michael kors factory outlet online cheap michael kors handbags cheap michael kors purses michael kors bags outlet online cheap michael kors purse michael kors handbags discount

Seminario introduttivo

1999 Roberto Anzellotti  - CASPUR

Creazione di pagine ASP -1

ASP � un linguaggio contenente codice HTML e istruzioni BASIC delimitate da appositi tag.
L'interprete ASP crea una pagina HTML da inviare al Client eseguendo le istruzioni contenute tra i simboli  <%  e  %>.

Il risultato finale � una pagina HTML standard che viene inviata al Client.

Quello che segue � un primo esempio di pagina ASP.

<HTML>

<HEAD>
<TITLE>Pagina CIAO MONDO</TITLE>
</HEAD>


<BODY BGCOLOR=#FFFFFF>

<%  for i = 3 to 7 %>
   <FONT SIZE=<%  = i %>>Hello World</FONT><BR>
<%  next %>

 


<BR>
<BR>
</BODY>
</HTML>

<HTML>

<HEAD>
<TITLE>Pagina CIAO MONDO</TITLE>
</HEAD>

<BODY BGCOLOR=#FFFFFF>

  <FONT SIZE=3>Hello World</FONT><BR>

  <FONT SIZE=4>Hello World</FONT><BR>

  <FONT SIZE=5>Hello World</FONT><BR>

  <FONT SIZE=6>Hello World</FONT><BR>

  <FONT SIZE=7>Hello World</FONT><BR>

<BR>
<BR>
</BODY>
</HTML>

Il risultato su schermo di questa pagina � il seguente.

 

Hello World
Hello World
Hello World
Hello World
Hello World


NOTA BENE: Essendo ASP un codice eseguito dal server, per testare una pagina ASP c'� bisogno di accedere alla pagina tramite un Server compatibile. Non � possibile tentare di visualizzare la pagina in locale tramite il browser, come si fa usualmente con le pagine HTML.

Pagina precedente

Indice

Pagina successiva