HTML Text Box Generator
Creating a text box is easy! You can use this HTML text box generator to create a text box (otherwise known as "textarea" field). To create a text box:
- Select the values you need
- Click "Generate Code" (or "Generate Code and Preview")
- Copy & paste the code to the HTML of your web page.
Komentar ini telah dihapus oleh pengarang.
BalasHapus'<!-- HTML Codes by Quackit.com -->\n' +
BalasHapus'<style type="text/css">\n' +
'textarea.html-text-box {'
output +=
((textareabackgroundcolor) ? 'background-color:' + textareabackgroundcolor + ';' : '') +
((backgroundimage) ? 'background-image:url(' + backgroundimage + ');' : '') +
((backgroundrepeat) ? 'background-repeat:' + backgroundrepeat + ';' : '') +
//((backgroundposition) ? 'background-position:' + backgroundposition + ';' : '') +
((backgroundattachment) ? 'background-attachment:' + backgroundattachment + ';' : '') +
((borderwidth) ? 'border-width:' + borderwidth + ';' : '') +
((borderstyle) ? 'border-style:' + borderstyle + ';' : '') +
((bordercolor) ? 'border-color:' + bordercolor + ';' : '') +
((fontfamily) ? 'font-family:' + fontfamily + ';' : '') +
((fontsize) ? 'font-size:' + fontsize + ';' : '') +
((textareafontcolor) ? 'color:' + textareafontcolor + ';' : '') +
'}\n' +
'input.html-text-box {' +
((buttonbackgroundcolor) ? 'background-color:' + buttonbackgroundcolor + ';' : '') +
((fontfamily) ? 'font-family:' + fontfamily + ';' : '') +
((fontsize) ? 'font-size:' + fontsize + ';' : '') +
((buttonfontcolor) ? 'color:' + buttonfontcolor + ';' : '') +
'}\n' +
'</style>\n' +
'<form method="post" action="' + actionpage + '">' +
'<textarea name="comments" cols="' + textboxwidth + '" rows="' + textboxheight + '" class="html-text-box">' + defaulttext + '</textarea><br>' +
'<input type="submit" value="' + submitbuttontext + '" class="html-text-box">' + '<input type="reset" value="' + resetbuttontext + '" class="html-text-box">' +
'</form>' +
'';