What HTML input type?

Date:

2018-03-27 22:57:12

Views:

749

Rating:

1Like 0Dislike

Share:

Table of contents:

If you never encountered a markup language you can hardly understand what HTML input type. Those who work with HTML, these explanations are useless. But beginners who only learn the language, it is useful to get acquainted with one of the attributes.the html input type

Language

What is this HTML and who needs it? He first became known in 1993. Is a standardized tool, shareware, to create documents on the Internet. Not to delve into the complicated terminology of programmers, it can be explained easier. Most of the web pages that you see in the network consists of commands and codes. They all make up the language.

The Main application which reproduces the HTML is the browser. For and adapted to all teams. He interpreterpath all the results that can be written in the usual "Notepad" in the formatted text on the screen.

Structure

In Order not to get lost in all the text array, which is written in markup language and to find there the attributes of the HTML input type, document structure. It consists of elements that are enclosed in tags.html form input type

This is a special label giving the properties of the text enclosed in the tag. For example, you need to make a paragraph. You take a piece of text to be separated, is enclosed in the tags <p> and <p/>. Label with a slash (/) usually finish the team and called the closing. There are tags that do not require closure. For example, <br> is a label which generates a pass string.

The structure of the document written in the HTML language, there are constant elements. Some are mandatory, no other can do. Basically you can select hyperlinks, textboxes, word processing, lists, objects, pictures, maps, signs, symbols and shapes. About the last item, let's talk more.

Recommended

How to get out of

How to get out of "Skype" on the "Android" and not only

How to get out of "Skype" "Android"? This question bothers many users. The thing is that the messenger is not so difficult. But there are features that are only for mobile versions. To log out of Skype in this case more difficult than it seems. But i...

Kingo ROOT: how to use the program to gain administrative rights on Android

Kingo ROOT: how to use the program to gain administrative rights on Android

The Gadgets on the platform Android regained the lion's share of the market. Developers are continually perfecting the OS, trying to fit the needs of the users, but from year to year admit palpable mistake: forbid the owner to "stuffing" of his gadge...

How to get from Stormwind to Tanaris: practical tips

How to get from Stormwind to Tanaris: practical tips

World of Warcraft is an iconic MMORPG, uniting millions of players around the world. There are many locations and puzzles, secret trails and larger, but rather dangerous paths. Sooner or later, every player chose the side of the Alliance, we have to ...

Form

To find the attribute of the HTML input type, you need to examine the concept of “form”. One of the definitions says that it is the element that helps the user to enter information on the website for further processing. To explain it simply, you need to remember the web page. You've probably seen on the websites of different elements in the interface that are fields to input text, buttons, switches, and flags.

Forms – tools for the user. They allow the visitor to find information on the website, leave comments, participate in polls, etc. To the page to activate any of the offered forms, you must use the tag <form>.

Feedback

To make forms, you can use one of the most common labels < input >. She is responsible for the items with which visitors work. So, with this tag you can use special text boxes, buttons, switches, checkboxes, etc.

the html input type hidden

If you do not need to collect and analyze information, then this tag must be placed inside <form>. But if you need to have materials left by a visitor, was transferred to the server and after it is analyzed, then a form label is required.

Diversity

Now we move on to the attribute of the HTML input. Type-this attribute indicates the type of element. However, he is completely different. Becomes a text box, a password, etc. Attribute is multi-functional and can give the user the ability to quickly clear the form, filled in correctly the form, or attach a file.

Values

There are a dozen values for the attribute HTML input type. Text creates on the page of the “frame” to enter information. Can be used for different purposes: search of materials on the page, enter personal data and so a Similar field to specify the password value. Looks like text, but all the information that is entered is indicated with the “stars”. This option is often used in order that others could know which password you enter.

There are two similar values for the type attribute: checkbox and radio. The first option is a check box. If you need to do a survey, then the checkbox will be converted into a check box. And you need to choose several options. The second option is created with the same purpose, but called “switch”. Allows the use of one response.

html input type text

There are Many attributes that mimic the buttons in HTML. Input type of submit creates a button popular, thanks to which you can forward the entered data to the server. There is a similar called image. She does the same, but takes the form of pictures, not to look static. There is just a button with the value button.

As mentioned previously, with the tag < input > you can create elements to download files or pictures. This value is used for the type attribute – file. You've probably seen a similar item in the web page. Especially where you can upload files.

The Last value for the HTML input type-hidden. Using it on a web page, you may receive the hidden field. It is not visible to the user, but helps the developer. For example, if the server needs to transmit information, which was created earlier. So there are some marks that are visible only in the code file. Also, because of this the value of the hidden form data to php or js.

Other attributes

In the HTML form < input > type - not the only oneattribute. A whole list can be found in any electronic textbook for learning markup language. For example, you can use align, which you can use to determine the alignment of the image. This attribute works only with forms. It can be used, for example, if you added a website map to your location, but want to place it differently. Then you can this attribute to give the value middle, top, left, etc.

html input type submit

To assign a button alternative text using the alt attribute. In General, alternative text is required for force majeure. Suppose the user issues with the Internet connection, and content on a web page slowly loaded. Due to the fact that the button presents a certain image, it may not pogruzitsya at all. In its place will be an alternative text that you specify. So the visitor easily can find, even if the shadows did not appear.

The Attribute list can help with the preparation of the list of options. If the user in the text field starts to enter data, you may receive a small list of words suitable for him. You can block access and change the element with the disabled attribute. These attributes more than 30. They allow the programmer to adjust the operation of these elements, ask them the value, type, form, etc.

Insights

In General, to know all the elements, tags, attributes and their values is not easy. Especially if you are only familiar with HTML. Those who work with this language at least a couple of years, can easily handle most of these codes. But beginners should use additional information. There are plenty of tutorials that explain the value of each element.


Article in other languages:

AR: https://www.tostpost.com/ar/computers/4262-html.html

BE: https://www.tostpost.com/be/kamputary/7552-shto-takoe-html-input-type.html

DE: https://www.tostpost.com/de/computer/7555-was-ist-ein-html-input-type.html

ES: https://www.tostpost.com/es/los-ordenadores/7560-qu-es-html-input-type.html

HI: https://www.tostpost.com/hi/computers/4265-html.html

JA: https://www.tostpost.com/ja/computers/4262-html.html

KK: https://www.tostpost.com/kk/komp-yuterler/7556-b-l-html-input-type.html

PL: https://www.tostpost.com/pl/komputery/7556-co-to-jest-html-input-type.html

PT: https://www.tostpost.com/pt/computadores/7552-o-que-html-input-type.html

TR: https://www.tostpost.com/tr/bilgisayarlar/7560-nedir-html-nput-type.html

UK: https://www.tostpost.com/uk/komp-yuteri/7558-scho-take-html-input-type.html

ZH: https://www.tostpost.com/zh/computers/4633-html.html






Alin Trodden - author of the article, editor
"Hi, I'm Alin Trodden. I write texts, read books, and look for impressions. And I'm not bad at telling you about it. I am always happy to participate in interesting projects."

Comments (0)

This article has no comment, be the first!

Add comment

Related News

The main types of messages

The main types of messages "Windows cannot access..." and methods of Troubleshooting

the Situation when you try to open some file or folder, when you set a document to print, or even when you run a specific application, the system issues a message stating that Windows cannot obtain access to the requested object a...

Game Spotlight Room Escape. The first level

Game Spotlight Room Escape. The first level

Spotlight Room Escape — this is a very interesting puzzle game, challenging the mind and makes "brains". You have to solve many interesting puzzles and solve many complex problems.You Wake up in a strange room...the Main cha...

"DotA 2". System requirements. How to choose the right computer

Game in the genre of MOBA (Multiplayer Online Battle Arena) are gaining more and more popularity among fans of computer games. No wonder, because they offer exactly what gamers need. The beginner will not have years to kill monste...

How to install fonts

How to install fonts

Before considering the procedure of how to install the fonts, the user must verify that he really needs it. Among the standard, there are many interesting variations that you can decorate text or image. For example, in all familie...

"Seven Kingdoms: Total War": the description of the modification

a Series of games Total War-known to the fans not so much graphic detail, how historical authenticity and globality of the battles and conquest of the world. Offering a user the ability to lead into battle an army of thousand sold...

How to remove Zeta Games PC: step by step instructions and recommendations

How to remove Zeta Games PC: step by step instructions and recommendations

In the Internet you can find a lot of interesting and useful applications. Some of them installed on your computer without your knowledge. In this case, people prefer to get rid of annoying software. One of the self-initializearra...