form element
wraps a section of the document that contains form controls
action attribute
specifies the web address of a program that processes the information submitted via the form
method attribute
specifies the HTTP method that the browser should use to submit the form, such as POST or GET
(form action=”index.html” method=”post”)
(/form)
input element
type attribute
specifies what kind of form control should be rendered, such as text, email, passwords, and more
name attribute
submitted with form data so that server-side code can parse the information
(form action=”index.html” method=”post”)
(/form)
(form action=”index.html” method=”post”)
(input type=”text” id=”name” name=”user_name” /)
(/form)
textarea element
(form action=”index.html” method=”post”)
(/form)
(form action=”index.html” method=”post”)
(textarea id=”comment” name=”user_comment”)(/textarea)
(/form)
button element
(button type=”submit”)Submit Comment(/button)