• Latest
  • Trending
  • All
  • News
  • Business
  • Politics
  • Science
  • World
  • Lifestyle
  • Tech

Cara Membuat Table of Content (Daftar Isi) di Blogspot dengan Gaya Santai

December 17, 2023
A colorful digital illustration of two anthropomorphic robots, GROK and ChatGPT 4.5, facing each other with bold geometric shapes and bright colors in the background. The robots are shown in similar poses, with the 'VS' prominently displayed between them.

GROK vs CHATGPT 4.5: Mana yang Lebih Unggul di Era Kecerdasan Buatan?

March 31, 2025

Hello world!

March 30, 2025

Rap group call out publication for using their image in place of ‘gang’

March 2, 2025

Meet the woman who’s making consumer boycotts great again

March 1, 2025

New campaign wants you to raise funds for abuse victims by ditching the razor

February 28, 2025

Twitter tweaks video again, adding view counts for some users

February 27, 2025

A beginner’s guide to the legendary Tim Tam biscuit, now available in America

February 26, 2025

India is bringing free Wi-Fi to more than 1,000 villages this year

February 25, 2025

Betterment moves beyond robo-advising with human financial planners

February 24, 2025

People are handing out badges at Tube stations to tackle loneliness

February 23, 2025

Trump’s H-1B Visa Bill spooks India’s IT companies

February 22, 2025

Magical fish basically has the power to conjure its own Patronus

February 21, 2025
  • destinasi
  • edukasi
  • wisata
  • seo
Saturday, June 21, 2025
Nuzanthra
  • Nuzanthra
  • News
    • All
    • Business
    • Politics
    • Science
    • World

    Meet the woman who’s making consumer boycotts great again

    New campaign wants you to raise funds for abuse victims by ditching the razor

    Twitter tweaks video again, adding view counts for some users

    A beginner’s guide to the legendary Tim Tam biscuit, now available in America

    India is bringing free Wi-Fi to more than 1,000 villages this year

    Betterment moves beyond robo-advising with human financial planners

    Magical fish basically has the power to conjure its own Patronus

    This Filipino guy channels his inner Miss Universe by strutting in six-inch heels and speedos

    Oil spill off India’s southern coast leaves fisherman stranded, marine life impacted

    You can now play Bill Gates’ first PC game and run over donkeys on your iPhone, Apple Watch

    Trending Tags

    • Donald Trump
    • Future of News
    • Climate Change
    • Market Stories
    • Election Results
    • Flat Earth
  • Travel

    Trump’s H-1B Visa Bill spooks India’s IT companies

    Everyone stop everything: Beyonce just announced that she’s pregnant with twins

    Instagram is testing photo albums, because nothing is sacred anymore

    7 February games you should get excited about

    Using a mind reading device, ‘locked-in’ patients told researchers they’re happy

    How to find protests in your city when you don’t know where to start

    Trump Attends the Return of the Remains of the Navy SEAL Who Died in Yemen

    Barack Obama’s Now Mainly Focusing on Wearing This Casual Backwards Hat

    Lady Gaga Pulled Off One of the Best Halftime Shows Ever

  • Tech
    • All
    • Apps
    • Gear
    • Mobile
    • Startup

    Rap group call out publication for using their image in place of ‘gang’

    Meet the woman who’s making consumer boycotts great again

    New campaign wants you to raise funds for abuse victims by ditching the razor

    Twitter tweaks video again, adding view counts for some users

    A beginner’s guide to the legendary Tim Tam biscuit, now available in America

    India is bringing free Wi-Fi to more than 1,000 villages this year

    Betterment moves beyond robo-advising with human financial planners

    People are handing out badges at Tube stations to tackle loneliness

    Trump’s H-1B Visa Bill spooks India’s IT companies

    Oil spill off India’s southern coast leaves fisherman stranded, marine life impacted

    Trending Tags

    • Flat Earth
    • Sillicon Valley
    • Mr. Robot
    • MotoGP 2017
    • Golden Globes
    • Future of News
  • jurnalisme
    Selami Lebih Dalam: Memahami Arti Doclo dalam Bahasa Sunda

    Selami Lebih Dalam: Memahami Arti Doclo dalam Bahasa Sunda

    Artikel, berita,konten,blog dan informasi

    Ekonomi sosial budaya

    Perpustakaan dan daftar Pustaka

    Jurnalisme, artikel, konten, berita dan informasi

    Pintu Rezeki Menurut Al-Qur’an

    Tips Cara Membuat Masker Kain Sendiri yang Nyaman dan Aman

    Analisis Semantik Kata Turunan dalam Bahasa Nusantara: Studi Kasus Bahasa Jawa, Sunda, dan Bali

    Keadilan, Objektivitas, dan Ancaman Black Ops: Analisis Terhadap Politik Modern

  • Entertainment
    • All
    • Gaming
    • Movie
    • Music
    • Sports

    Meet the woman who’s making consumer boycotts great again

    New campaign wants you to raise funds for abuse victims by ditching the razor

    Twitter tweaks video again, adding view counts for some users

    A beginner’s guide to the legendary Tim Tam biscuit, now available in America

    People are handing out badges at Tube stations to tackle loneliness

    Trump’s H-1B Visa Bill spooks India’s IT companies

    Magical fish basically has the power to conjure its own Patronus

    This Filipino guy channels his inner Miss Universe by strutting in six-inch heels and speedos

    Oil spill off India’s southern coast leaves fisherman stranded, marine life impacted

    You can now play Bill Gates’ first PC game and run over donkeys on your iPhone, Apple Watch

  • Lifestyle
    • All
    • Fashion
    • Food
    • Health
    • Travel

    Rap group call out publication for using their image in place of ‘gang’

    Meet the woman who’s making consumer boycotts great again

    New campaign wants you to raise funds for abuse victims by ditching the razor

    Twitter tweaks video again, adding view counts for some users

    India is bringing free Wi-Fi to more than 1,000 villages this year

    Betterment moves beyond robo-advising with human financial planners

    People are handing out badges at Tube stations to tackle loneliness

    Trump’s H-1B Visa Bill spooks India’s IT companies

    Magical fish basically has the power to conjure its own Patronus

    This Filipino guy channels his inner Miss Universe by strutting in six-inch heels and speedos

    Trending Tags

    • Golden Globes
    • Mr. Robot
    • MotoGP 2017
    • Climate Change
    • Flat Earth
No Result
View All Result
Nuzanthra
No Result
View All Result
Home daftar isi

Cara Membuat Table of Content (Daftar Isi) di Blogspot dengan Gaya Santai

by VorteLumina
December 17, 2023
in daftar isi, script, seo, table of content, toc
0
491
SHARES
1.4k
VIEWS
Share on FacebookShare on Twitter
gambar Table of Content di Blogspot dengan Gaya Santai
Table of Content (Daftar Isi) di Blogspot dengan Gaya Santai

Table of Contents

Toggle
  • Cara Membuat Table of Content (Daftar Isi) di Blogspot dengan Gaya Santai
    • Langkah 1: Kode CSS
    • Langkah 2: Script JavaScript
    • Langkah 3: Integrasi dengan Artikel
    • Langkah 4: Simpan dan Jalankan
    • Baca Artikel Lainnya:

Cara Membuat Table of Content (Daftar Isi) di Blogspot dengan Gaya Santai

 

Jika kamu sedang mencari cara
untuk membuat daftar isi atau table of contents (TOC) secara otomatis di
Blogspot, kamu berada di tempat yang tepat! Artikel ini akan memberikan panduan
langkah demi langkah dengan menggunakan kode CSS dan script sederhana. Mari
kita mulai!

Langkah 1: Kode CSS

Pertama-tama, tempatkan kode CSS
berikut di antara tag <style> di dalam blog kamu. Kode ini akan
memberikan tampilan yang menarik pada daftar isi.

 


/*CSS ToC */

.TOC {
    line-height: 1.4em;
    padding: 20px 30px 20px 10px;
    display: block;
    width: 95%;
    margin: 0 auto;
    background: #ffffff;
    box-shadow: 1px 1px 2px #fff inset, -1px -1px 2px #fff inset;
    border-radius: 3px/6px
}

.TOC ol,
.TOC ul {
    margin: 0;
    padding: 0;
}

.TOC ul {
    list-style: none;
}

.TOC ol li,
.TOC ul li {
    padding: 15px 0 0;
    margin: 0 0 0 30px;
    font-size: 15px;
}

.TOC a {
    color: #0080ff;
    text-decoration: none;
}

.TOC a:hover {
    text-decoration: underline;

}

 

Langkah 2: Script JavaScript

Kemudian, letakkan script berikut
di atas tag <head> di blog kamu. Script ini akan membuat daftar isi
secara otomatis berdasarkan heading (h2, h3, h4) pada artikel.

            document.getElementById("TOC").innerHTML += TOC;
        }
    }

function mbtToggle() {
    var mbt = document.getElementById('TOC');
    if (mbt.style.display === 'none') {
        mbt.style.display = 'block';
    } else {
        mbt.style.display = 'none';
    }
}
//]]>             
</script>

Langkah 3: Integrasi dengan
Artikel


Cari dan ganti tag <data:post.body/>
dengan kode berikut di dalam blog kamu.


<div id='post-toc'>
<div class='TOC'>
    <button onclick='mbtToggle()'> DAFTAR ISI </button>
    <ol id='TOC'/>
</div>
<data:post.body/>
<script>
    TOC();
</script>
</div>

Langkah 4: Simpan dan Jalankan

Terakhir, simpan perubahan yang
sudah kamu lakukan. Daftar isi atau table of contents akan berfungsi secara
otomatis setiap kali kamu menambahkan heading atau subheading pada artikelmu.

Selamat mencoba dan semoga
artikelmu semakin terstruktur dan mudah dinavigasi! Jika ada pertanyaan, jangan
ragu untuk menanyakan.

 

Baca Artikel Lainnya:

  • Debat Bahasa: Menjelajahi Seni Persuasi dalam Arena Argumentasi
  • Maksimalkan Pengaturan SEO Blogger: Tag Header & Robot Kustom Explained
  • Kelezatan Bakso Pandawa: Pak Lasiman Reok Manggarai
  • Jasa SEO Specialist di Kota Ruteng
  • Alien: Film Sci-Fi Horror Masterpiece (1979)
  • Cara Membuat Table of Content (Daftar Isi) di Blogspot dengan Gaya Santai
  • Ibu Kota Nusantara: Indonesia
  • Kampung Pancasila: Inisiatif Mewujudkan
  • Peran Strategis Babinsa di Koramil
  • Meningkatkan Kinerja Website dengan Blazy Lazy Load
  • Petualangan Entong Gundul di Kota Metropolis
  • Episode 1: Terjalinnya Harmoni Semesta
  • Kucing Mimi Jelajahi Kampung Oreo
  • Template Blogger Gratis: Doclo V1
  • Misteri Alien di Alam Semesta
  • Keunikan dan Kecenderungan Anak Mendukung Potensi
  • Kreativitas Anak: Cara Menginspirasi dan Mengembangkan Bakat Mereka
  • Menggali Potensi Tersembunyi: Kiat untuk Membantu Anak Menemukan Minat Khusus Mereka
  • Melahirkan Keunikan: Menemukan dan Mendukung Bakat Unik Anak Anda
  • Keadilan dan Objektivitas: Ancaman Black Ops (Analisis Politik Modern)
  • Pemilu 2024: Demokrasi Menorehkan Nama di Buku Sejarah
  • Link Shortener Bitly Buatan Lokal: Ecek
  • Juara MPL ID Season 12: ONIC Esports
  • Mandalika: Destinasi Wisata Baru di Indonesia
  • Pembaruan Algoritma Google Oktober 2023
  • Borobudur: Mahakarya Arsitektur dan Spiritualitas Nusantara
  • Badan Pelaksana Otorita Borobudur (BOB)
  • Pariwisata Berkelanjutan: Meningkatkan Kualitas dan Keberlanjutan Destinasi Wisata

5 TIPS SEO

CARA BUAT WEBSITE SEO FRIENDLY

EDUKASI DENGAN VIDEO GAME

GOLO MORI LABUAN BAJO

RUTENG MANGGARAI NTT

Share196Tweet123
VorteLumina

VorteLumina

  • Trending
  • Comments
  • Latest
A colorful digital illustration of two anthropomorphic robots, GROK and ChatGPT 4.5, facing each other with bold geometric shapes and bright colors in the background. The robots are shown in similar poses, with the 'VS' prominently displayed between them.

GROK vs CHATGPT 4.5: Mana yang Lebih Unggul di Era Kecerdasan Buatan?

March 31, 2025

Meet the woman who’s making consumer boycotts great again

March 1, 2025

Rap group call out publication for using their image in place of ‘gang’

March 2, 2025

Hello world!

1
Ciptakan Pernikahan Impian Anda Menjadi Kenyataan: Hubungi Wedding Organizer Profesional di Ruteng Manggarai

Ciptakan Pernikahan Impian Anda Menjadi Kenyataan: Hubungi Wedding Organizer Profesional di Ruteng Manggarai

0
Selami Lebih Dalam: Memahami Arti Doclo dalam Bahasa Sunda

Selami Lebih Dalam: Memahami Arti Doclo dalam Bahasa Sunda

0
A colorful digital illustration of two anthropomorphic robots, GROK and ChatGPT 4.5, facing each other with bold geometric shapes and bright colors in the background. The robots are shown in similar poses, with the 'VS' prominently displayed between them.

GROK vs CHATGPT 4.5: Mana yang Lebih Unggul di Era Kecerdasan Buatan?

March 31, 2025

Hello world!

March 30, 2025

Rap group call out publication for using their image in place of ‘gang’

March 2, 2025
Nuzanthra

Copyright © 2025 Nuzanthra.

Navigate Site

  • About
  • Advertise
  • Privacy & Policy
  • Contact

Follow Us

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In

Add New Playlist

No Result
View All Result
  • Home
  • News
    • Politics
    • Business
    • World
    • Science
  • Entertainment
    • Gaming
    • Music
    • Movie
    • Sports
  • Tech
    • Apps
    • Gear
    • Mobile
    • Startup
  • Lifestyle
    • Food
    • Fashion
    • Health
    • Travel

Copyright © 2025 Nuzanthra.

Go to mobile version