Hay friends, Dengerin lagu yuks
Hehehehe ..
Andyrra

Male, 45 years

Batam, Indonesia

If you're doing your best, you won't have any time to worry about failure and The past can't see you, but the future is listening.

andyrra.com

Translate

Java Filipino Czech English iran Romania Thailand Bangladesh India India French German Spain Italian Dutch Russian Portuguese Japanese Korean Arabic Chinese Simplified

poto

Mounting created Bloggif

29 Mei 2013

Cara Memasang tag alt Otomatis Pada Gambar

alt-title-tags-300x238Mengapa Memasang tag alt sangat penting pada gambar? Karena agar robot Google bisa mencari dan membaca gambar yang ada di postingan. Oleh karena itu tag alt digunakan untuk deskripsi agar si robot google atau Mbah googlebot bisa mengenali gambar tersebut. Dengan begitu Blog anda akan semakin SEO friendly.Bagaimana Cara Memasang tag alt Secara Otomatis? Ikuti ajah langkah-langkahnya dibawah ini :





  • Seperti biasanya Login ke akun blogger sobat terlebih dahulu
  • Klik Template > Edit HTML > Centang Expand Widget Templates
  • Cari kode </body>  dan pastekan kode dibawah ini tepat di atas kode </body>

<script src='https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js' type='text/javascript'/>

<script type='text/javascript'>
//<![CDATA[
$(document).ready(function() {
$('img').each(function(){
var $img = $(this);
var filename = $img.attr('src')
$img.attr('alt', filename.substring((filename.lastIndexOf('/'))+1, filename.lastIndexOf('.')));
});
});
//]]>
</script>

<script type='text/javascript'>
//<![CDATA[
$(document).ready(function() {
$('img').each(function(){
var $img = $(this);
var filename = $img.attr('src')
$img.attr('title', filename.substring((filename.lastIndexOf('/'))+1, filename.lastIndexOf('.')));
});
});
//]]>
</script>

  • Langkah terakhir Save Template

Get free daily email updates!

Follow us!



Share to Facebook Share this post on twitter Bookmark Delicious Digg This Stumbleupon Reddit Yahoo Bookmark Furl-Diigo Google Bookmark Technorati Newsvine Tips Triks Blogger, Tutorial SEO, Info

0   komentar

Cancel Reply

Led


copas gif

loading

SOCIAL NETWORK

email  
   
 
google plusGoogle+
 
  youtube 
 
andyrra.com

VISITOR FROM

andyrra.com

RECENT POST



>

Enter your email address:



what is my ip address?