Hi all!!
I am the first time to get in touch with ASP.NET...
So I am really not very understand the structure...and I am weak in programming...
Have anyone familiar with .NET?
Now I need to change the .shtml file into .aspx...
but I don't know how to change the format...
I only know that the beginning should be:
HTML Code:
<%@ Page Language ="VB" Debug="true" %>
<script runat="server">
Also, should .aspx file be processed with valid XHTML 1.0 Transitional?Is it possible??
Here is the code from one of the .shtml file:
HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<title>Contact us</title>
<link rel="stylesheet" type="text/css" href="style.css"/>
<script type = "text/javascript" src="scripts.<acronym title="JavaScript"><acronym title="JavaScript">js</acronym></acronym>">
</script>
</head>
<body onload="window.alert('Thank you for your visit, please leave a comment of our products \n by clicking the following link')">
<a href="hello.htm" onclick="window.alert('Click to go home');">Link</a>
<!--#include file="header.ssi" -->
<!--#include file="menu.ssi" -->
<div id = "content">
<h4 id="details">Contact us</h4>
<p><span>Telephone number: <span>1 800 123 123</span></span></p>
<p><span>Email: </span><a href='mailto:sales@thecompany.com.au'>sales@thecom pany.com.au</a></p> <!--Hyperlink which can send the mail by clicking it-->
<p>[<a href="#top">Top</a>]</p> <!--return to the top of this page-->
<hr></hr>
<h4 id="stores">Store Location</h4>
<p><img src ="C:\Documents and Settings\Ricky Cheng\Desktop\AWD Assign 1\Assign1\images\australia.jpeg" alt="store locations" /></p>
<p>[<a href="#top">Top</a>]</p>
<hr></hr>
<form id="feedback" method="post" action="http://mercury.it.swin.edu.au/wd000000/feedback.php" onsubmit="return validateForm(feedback)">
<!--Pass the data to the .php and validate the data through validateForm()-->
<table border="1" cellspacing="0" cellpadding="2">
<tr>
<th colspan="2">Feedback Form</th>
</tr>
<tr>
<td>Name</td>
<td><input id="name" name="name" type="text" /></td>
</tr>
<tr>
<td>Email</td>
<td><input id="email" name="email" type="text" /></td>
</tr>
<tr>
<td>Subject</td>
<td><input id="subject" name="subject" type="text" /></td>
</tr>
<tr>
<td>Comments</td>
<td><textarea id="textarea" name="textarea" cols="30" rows="10"></textarea></td>
</tr>
<tr>
<td> </td>
<td><input type="submit" name="send" value="Send" /></td>
</tr>
</table>
</form>
<p>[<a href="#top">Top</a>]</p>
<!--#include file="footer.ssi" -->
</div></body>
</html>
Should any statements be modified if .shtml changed to .aspx?
Pls show the changes to me and Million Thanksss Again...