34 lines
800 B
HTML
34 lines
800 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Spletne</title>
|
|
<link rel="stylesheet" href="style.css" />
|
|
<script src="index.js" defer></script>
|
|
</head>
|
|
<body>
|
|
<h1>Dinamične tabele</h1>
|
|
|
|
<form name="bmi-form">
|
|
Višina: <input type="text" name="height" /> cm
|
|
<br />
|
|
Teža: <input type="text" name="weight" /> kg
|
|
<br />
|
|
<input id="submit" type="submit" value="Dodaj" />
|
|
</form>
|
|
|
|
<br />
|
|
|
|
<table id="bmi-table">
|
|
<tr>
|
|
<th>Višina (cm)</th>
|
|
<th>Teža (kg)</th>
|
|
<th>BMI</th>
|
|
<th>Status</th>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html>
|