-->

Kode Heading Tag H1 untuk Logo Image Blog

Kode Heading Tag H1 untuk Logo Image Blog
Kode Heading Tag H1 untuk Nama Blog (Blog Title) yang menggunakan Logo Image (Gambar). Dengan kode ini nama blog akan tetap menjadi H1, tidak akan hilang.

Why is the H1 Tag so Important?
Kenapa oenting banget H1 Tag ini? Jawabannya:

"The H1 tag is the most important heading because it’s the highest level tag that shows what your specific page is about. Search engines generally give this tag more weight over other headings, so it usually improves your search engine ranking when you use it correctly and in conjunction with other onsite SEO techniques."
Kode Heading Tag H1 untuk Logo Image Blog
Kodenya:

<b:if cond='data:blog.pageType != &quot;item&quot;'>
  <b:if cond='data:blog.pageType != &quot;static_page&quot;'>
            <h1 style='text-indent:-9999px;margin:0 0 0 0;padding:0 0 0 0;height:0px;'><b:include name='title'/></h1>
          </b:if>
</b:if>

Simpan di bawah kode:

<!--Show the image only-->
      <div id='header-inner'>

atau sebelum kode:
        <a expr:href='data:blog.homepageUrl' style='display: block'> 

Jadinya seperti ini:

<!--Show the image only-->
      <div id='header-inner'>
<b:if cond='data:blog.pageType != &quot;item&quot;'>
   <b:if cond='data:blog.pageType != &quot;static_page&quot;'>
            <h1 style='text-indent:-9999px;margin:0 0 0 0;padding:0 0 0 0;height:0px;'><b:include name='title'/></h1>
           </b:if>
</b:if>
        <a expr:href='data:blog.homepageUrl' style='display: block'>
          <img expr:alt='data:title' expr:id='data:widget.instanceId + &quot;_headerimg&quot;' expr:src='data:sourceUrl' style='display: block'/>
        </a>
        <!--Show the description-->

Post Title: Kode Heading Tag H1 untuk Logo Image Blog

0 comments:

Post a Comment

Search This Blog