Tạo Form tìm kiếm trên google.com cho blogspot
Tạo ra 1 form tìm kiếm trên chính website hay blogspot tích hợp cả tìm kiếm trên google để giúp ta SEO nhanh hơn.
![]() |
form seach google for website |
Tạo widget cho blogspot
Chọn HTML/CSS
Dán đoạn code dưới đây vào
<form method=get action="http://www.google.com/search" class="googlesearch"> <input type="hidden" name="ie" value="UTF-8" /> <input type="hidden" name="oe" value="UTF-8" /> <table align="center"><tr><td> </td> <td class="bodyText"> <input type="hidden" name="domains" value="caocongkien.blogspot.com" /> <input type="radio" name="sitesearch" value="" />Google.com <input type="radio" name="sitesearch" value="A.blogspot.com" checked />website A<br /> <input type="text" name="q" size="28" maxlength="255" onblur='if(this.value=='')this.value=this.defaultValue;' onfocus='if(this.value==this.defaultValue)this.value='';' type='text' value="Nhập từ khóa..." /> <input class="button" type="submit" name="btng" value="Tìm kiếm" /></td></tr></table></form>
<div style="border-style:ridge; width:280px; border-width:0px; border-color:dede; margin:1px 0px 1px 9px; padding:1px;"><div style="background-color:#FFFFFF; style="border:lime 1px dashed;margin:1px;padding:0px" align="left">
<div class="addthis_toolbox addthis_default_style "> <a class="addthis_button_preferred_1"></a> <a class="addthis_button_preferred_2"></a> <a class="addthis_button_preferred_3"></a> <a class="addthis_button_preferred_4"></a> <a class="addthis_button_compact"></a> <a class="addthis_counter addthis_bubble_style"></a> </div> <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-527a92ec749b0e6e"></script>
</div>
Thay 2 thông số ở trên bằng tên của website | blogspot của bạn
Lưu ý:
Website của bạn có địa chỉ như thế này http://khophanmem123.blogspot.com/
Bạn chỉ cần thay là khophanmem123.blogspot.com Không cần có HTTP://
Lưu Widget là Xong
Đoạn code bên dưới là phần Share social: Các bạn bỏ qua hoặc để thì tùy các bạn nha
<div style="border-style:ridge; width:280px; border-width:0px; border-color:dede; margin:1px 0px 1px 9px; padding:1px;"><div style="background-color:#FFFFFF; style="border:lime 1px dashed;margin:1px;padding:0px" align="left">
<div class="addthis_toolbox addthis_default_style "> <a class="addthis_button_preferred_1"></a> <a class="addthis_button_preferred_2"></a> <a class="addthis_button_preferred_3"></a> <a class="addthis_button_preferred_4"></a> <a class="addthis_button_compact"></a> <a class="addthis_counter addthis_bubble_style"></a> </div> <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-527a92ec749b0e6e"></script>
</div>
<div class="addthis_toolbox addthis_default_style "> <a class="addthis_button_preferred_1"></a> <a class="addthis_button_preferred_2"></a> <a class="addthis_button_preferred_3"></a> <a class="addthis_button_preferred_4"></a> <a class="addthis_button_compact"></a> <a class="addthis_counter addthis_bubble_style"></a> </div> <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-527a92ec749b0e6e"></script>
</div>
0 comments:
Post a Comment