코드/Html & CSS

Display Default Text in input box

Yeah-Panda 2012. 3. 6. 12:47
ou can display default text within your web page form input box.

The INPUT tag is used to create input fields within a web page form.

When using HTML forms within a web page, many times you may need to display some 'default text' within your form to show your visitors what they should type in the form field.

This can be accomplished by adding the VALUE attribute to your input form.

<INPUT type="text" SIZE="10" MAXLENGTH="30" VALUE="Your Text">

Displaying default text within your web page form provides a great way to ensure your visitors will provide the right information within your input box.

'코드 > Html & CSS' 카테고리의 다른 글

font : 텍스트 형식화 속기법  (0) 2012.08.14
colgroup >> col width=""  (0) 2012.03.06
Start CSS  (0) 2012.01.02
배경이미지의 위치 지정  (0) 2011.10.11
IE 5에서 깨지는 박스 모델 바로잡기  (0) 2011.09.21