Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Forms Basics | Advanced Concepts
Introduction to HTML
course content

Contenido del Curso

Introduction to HTML

Introduction to HTML

1. Basics Introduction
2. Basic Elements
3. Metadata and the Head Element
4. Advanced Text Formatting Elements
5. Advanced Concepts

bookForms Basics

Forms are an important part of HTML, allowing users to interact with a web page and input data. There are many different types of form elements that you can use to create a form, including text fields, radio buttons, and textarea elements.

Form elements are just containers for the various form input field elements to be used. They typically have a submit button as well.

html

index

css

index

js

index

copy

One important attribute of the form element is the action attribute, which specifies the URL of the server-side script that will process the form data.

html

index

css

index

js

index

copy

The method attribute specifies the HTTP method used to submit the form data. The possible values are get and post.

  • get method appends the form data to the URL;
  • post method sends the form data in the HTTP request body.
html

index

css

index

js

index

copy

The autocomplete attribute specifies whether the browser should automatically fill in form fields based on previously entered data. The possible values are on and off.

html

index

css

index

js

index

copy

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 5. Capítulo 3
We're sorry to hear that something went wrong. What happened?
some-alt