creating a search option that redirects to google

 <!DOCTYPE html>

<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>practice</title>
  </head>
  <body>
    <form action="https://www.google.com/search">
      <label for="search">search</label>
      <input type="text" id="search" name="q" placeholder="search in google" />
      <button type="submit">Search</button>
    </form>
  </body>
</html>

Comments

Popular posts from this blog

TextArea

unordered list with image link

Select input form