HTML: Difference between revisions

From Computer Science Wiki
Line 16: Line 16:


The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user.
The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user.
Like almost all other HTML elements, input type has a wide range of [[attributes]]. Input types have both [https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes HTML global attributes] and [https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes specific attributes]. Remember this.


How an <input> works varies considerably depending on the value of its type attribute, hence the different types are covered in their own separate reference pages. If this attributes is not specified, the default type adopted type is text. <ref>https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input</ref>
How an <input> works varies considerably depending on the value of its type attribute, hence the different types are covered in their own separate reference pages. If this attributes is not specified, the default type adopted type is text. <ref>https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input</ref>

Revision as of 20:48, 11 July 2017

HTML [1]

HyperText Markup Language, commonly referred to as HTML, is the standard markup language used to create web pages. Along with CSS, and JavaScript, HTML is a cornerstone technology used to create web pages, as well as to create user interfaces for mobile and web applications. Web browsers can read HTML files and render them into visible or audible web pages.

HTML describes the structure of a website semantically along with cues for presentation, making it a markup language, rather than a programming language.[2]

Introduction[edit]

Content gratefully used with permission : [3]

List of input types[edit]

The HTML <input> element is used to create interactive controls for web-based forms in order to accept data from the user.

Like almost all other HTML elements, input type has a wide range of attributes. Input types have both HTML global attributes and specific attributes. Remember this.

How an <input> works varies considerably depending on the value of its type attribute, hence the different types are covered in their own separate reference pages. If this attributes is not specified, the default type adopted type is text. [4]

I will not re-write excellent documentation for each input type. Click here the Mozilla documentation page with links to each input type

Helpful resources[edit]

See also[edit]

References[edit]