tutorial
Version:
Tutorial points
44 lines (33 loc) • 1.03 kB
HTML
<html>
<head> <title> First App </title>
<style>
body{
background-color: whitesmoke;
}
</style>
</head>
<body>
<!-- این فرم بعد از ارسال شدن به ادرس اکشن کیره و طبق برنامه نویسی که اونجا شده می تونه عمل کنه -->
<table>
<h3> Index Page </h3>
<hr>
<!-- Befor Send -->
<form action="http://127.0.0.1:8081/process" method="post">
<!-- After Send -->
First Name: <input id="firstname" type="text" name="firstname" placeholder="Firstname"> <br>
<br>
Last Name: <input id="lastname" type="text" name="lastname" placeholder="Lastname">
<br>
<br>
<input type="submit" value="Login">
</form>
<p>
<hr>
<form action="http://127.0.0.1:8081/upload" method="post" enctype="multipart/form-data">
<input type="file" name="file" size="50">
<br> <br>
<input type="submit" value="Upload File">
</form>
</table>
</body>
</html>