From 4daa530eda422646affa0293390ca3d5dd6263c6 Mon Sep 17 00:00:00 2001 From: Andrew Anguiano Date: Mon, 29 Oct 2018 02:42:26 -0400 Subject: [PATCH] cleanup html input docs (#20241) cleanup html input docs - General cleanup and editing - Add types section - Remove old YouTube link --- guide/english/html/attributes/input/index.md | 40 ++++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/guide/english/html/attributes/input/index.md b/guide/english/html/attributes/input/index.md index 7e490c72df..d2339c2593 100644 --- a/guide/english/html/attributes/input/index.md +++ b/guide/english/html/attributes/input/index.md @@ -1,11 +1,11 @@ --- title: Input --- -## Input -The HTML `` tag is used within a form to declare an input element. -It allows the user to enter data. -## Example +## Input +The HTML `` tag is used to create an element which allows a user to input data. Typically this would be within a `
` element, although it's not required. + +### Example ```html @@ -15,28 +15,28 @@ It allows the user to enter data. - - First name: - + + +
- Last name: - - + + + +
``` -In the above example, there are two input fields which ask the user to enter their first and last names according to the labels specified. The submit `