The input tag is used to collect data in web forms and send that
data to the web server. The input tag helps the server define
the type of data that is being collected and may act in
different ways depending upon the type of data it collects.
There are several different types of input tag: - color (HTML 5)
- date (HTML 5) - datetime (HTML 5) - datetime-local (HTML 5) -
email (HTML 5) - month (HTML 5) - number (HTML 5) - range (HTML
5) - search (HTML 5) - tel (HTML 5) - time (HTML 5) - url (HTML
5) - week (HTML 5) DTD: HTML5: <!doctype html> HTML4 Strict:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd"> HTML4 Transitional or
Loose: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> INPUT
Web Browser Support: Browser support of the input tag depends
mostly on what type of input tag you are using. However, modern
browsers (Chrome, Firefox, Internet Explorer 6+, Opera, and
Safari) all support the majority of input types.