Snippets tagged “textarea”
16 snippets use this tag.
- How to Change Default Text Selection Color Using CSSCSS
Use the CSS ::selection selector to change the default highlight color while selecting texts. Use only CSS and do cool tricks to have a better user experience. All with examples.
- How To Change the Color of an HTML5 Input Placeholder Using CSSCSS
Learn How To Change the Color of an HTML5 Input Placeholder with CSS with W3docs tutorial. Try the code examples yourself. Fast solution.
- How to Create a Glowing Border Around an Input FieldCSS
In this snippet, we’re going to demonstrate some examples of creating a glowing border around an input field. For that, you need to use some CSS properties.
- How to Create a Multi-Line Text Input Field In HTMLHTML
In this snippet, we’ll demonstrate how to create a multi-line text input field in HTML. Read this tutorial and see how this can be done with the <textarea> tag.
- How to Create Contact Form With CSSCSS
Create a contact form for collecting user’s contact details and opinions about your website. Follow the steps and create a contact form with CSS in a simple way.
- How to Create Mailto FormsHTML
Learn about how to create a Mailto forms with examples. See also the advantages that Mailto forms can have.
- How to Disable the Resizing of the <textarea> Element?CSS
Use the CSS3 resize property with its "none" value to disable the resizing function of the textarea element. Learn the ways of only vertically or horizontally resizing, too.
- How to Get the Value of a Textarea using jQueryJavaScript
Read this tutorial and learn useful information about how you can detect the value of the HTML <textarea> element easily using one of the jQuery methods.
- How to Hide Scrollbars with CSSCSS
Do you know that a bright example of hiding the scroll bar is Facebook chat window? Learn how to hide scrollbars and find solutions! Snippet/CSS
- How to Remove and Style the Border Around Text Input Boxes in Google ChromeCSS
Use outline: none to remove the ugly border color for a form field in Chrome. Learn also how to give your own style for showing that the box is active. All with examples.
- How to Select All Text in HTML Text Input When Clicked Using JavaScriptJavaScript
Read the tutorial and learn the two methods of selecting the entire text in HTML text input when clicked using JavaScript code snippets. Also, see examples.
- How to Set Default HTML Form Focus Without JavascriptHTML
In this tutorial, you’ll see how to set the default HTML form focus. This can be done without Javascript. For that, use the HTML “autofocus” attribute.
- How to Set the Size of the <textarea> ElementHTML
In this tutorial, you will find two ways of setting the size of the HTML <textarea> element. For that purpose, you can use HTML attributes or CSS properties.
- How to Style Comment Box Using CSSCSS
Style comment boxes, change the background color, add a background image or set borders to your comment box. See all with examples.
- How to Wrap a Long String Without any Whitespace CharacterCSS
In this snippet, we’ll demonstrate how to wrap a long string without any whitespace character. Use the CSS word-wrap property with the “break-word” value.
- Why is textarea filled with mysterious white spaces?PHP
There could be a number of reasons why a textarea element in a PHP webpage might be filled with mysterious white spaces.