Search
 
SCRIPT & CODE EXAMPLE
 

HTML

search button

<button type="submit">
  <svg id="search" role="img" aria-describedby="searchIcon" viewBox="0 0 16 16.9">
    <title id="searchIcon">Search</title>
    <path d="M16, 15.7L11.3,11C12.4,9.8,13, 8.2,13,6.5C13"></path>
  </svg>
</button>
Comment

search button inside search box

<input type="text" id="q" />
<input type="button" id="b" value="Search" />


#q, #b { 
   margin: 0 
}
#q { 
   padding: 5px; 
   font-size: 2em; 
   line-height: 30px 
}
#b { 
   /* image replacement */
   text-indent: -99999px; 
   width: 30px; 
   height: 30px; 
   display: block;
   background: gray url(button.png) 0 0 no-repeat;

   /* placing next to input using float or absolute positioning omitted ... */
}
Comment

PREVIOUS NEXT
Code Example
Html :: phone input html 
Html :: html download file from directory 
Html :: radio buttons 
Html :: scroll to a section of your page html 
Html :: disable an anchor tag 
Html :: Horizontal Scrolling Bopostrap 
Html :: bootstrap table go to page 
Html :: html image size 50 percent 
Html :: html images 
Html :: favicon x shortcut icon 
Html :: how to pass the current url to beautiful soup html 
Html :: how to convert html to text in angular 
Html :: select all text of input onclick 
Html :: mvc pass model to partial view 
Html :: html href new tab 
Html :: html video multiple elements 
Html :: how to bold in html 
Html :: blobs fish 
Html :: bootrsrap 
Html :: event in react 
Html :: metamask delete account 
Html :: transparent navbar 
Html :: nested columsn inside bootstrap 
Html :: which is right <hr or <hr/ in html 
Html :: how to set a date for type date inpt 
Html :: create ion card 
Html :: Bootstrap Image Grid (Responsive) 
Html :: bootstrap nav tabs example 
Html :: fork me on github html template 
Html :: meta tags 
ADD CONTENT
Topic
Content
Source link
Name
4+2 =