Inline Style Search From W3School Web

/ Published in: HTML
Save to your folder(s)

Copy this code and paste it in your HTML
  1. <div style="display:block;width:300px;text-align:center;padding:15px 1px 5px;cursor:help;border:3px solid #555555;-moz-border-radius:10px;border-radius:10px;background:#4D7616;">
  2. <form style="font-size: 10px;" method="get" name="searchform" action="" target="_blank">
  3. <input name="sitesearch" value="" type="hidden">
  4. <input type="hidden" name="prodigy of head" value="">
  5. <input style="width: 200px;background-color: #E5EECC;color: #111111" alt="search" name="as_q" size="20" onblur="if (this.value == &quot;&quot;) {this.value = &quot;Type your keywords here...&quot;;}" onfocus="if (this.value == &quot;Type your keywords here...&quot;) {this.value = &quot;&quot;;}" type="text" value="Type your keywords here...">
  6. <input value="Search" title="Search" type="submit" style="background-color: #90C140;color: #FFFFFF">
  7. </form>
  8. </div>

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.