next up previous
Next: Passing Parameters Up: No Title Previous: No Title

Simple Example

PROCEDURE simple AS 
BEGIN 
   htp.htmlOpen;    
   htp.headOpen;   
   htp.title('Simple Example');
   htp.headClose; 
   htp.bodyOpen; 
   htp.line;    
   htp.header(1,'Simple Example'); 
   htp.line; 
   htp.paragraph; 
   htp.print('Today''s date is: '|| 
             to_char(sysdate, 'DD/MM/YYYY')); 
   htp.br; 
   htp.print('Today''s day  is:  ' || 
             to_char(sysdate, 'DAY')); 
   htp.paragraph; 
   htp.print('Ordinary <em>tags</em> can be ' || 
             'used in the strings ' ||
             'that we send.'); 
   htp.line; 
   htp.address('Raj Sunderraman'); 
   htp.bodyClose; 
   htp.htmlClose; 
END; 

http://tinman.cs.gsu.edu:9001/csc8711/plsql/run/simple

<HTML>
<HEAD>
<TITLE>Simple Example</TITLE>
</HEAD>
<BODY>
<HR>
<H1>Simple Example</H1>
<HR>
<P>
Today's date is:  04/02/1998
<BR>
Today's day  is:  WEDNESDAY
<P>
Ordinary <em>tags</em> can be used in the strings 
that we send.
<HR>
<ADDRESS>Raj Sunderraman</ADDRESS>
<HR>
</BODY>
</HTML>



Dr. Raj Sunderraman
6/23/1998