bmi-input/index.html

34 lines
800 B
HTML
Raw Permalink Normal View History

2022-12-03 16:42:56 +00:00
<!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>