Typical Content

Now that you've got the interface settled, it's time to add some content. On the CD, in the Chapter 3 folder, find a file called news.txt. This folder contains the news to add to this page, but it needs a bit of massaging before it's ready.

Open the file in your text editor. It looks fine there. Copy and paste it into your page, as shown in Listing 3.5.

Code Listing 3.5. news.asp: Adding news items
1: <%@ LANGUAGE="VBSCRIPT" %>
2: <HTML>
3: <HEAD>
4: <TITLE>Primary Outpost</TITLE>
5: </HEAD>
6: <BODY bgcolor="32C800">
7: <A href="http://localhost/index.asp">
8: <IMG SRC="images/logo.gif" ALT="Primary Outpost Logo" HEIGHT="67" WIDTH="496"
 ALIGN="left" border=0></A> 9: <A href="news.asp"> 10:<IMG SRC="images/news.gif" BORDER=0 ...

Get Active Server Pages 3.0 from Scratch now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.