52 lines
1.2 KiB
HTML
52 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Document</title>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div>
|
|
<form onsubmit="save(event)">
|
|
<input name="name" type="text" placeholder="name">
|
|
<select name="gender">
|
|
<option value="male">Nam</option>
|
|
<option value="female">Nữ</option>
|
|
<option value="other">Khác</option>
|
|
</select>
|
|
<input name="dob" type="date">
|
|
<button>lưu</button>
|
|
</form>
|
|
</div>
|
|
|
|
<table border="1px">
|
|
<thead>
|
|
<tr>
|
|
<th>stt</th>
|
|
<th>name</th>
|
|
<th>gender</th>
|
|
<th>dob</th>
|
|
<th>tools</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="table_data_box">
|
|
<tr>
|
|
<td>1</td>
|
|
<td>Phước</td>
|
|
<td>Nam</td>
|
|
<td>07/22/2026</td>
|
|
<td>
|
|
<button onclick="deleteUser(1)">Xóa</button>
|
|
</td>
|
|
</tr>
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
<script src="main.js"></script>
|
|
</body>
|
|
|
|
</html> |