Learning HTML - Day 10

  Today is 01 February 2021 and it is my ninth day to learn HTML πŸ™‹

Day 9 - Time 8.00 pm - 9.15 pm

FORMS

The <formelement is a container for different types of input elements, such as: text fields, checkboxes, radio buttons, submit buttons, etc. 

Here are the different input types we can use in HTML:
  • <input type="button">
  • <input type="checkbox">
  • <input type="color">
  • <input type="date">
  • <input type="datetime-local">
  • <input type="email">
  • <input type="file">
  • <input type="hidden">
  • <input type="image">
  • <input type="month">
  • <input type="number">
  • <input type="password">
  • <input type="radio">
  • <input type="range">
  • <input type="reset">
  • <input type="search">
  • <input type="submit">
  • <input type="tel">
  • <input type="text">
  • <input type="time">
  • <input type="url">
  • <input type="week">
  • <input type="text"> Default
  • <input type="checkbox">
  • <input type="button">
  • <input type="submit">
  • <input type="radio">
Label form fields. Labels describe the purpose and function of form elements: for example, the label “month” next to a dropdown menu listing the months of the year, or the label “first name” next to a text input field. Labels are critical because they tell the user what information to provide in the form element.

Name is the name that is used when the value is passed (in the url or in the posted data). id is used to uniquely identify the element for CSS styling and JavaScript. The id can be used as an anchor too.

Comments

Popular posts from this blog

Learning HTML - Day 6

Jquery