HTML form Tag

HTML form Tag allows you to get user related information from the page. This can be in a contact form or an e-commerce filter. It is frequently used in interactive operations on the server side.

It can be used to save user information, address information, card information, product filters and many other data sets to the server or to keep them in the cache so that the user can perform transactions again.

We can shape the form with tags such as textarea, input, select, label that we use, and we can shape the data to be received from the user according to the need.

<form class="post-reply" id="signupForm" novalidate  onsubmit="return false" >
    <input name="id" value="id" type="hidden">
    <div class="row">
            <div class="form-group">
                <textarea class="input" name="yorum" id="yorum" required placeholder="Yorumunuz"></textarea>
            <div class="form-group">
                <input class="input" type="text" name="ad" required placeholder="Ad Soyad">
            <div class="form-group">
                <input class="input" type="email" name="email" required placeholder="Email">
            <div class="form-group">
                <input class="input" type="file" name="file">
            <button class="button">Gönder</button>

Properties of the form tag

get - post
Specifies which HTTP method to use for submitting form data.
Specifies the URL of a program that processes information submitted through the form. When you leave it blank, it looks for code that processes this form on the same page.
on - off
For the form, the browser indicates whether autofill is turned on or off.
specifies the name of the form.
This Boolean attribute specifies that the form will not be validated when submitted.

0 Yorum

Soru & Yorum

Web Tasarım

Renkli Kare

Web Tasarım Ajansı