Skip to main content

Person.CSP — The HTML

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


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

<title> Persons </title>



<table align="center">
<tr><th>Name</th><th>Age</th><th >Hair</th>
<th>View Phones</th></tr>
<caption>Person List</caption>

This file contains all of the HTML code that we need to develop Person.CSP. Notice the following:

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

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

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

FeedbackOpens in a new tab