TEXTAREA Tagı Nasıl Kullanılır?

Formlar üzerinden uzun metin girişleri ancak textarea ile yapılır.

Özellikler

Attribute Value Description
autofocusNew autofocus Specifies that a text area should automatically get focus when the page loads
cols number Specifies the visible width of a text area
disabled disabled Specifies that a text area should be disabled
formNew form_id Specifies one or more forms the text area belongs to
maxlengthNew number Specifies the maximum number of characters allowed in the text area
name text Specifies a name for a text area
placeholderNew text Specifies a short hint that describes the expected value of a text area
readonly readonly Specifies that a text area should be read-only
requiredNew required Specifies that a text area is required/must be filled out
rows number Specifies the visible number of lines in a text area
wrapNew hard
soft
Specifies how the text in a text area is to be wrapped when submitted in a form

 

<form action="bir.php" enctype="multipart/form-data" method="get">

            <textarea rows="4" cols="50" style="overflow: auto;"></textarea>

            <div>
                <input type="reset" value="Temizle" />
                <input type="submit" value="Gönder" />
            </div>
</form>

   

TEXTAREA Tagı Nasıl Kullanılır?

 

Yorumunuzu Ekleyin


Yükleniyor...
Yükleniyor...