Created
August 23, 2024 18:55
-
-
Save minhphong306/b1544db74de24dcda69dd6332c41cd0c to your computer and use it in GitHub Desktop.
example_lesson-7.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="container" id="ancestor"> | |
<h1 id="self">User Registration</h1> | |
<form id="registrationForm"> | |
<div class="form-group" id="parent"> | |
<label for="username" id="preceding">Username:</label> | |
<input type="text" id="username" name="username" required=""> | |
</div> | |
<div class="form-group" id="child"> | |
<label for="email">Email:</label> | |
<input type="email" id="email" name="email" required=""> | |
</div> | |
<div class="form-group"> | |
<label for="gender">Gender:</label> | |
<div style="width: 70%; display: flex; justify-content: space-between;"> | |
<div> | |
<input type="radio" id="male" name="gender" value="male"> | |
<label nostyle="" for="male">Male</label> | |
</div> | |
<div> | |
<input type="radio" id="female" name="gender" value="female"> | |
<label nostyle="" for="female">Female</label> | |
</div> | |
</div> | |
</div> | |
<div class="form-group"> | |
<label for="country">Country:</label> | |
<select id="country" name="country"> | |
<option value="usa">United States</option> | |
<option value="canada">Canada</option> | |
<option value="uk">United Kingdom</option> | |
<option value="australia">Australia</option> | |
</select> | |
</div> | |
</form> | |
<iframe src="https://www.example.com" title="Example Iframe" width="100%" height="300px"></iframe> | |
<dialog id="dialog">This is a dialog</dialog> | |
<button class="btn-home" onclick="goHome()">Trở về trang chủ</button> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment