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 :: load a html page inside another 
Html :: what is the PERN stack 
Html :: how to make a paragraph in html 
Html :: html to pdf jquery 
Html :: react font color 
Html :: simplecss cdn 
Html :: mobile navigation bar bootstrap 
Html :: learn how to program html 
Html :: html title tag 
Html :: laravel vue error handling 
Html :: table body element 
Html :: Combining <symbol with <use SVG tags on a HTML page 
Html :: <!DOCTYPE html eslint error 
Html :: safe and truncate in django template 
Html :: share to google plus html link 
Html :: how to make ngx-countdown wait for start 
Html :: Write html into file using Java dynamically 
Html :: html label tag 
Html :: html video tag play button overlay 
Html :: mobile menu bootstrap 
Html :: how to add an email box in html 
Html :: html relative path go back one directory 
Html :: how to find total height of single page page in html 
Html :: how link back to home page html without index 
Html :: aside html 
Html :: contact form feilds 
Html :: href action syntax 
Html :: ref attribute in html 
Html :: how to write h1 tag in html 
Html :: link a hyperlink from different folder 
ADD CONTENT
Topic
Content
Source link
Name
5+1 =