growthmindsit

Forms and JS Events

forms :

An HTML form is used to collect user input. The user input is most often sent to a server for processing.A user fills in a form and then presses a button to submit the information to the server.

form strcture <form> :

every <form> element have requires an action attribute. Its value is 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.

text input :The input element is used to create several different form controls. The value of the type attribute determines what kind of input they will be creating.type=”text” When the type attribute has a value of text , it creates a single-line text input. or When the type attribute has a value of password it creates a text box that acts just like a single-line text input, except the characters are blocked out. They are hidden in this way so that if someone is looking over the user’s shoulder, they cannot see sensitive data such as passwords.

Lists, tabLes and Forms

bULLet Point styLes list-style-type : The list-style-type property allows you to control the shape or style of a bullet point (also known as a marker). It can be used on rules that apply to the <ol> , <ul> , and <li> elements.

Unordered Lists For an unordered list you can use the following values: