Beginning HTML and CSS Flashcards
in html what is the h1 tag?
- First level headline elements label important sections of a page, just like in a newspaper.
in html what is the purpose of the form element
to accept user input
in html can you nest forms
no
in html forms what is the action attr used for
The action attribute specifies the web address of a program that processes the information submitted via the form
in html forms what is the method attr used for
The method attribute specifies the HTTP method that the browser should use to submit the form, such as POST or GET. Forms cannot be nested inside one another
in html what does the post method do in refernece to a form
submit the body of the form
in html how is the get method represented in the url
it is appended to the url separated by ?’s &’s
in html forms what is the input tag used for
he input element is used to create many different types of form controls. The type attribute specifies what kind of form control should be rendered, such as text, email, passwords, and more. The name attribute is submitted with form data so that server-side code can parse the information.
in html what is the textarea tag used for
The textarea element accepts multiple lines of text from the user. Most browsers will render the textarea element with a widget to allow for resizing the editing area.
in html is a textarea self closing tags?
no
in html is the input a self closing tag
yes
in html what is required to submit a form
a submit button
in html what is the button tag
Just as the name implies, the button element will render a clickable button. The type attribute specifies whether the button should submit the form data, reset the form, or have no default behavior for use with JavaScript.
in an html button what types are available
submit, reset
in an html button what does a type of reset do
resets form data