How to Display Default Text in a Search Field With HTML
Half year ago
7
- 1). Go to the Web page or file containing the HTML code for your search box. Ask your website provider if you do not know where to find it.
- 2). Locate the <input> field that refers to your search box. Your tag may look something like this: <input type="text" name="search" />. The trailing "/" sign is optional and may not appear in your code.
- 3). Add the following attribute inside your <input> tag, right before the "/>" or ">" sign:
value="Text"
Replace "Text" with your default text, retaining the quotation marks. Your final <input> tag may look something like this:
<input type="text" name="search" value="Enter your search term" /> - 4). Save the page.
Related Posts "Technology"
You might also like on "Technology"
How to Burn a VOB to a DVD
Half year ago
How to Burn MOV & AVI Files to CDs & DVDs
Half year ago
How to Defrag a Computer If it Says CHKDSK
Half year ago
How to Use ImgBurn to Make Music CDs
Half year ago
Overheating Central Processing Unit Solutions
Half year ago
How to Find My CPU Speed
Half year ago
Finding the Perfect Notebook for Students
Half year ago
How to Turn On "Num Lock" on a Laptop
Half year ago
How to Play the Korg Wavestation With My PC Keyboard
Half year ago
Solution for Your Keyboard Issues
Half year ago
How to Backup an HD DVD
Half year ago