¡GoConqr estrena diseño! Cuéntanos qué te parece.

Fichas

Formers

pfister.brendan Inglés 12 fichas

Fichas del conjunto (12)

  1. 1—Another extremely useful set of tags in HTML are the form tags. These tags provide the building blocks to render user input forms that enable you to gain input from the user. Browsers know how to render the form elements to display things like text boxes, buttons, and lists.
  2. 2—Acts as a container allowing you to group several form elements together. In HTML5, you can set the disabled attribute of the fieldset to disable it from user input. You can also use jQuery and JavaScript to access the children of the fieldset and modify them from code.
  3. 3—Tells the browser to add a caption to the fieldset.
  4. 4—Allows you to tie a label element to an element in the form by setting the for attribute to the id attribute value of the element. This adds the advantage that the mouse events for the input element are also triggered for the .
  5. 5——The input tag is really a wrapper for several types of input components. The input that is rendered by the browser will depend on the value of the type attribute. The following is a list of type elements that can be specified in the input tag: button, checkbox, color, date, datetime, email, file, hidden, image, month, number, password, radio, range, reset, search, submit, tel, text, time, url, and week.
  6. 6—Different from the other inputs, this provides a resizable area where the user can type in multiple lines of text. The cols and rows attributes define the initial size.
  7. 7—Acts as a container for a drop-down list of items.
  8. 8—Used inside the element to define a single item in the list. The value attribute of the selected item is also the value of the element.
  9. 9—Defines a clickable button element. The type attribute of button tells the browser whether to use the button to submit the form, reset the values, or act as a simple input button.
    The form elements have a different set of attributes that provide access to and modify the look and behavior of the element. The following are some of the more important ones:
  10. 10nameThis option specifies a name that can be used when submitting the form.
  11. 11valueThis option specifies the value of the form element. For elements such as text , what you specify for value will be added as text in the rendered text box. The value attribute is also accessible via JavaScript, so you can get the value of any form element directly from JavaScript.
  12. 12disabledWhen this attribute is added, the element will be displayed; however, it will appear disabled so the user cannot interact with the form element. When you enable and disable elements from JavaScript or jQuery, this value is modified dynamically. The disabled attribute is a Boolean, so you do not need to include a value. The following shows an example of how to include the disabled attribute:

Información

Descripción
formers
Creado por
pfister.brendan
Visitas
3
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?