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:
-
There is a Page directive at the very top of the file that sets the default language of the page to MVBasic.
-
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.
-
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.