What is the Form?

How to create forms

Form Controls

There are several types of form controls that you can use to collect information from visitors to your site 1.ADDING TEXT:

3.Submitting Forms:

4.Uploading Files:

Form Structure :

Form controls live inside a <-form-> element. This element should always carry the action attribute and will usually have a method and id attribute too.

action :

Every <-form-> element requires an action attribute. Its valueis the URL for the page on the server that will receive the information in the form when it is submitted

method :

Forms can be sent using one of two methods: get or post.With the get method, the values from the form are added to the end of the URL specified in the action attribute.

Unordered HTML List

An unordered list starts with the <ul> tag. Each list item starts with the <li> tag.

Try it Yourself!

Ordered HTML List

An ordered list starts with the <ol> tag. Each list item starts with the <li> tag.

Try it Yourself!