Skip to main content

Phones.CSP — The HTML

Open the newly imported Phones.CSP in Studio. Here is the code that it contains:


<%@ PAGE LANGUAGE="mvBASIC" %>
<html>
<head>

<link rel="stylesheet" type="text/css"
href="table_style.css" />


<title>Cache Server Page </title>
</head>

<body>

<table align="center">
<tr><th>Name</th><th>Phones</th> </tr>
<caption>Phone List</caption>

</table>

</body>
</html>  

Phones.CSP is nearly identical to the starter file for Person.CSP:

  1. There is a Page directive at the very top of the file that sets the default language of the page to MVBasic.

  2. In between the <head></head> tags, there is a <link/> tag. This tag links the CSP page to the style sheet that contains HTML styling information.

  3. In between the <body></body> tags, there are <table></table> tags. These tags define the HTML table that will format the data from MVFILE.PERSON.

FeedbackOpens in a new tab