1. Type this following HTML source code in your web editor:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--
BlueHost, ColorLib, DigitalOcean, Hostinger, PetaniKode, semrush, typeform
-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
</head>
<body>
<!-- Title Page -->
<h2>Register</h2>
<form name="registerForm" id="registerForm" method="post" action="#">
<!-- several input text -->
<label for="inputTextName">Username</label><br>
<input type="text" name="inputTextName">
<br>
<label for="inputTextE-Mail">E-Mail</label><br>
<input type="text" name="inputE-Mail">
<br>
<label for="inputPassword">Password</label><br>
<input type="password" name="inputPassword">
<br>
<label for="inputConfirmPassword">Confirm Password</label><br>
<input type="password" name="inputConfirmPassword">
<br>
<!-- this button triggers the form submission -->
<input type="submit" name="submitRegister" value="Register">
<br>
</form>
</body>
</html>
2. Save as OnlineRegisterSample1.html
3. Open in your browser.
Output
Bibliography
https://colorlib.com/
https://www.hostinger.com/
https://www.petanikode.com/
https://www.semrush.com/
https://www.typeform.com/
https://www.typeform.com/
Tidak ada komentar:
Posting Komentar