zoukankan      html  css  js  c++  java
  • 在网页中添加google搜索

    网页中插入谷歌搜索,至于怎么上谷歌,后面有时间会更,推荐百度

    1 <form method="GET" action="http://www.google.com.hk/search" class="form-group">
    //name属性不能更改 否则无法提交问题跳转到检索的页面,而是直接调到Google搜索的主界面 2 <input type="text" class="form-control" value="" name=q size=31 maxlength=255 placeholder="Google" > 3 </form>

    这应该算是最简洁的写法了,里面的class、placeholder、maxlength属性不是必须

  • 相关阅读:
    max_element( )
    dp
    dfs
    dp
    区间dp
    树形dp
    dp-最长回文串
    go 结构体函数
    go 结构体初始化
    Golang数组和切片的区别
  • 原文地址:https://www.cnblogs.com/michealLang/p/8457863.html
Copyright © 2011-2022 走看看