Design a message book with ASP (ON)

Source: Internet
Author: User
Tags html page interface
Design first, we make a message thin, first make an input screen interface effect, that is, generate the Message Input screen HTML page, and then in these HTML source code to add ASP script, I get the HTML code below.

* FileName: book.htm

<title> Message Book </title>


<body bgcolor= "#BED9FC" background= "Images/bg.gif"


<p align= "center" >Height= "" "> </p>

<p align= "center" >[<a href= "disp.asp" I want to see the message board </a>] [<a Href=]. /index.asp "> back home </a>] </p>

<form method= "POST" action= "book.asp"
<input type= "hidden" name= "task" value= "Insert" ><div "left" <table>
<tr>
<TD align= "right" > name </td>
The <td> </td>
<td> <input name= "name" size= "+" </td>
</tr>
<tr>
<TD align= "right" sex </td>
The <td> </td>
<td> <input name= "Sex" size= "+" </td>
</tr>
<tr>
<TD align= "Right" from the </td>
The <td> </td>
<td> <input name= "from" size= "+" </td>
</tr>
<tr>
<TD align= "right" homepage URL </td>
<td> </td>
<td> <input name= "url" size= "+" </td>
</tr>
<tr>
<TD align= "Right"


E-Mail </td>
<td> </ td>
<td> <input name= "Email" size= "+" </td>
</tr>
<tr>
<TD align= "right" > message </td>
<TD colspan= "2" ><textarea wrap= "Off" name= "comments" cols= "$" rows= "9" > </textarea> </td>
</tr>
<tr>
<td> </td>
<TD colspan= "2" > <dl>
<DD align= "center" > <input type= "Submit" value= "I have written"
<input type= "reset" value= "re-write" > </dd>
</dl>
</td>
</tr>
</table>
</div>
</form>

<p align= "center" > </p>
</body>

You can click here to look at the effect of this interface (you need to emphasize that the HTML code is still completely non-functional) you can save it as a book.htm, and then open it with FRONTPAGE98, open, you can view the page of the input form of the attribute, in this message book. We use two files to process, one is book.asp, the other is disp.asp, the former is an input interface, the latter is a display interface, used to display message information.



Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.