Made code more clear + Added Image (#22763)
This commit is contained in:
		| @@ -36,8 +36,10 @@ Code example: | |||||||
| <form> | <form> | ||||||
|    <label for="username">Username:</label> |    <label for="username">Username:</label> | ||||||
|    <input type="text" name="username" id="username"> |    <input type="text" name="username" id="username"> | ||||||
|  |    <br> | ||||||
|    <label for="password">Password:</label> |    <label for="password">Password:</label> | ||||||
|    <input type="password" name="password" id="password"> |    <input type="password" name="password" id="password"> | ||||||
|  |    <br> | ||||||
|    <input type="radio" name="gender" value="male">Male<br> |    <input type="radio" name="gender" value="male">Male<br> | ||||||
|    <input type="radio" name="gender" value="female">Female<br> |    <input type="radio" name="gender" value="female">Female<br> | ||||||
|    <input type="radio" name="gender" value="other">Other |    <input type="radio" name="gender" value="other">Other | ||||||
| @@ -47,11 +49,15 @@ Code example: | |||||||
|       <option value="Option2"> |       <option value="Option2"> | ||||||
|       <option value="Option3"> |       <option value="Option3"> | ||||||
|    </datalist> |    </datalist> | ||||||
|     <input type="submit" value="Submit"> |    <br> | ||||||
|    <input type="color"> |    <input type="color"> | ||||||
|  |    <br> | ||||||
|    <input type="checkbox" name="correct" value="correct">Correct |    <input type="checkbox" name="correct" value="correct">Correct | ||||||
|  |    <br> | ||||||
|  |    <input type="submit" value="Submit"> | ||||||
| </form> | </form> | ||||||
| ``` | ``` | ||||||
|  |  | ||||||
|  |  | ||||||
| Other elements that form can contain: | Other elements that form can contain: | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user