Membuat Halaman Profil Pribadi dengan HTML

Created at by Aris Munandar

Membuat halaman profil HTML adalah langkah awal yang sempurna untuk memulai perjalanan Anda dalam pengembangan web. Halaman profil pribadi tidak hanya membantu Anda memahami dasar-dasar HTML, tetapi juga memberikan kesempatan untuk menampilkan identitas digital Anda secara profesional.

Baca juga: Kesalahan Umum dalam HTML dan Cara Memperbaikinya

Mengapa Membuat Halaman Profil HTML?

Halaman profil pribadi dengan HTML memiliki banyak manfaat, terutama bagi pemula yang ingin belajar web development. Dengan membuat profil HTML pribadi, Anda dapat:

  • Memahami struktur dasar dokumen HTML
  • Belajar menggunakan berbagai elemen HTML semantik
  • Membangun portofolio online sederhana
  • Meningkatkan visibilitas profesional di internet
  • Mengasah keterampilan coding secara praktis

Struktur Dasar Halaman Profil HTML

Setiap halaman profil HTML dimulai dengan struktur dasar yang terdiri dari elemen-elemen penting. Berikut adalah kerangka dasar yang perlu Anda ketahui:

<!DOCTYPE html>
<html lang="id">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="Profil pribadi saya - Web Developer">
    <title>Profil Pribadi - Nama Anda</title>
</head>
<body>
    <!-- Konten profil akan diletakkan di sini -->
</body>
</html>Code language: HTML, XML (xml)

Penjelasan Struktur

  • DOCTYPE: Mendeklarasikan versi HTML yang digunakan (HTML5)
  • html lang=”id”: Menentukan bahasa konten (Indonesia)
  • head: Berisi metadata dan informasi dokumen
  • body: Berisi konten yang akan ditampilkan di browser

Membuat Bagian Header Profil

Bagian header adalah elemen pertama yang dilihat pengunjung pada halaman profil HTML Anda. Header biasanya berisi foto profil, nama, dan tagline profesional.

<header>
    <div class="profile-header">
        <img src="https://i.pravatar.cc/300" alt="Foto Profil Saya" width="200" height="200">
        <h1>Nama Lengkap Anda</h1>
        <p class="tagline">Web Developer | Designer | Content Creator</p>
    </div>
</header>Code language: HTML, XML (xml)

Untuk bagian foto profil, penulis menggunakan layanan pravatar.cc yang mana foto profil akan di muat secara acak, sehingga apabila halaman web di refresh atau dimuat ulang di browser, maka foto profil akan berubah.

Menambahkan Bagian Tentang Saya

Bagian “Tentang Saya” memberikan informasi lebih detail tentang latar belakang, keahlian, dan minat Anda. Ini adalah bagian penting dalam membuat halaman profil yang informatif.

<section id="tentang">
    <h2>Tentang Saya</h2>
    <p>
        Halo! Saya adalah seorang web developer yang passionate dalam menciptakan 
        pengalaman digital yang menarik dan fungsional. Dengan pengalaman lebih dari 
        3 tahun di bidang pengembangan web, saya fokus pada pembuatan website yang 
        responsif dan user-friendly.
    </p>
    <p>
        Saya memiliki keahlian dalam HTML, CSS, JavaScript, dan berbagai framework 
        modern. Saya selalu antusias untuk belajar teknologi baru dan menghadapi 
        tantangan dalam proyek-proyek yang kompleks.
    </p>
</section>Code language: HTML, XML (xml)

Menampilkan Keahlian dan Keterampilan

Menampilkan keahlian pada halaman profil HTML membantu pengunjung memahami kompetensi Anda dengan cepat. Gunakan daftar untuk menyajikan informasi secara terstruktur.

<section id="keahlian">
    <h2>Keahlian</h2>
    <ul>
        <li>HTML5 & CSS3</li>
        <li>JavaScript (ES6+)</li>
        <li>Responsive Web Design</li>
        <li>Git & Version Control</li>
        <li>UI/UX Design Basics</li>
    </ul>
</section>Code language: HTML, XML (xml)

Menambahkan Bagian Pendidikan

Informasi pendidikan memberikan kredibilitas pada profil Anda. Berikut cara menambahkan bagian pendidikan dalam cara membuat halaman profil:

<section id="pendidikan">
    <h2>Pendidikan</h2>
    <article>
        <h3>Sarjana Teknik Informatika</h3>
        <p><strong>Universitas Indonesia</strong></p>
        <p>2018 - 2022</p>
        <p>IPK: 3.75/4.00</p>
    </article>
</section>Code language: HTML, XML (xml)

Menampilkan Portofolio atau Proyek

Bagian portofolio menunjukkan hasil karya nyata Anda. Ini adalah elemen krusial dalam tutorial HTML profil yang profesional.

<section id="portofolio">
    <h2>Portofolio</h2>
    <div class="project">
        <h3>Website E-Commerce</h3>
        <p>Platform jual-beli online dengan fitur keranjang belanja dan payment gateway.</p>
        <p><strong>Teknologi:</strong> HTML, CSS, JavaScript, PHP</p>
        <a href="https://example.com/project1" target="_blank">Lihat Proyek</a>
    </div>
    <div class="project">
        <h3>Landing Page Perusahaan</h3>
        <p>Desain landing page modern dan responsif untuk perusahaan startup.</p>
        <p><strong>Teknologi:</strong> HTML5, CSS3, Bootstrap</p>
        <a href="https://example.com/project2" target="_blank">Lihat Proyek</a>
    </div>
</section>Code language: HTML, XML (xml)

Menambahkan Informasi Kontak

Bagian kontak memudahkan orang untuk menghubungi Anda. Pastikan informasi kontak mudah ditemukan pada halaman profil HTML Anda.

<section id="kontak">
    <h2>Hubungi Saya</h2>
    <ul>
        <li>Email: <a href="mailto:nama@email.com">nama@email.com</a></li>
        <li>LinkedIn: <a href="https://linkedin.com/in/username" target="_blank">linkedin.com/in/username</a></li>
        <li>GitHub: <a href="https://github.com/username" target="_blank">github.com/username</a></li>
        <li>Telepon: +62 812-3456-7890</li>
    </ul>
</section>Code language: HTML, XML (xml)

Footer melengkapi halaman profil HTML Anda dengan informasi tambahan seperti copyright dan link media sosial.

<footer>
    <p>&copy; 2025 Nama Anda. All rights reserved.</p>
    <div class="social-links">
        <a href="https://twitter.com/username" target="_blank">Twitter</a>
        <a href="https://instagram.com/username" target="_blank">Instagram</a>
        <a href="https://facebook.com/username" target="_blank">Facebook</a>
    </div>
</footer>Code language: HTML, XML (xml)

Kode Lengkap Halaman Profil HTML

Berikut adalah contoh lengkap membuat profil HTML yang menggabungkan semua elemen di atas:

<!DOCTYPE html>
<html lang="id">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="Profil pribadi saya sebagai Web Developer">
    <title>Profil Pribadi - Nama Anda</title>
</head>
<body>
    <header>
        <div class="profile-header">
            <img src="foto-profil.jpg" alt="Foto Profil" width="200" height="200">
            <h1>Nama Lengkap Anda</h1>
            <p class="tagline">Web Developer | Designer | Content Creator</p>
        </div>
    </header>

    <nav>
        <ul>
            <li><a href="#tentang">Tentang</a></li>
            <li><a href="#keahlian">Keahlian</a></li>
            <li><a href="#pendidikan">Pendidikan</a></li>
            <li><a href="#portofolio">Portofolio</a></li>
            <li><a href="#kontak">Kontak</a></li>
        </ul>
    </nav>

    <main>
        <section id="tentang">
            <h2>Tentang Saya</h2>
            <p>
                Halo! Saya adalah seorang web developer yang passionate dalam 
                menciptakan pengalaman digital yang menarik dan fungsional.
            </p>
        </section>

        <section id="keahlian">
            <h2>Keahlian</h2>
            <ul>
                <li>HTML5 & CSS3</li>
                <li>JavaScript (ES6+)</li>
                <li>Responsive Web Design</li>
                <li>Git & Version Control</li>
            </ul>
        </section>

        <section id="pendidikan">
            <h2>Pendidikan</h2>
            <article>
                <h3>Sarjana Teknik Informatika</h3>
                <p><strong>Universitas Indonesia</strong></p>
                <p>2018 - 2022</p>
            </article>
        </section>

        <section id="portofolio">
            <h2>Portofolio</h2>
            <div class="project">
                <h3>Website E-Commerce</h3>
                <p>Platform jual-beli online dengan fitur lengkap.</p>
            </div>
        </section>

        <section id="kontak">
            <h2>Hubungi Saya</h2>
            <ul>
                <li>Email: <a href="mailto:nama@email.com">nama@email.com</a></li>
                <li>LinkedIn: <a href="https://linkedin.com/in/username">LinkedIn</a></li>
                <li>GitHub: <a href="https://github.com/username">GitHub</a></li>
            </ul>
        </section>
    </main>

    <footer>
        <p>&copy; 2025 Nama Anda. All rights reserved.</p>
    </footer>
</body>
</html>Code language: HTML, XML (xml)

Menambahkan CSS untuk Desain yang Menarik

Setelah membuat struktur HTML, langkah selanjutnya adalah menambahkan CSS styling untuk membuat halaman profil HTML Anda lebih menarik dan profesional. CSS akan mengubah tampilan halaman dari sederhana menjadi modern dan eye-catching.

Mengapa CSS Penting untuk Halaman Profil?

CSS (Cascading Style Sheets) memberikan kontrol penuh atas tampilan visual halaman web Anda. Dengan CSS yang baik, halaman profil HTML Anda akan:

  • Terlihat lebih profesional dan menarik
  • Memberikan pengalaman pengguna yang lebih baik
  • Meningkatkan readability dan navigasi
  • Responsif di berbagai ukuran layar
  • Mencerminkan personal branding Anda

CSS Dasar untuk Halaman Profil

Berikut adalah kode CSS lengkap yang dapat Anda tambahkan ke dalam tag <style> di bagian <head> atau file eksternal style.css:

/* Reset dan Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* Container Utama */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Profil */
header {
    background: white;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease;
}

.profile-header img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #667eea;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s ease;
}

.profile-header img:hover {
    transform: scale(1.05) rotate(5deg);
}

.profile-header h1 {
    font-size: 2.5rem;
    margin: 20px 0 10px;
    color: #2d3748;
    font-weight: 700;
}

.tagline {
    font-size: 1.2rem;
    color: #667eea;
    font-weight: 500;
}

/* Navigation */
nav {
    background: white;
    border-radius: 50px;
    padding: 15px 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1s ease;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

nav ul li a {
    text-decoration: none;
    color: #4a5568;
    padding: 10px 25px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-block;
}

nav ul li a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Main Content */
main {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    animation: fadeInUp 1s ease;
}

/* Sections */
section {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e2e8f0;
}

section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

section h2 {
    font-size: 2rem;
    color: #2d3748;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

section p {
    color: #4a5568;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Keahlian List */
#keahlian ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

#keahlian ul li {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: 500;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    text-align: center;
}

#keahlian ul li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

/* Pendidikan */
#pendidikan article {
    background: #f7fafc;
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid #667eea;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

#pendidikan article:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

#pendidikan h3 {
    color: #2d3748;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* Portofolio */
.project {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 20px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.project:hover {
    border-color: #667eea;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
    transform: translateY(-5px);
}

.project h3 {
    color: #2d3748;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.project a {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.project a:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Kontak */
#kontak ul {
    list-style: none;
}

#kontak ul li {
    padding: 15px 0;
    font-size: 1.1rem;
    color: #4a5568;
    border-bottom: 1px solid #e2e8f0;
}

#kontak ul li:last-child {
    border-bottom: none;
}

#kontak a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

#kontak a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Footer */
footer {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1.2s ease;
}

footer p {
    color: #4a5568;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-links a {
    padding: 10px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-header h1 {
        font-size: 2rem;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    main {
        padding: 25px;
    }
    
    section h2 {
        font-size: 1.5rem;
    }
    
    #keahlian ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    header {
        padding: 40px 20px;
    }
    
    .profile-header img {
        width: 150px;
        height: 150px;
    }
    
    .profile-header h1 {
        font-size: 1.5rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
}Code language: CSS (css)

Cara Menerapkan CSS ke Halaman Profil HTML

Ada dua cara untuk menambahkan CSS ke halaman profil HTML Anda:

1. Internal CSS (di dalam file HTML)

Tambahkan kode CSS di dalam tag <style> pada bagian <head>:

<!DOCTYPE html>
<html lang="id">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Profil Pribadi - Nama Anda</title>
    <style>
        /* Masukkan semua kode CSS di sini */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        /* ... CSS lainnya ... */
    </style>
</head>
<body>
    <!-- Konten HTML -->
</body>
</html>Code language: HTML, XML (xml)

2. External CSS (file terpisah)

Buat file baru bernama style.css dan hubungkan ke HTML:

<!DOCTYPE html>
<html lang="id">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Profil Pribadi - Nama Anda</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <!-- Konten HTML -->
</body>
</html>
Code language: HTML, XML (xml)

Dari kedua cara diatas tinggal kamu pilih mana yang menurut kamu lebih efisien dan lebih maintainable dikemudian hari, keputusan seperti ini adalah keputusan yang akan selalu ada dalam dunia nyata para programmer, dihadapkan dengan pilihan mana yang lebih efisien dan maintainable untuk pengembangan dimasa depan.

Kode Lengkap HTML dengan CSS

Berikut adalah halaman profil HTML lengkap dengan CSS styling yang sudah terintegrasi:

<!DOCTYPE html>
<html lang="id">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="Profil pribadi saya sebagai Web Developer">
    <title>Profil Pribadi - Nama Anda</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        header {
            background: white;
            border-radius: 20px;
            padding: 60px 40px;
            text-align: center;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
            margin-bottom: 30px;
        }

        .profile-header img {
            width: 200px;
            height: 200px;
            border-radius: 50%;
            object-fit: cover;
            border: 6px solid #667eea;
            box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
            transition: transform 0.3s ease;
        }

        .profile-header img:hover {
            transform: scale(1.05) rotate(5deg);
        }

        .profile-header h1 {
            font-size: 2.5rem;
            margin: 20px 0 10px;
            color: #2d3748;
            font-weight: 700;
        }

        .tagline {
            font-size: 1.2rem;
            color: #667eea;
            font-weight: 500;
        }

        nav {
            background: white;
            border-radius: 50px;
            padding: 15px 30px;
            margin-bottom: 30px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        }

        nav ul {
            list-style: none;
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 10px;
        }

        nav ul li a {
            text-decoration: none;
            color: #4a5568;
            padding: 10px 25px;
            border-radius: 25px;
            transition: all 0.3s ease;
            font-weight: 500;
        }

        nav ul li a:hover {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
        }

        main {
            background: white;
            border-radius: 20px;
            padding: 40px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
            margin-bottom: 30px;
        }

        section {
            margin-bottom: 50px;
            padding-bottom: 30px;
            border-bottom: 2px solid #e2e8f0;
        }

        section:last-child {
            border-bottom: none;
        }

        section h2 {
            font-size: 2rem;
            color: #2d3748;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }

        section h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 4px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 2px;
        }

        #keahlian ul {
            list-style: none;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 15px;
        }

        #keahlian ul li {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 15px 25px;
            border-radius: 10px;
            font-weight: 500;
            box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
            transition: all 0.3s ease;
            text-align: center;
        }

        #keahlian ul li:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
        }

        .project {
            background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
            padding: 30px;
            border-radius: 15px;
            margin-bottom: 20px;
            border: 2px solid #e2e8f0;
            transition: all 0.3s ease;
        }

        .project:hover {
            border-color: #667eea;
            box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
            transform: translateY(-5px);
        }

        .project a {
            display: inline-block;
            margin-top: 15px;
            padding: 10px 25px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            text-decoration: none;
            border-radius: 25px;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        #kontak ul {
            list-style: none;
        }

        #kontak ul li {
            padding: 15px 0;
            border-bottom: 1px solid #e2e8f0;
        }

        #kontak a {
            color: #667eea;
            text-decoration: none;
            font-weight: 500;
        }

        footer {
            background: white;
            border-radius: 20px;
            padding: 30px;
            text-align: center;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        }

        .social-links {
            display: flex;
            justify-content: center;
            gap: 15px;
            flex-wrap: wrap;
        }

        .social-links a {
            padding: 10px 20px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            text-decoration: none;
            border-radius: 25px;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        @media (max-width: 768px) {
            .profile-header h1 {
                font-size: 2rem;
            }
            nav ul {
                flex-direction: column;
                align-items: center;
            }
            #keahlian ul {
                grid-template-columns: 1fr;
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <header>
            <div class="profile-header">
                <img src="https://i.pravatar.cc/300" alt="Foto Profil" width="200" height="200">
                <h1>Nama Lengkap Anda</h1>
                <p class="tagline">Web Developer | Designer | Content Creator</p>
            </div>
        </header>

        <nav>
            <ul>
                <li><a href="#tentang">Tentang</a></li>
                <li><a href="#keahlian">Keahlian</a></li>
                <li><a href="#pendidikan">Pendidikan</a></li>
                <li><a href="#portofolio">Portofolio</a></li>
                <li><a href="#kontak">Kontak</a></li>
            </ul>
        </nav>

        <main>
            <section id="tentang">
                <h2>Tentang Saya</h2>
                <p>
                    Halo! Saya adalah seorang web developer yang passionate dalam 
                    menciptakan pengalaman digital yang menarik dan fungsional.
                </p>
            </section>

            <section id="keahlian">
                <h2>Keahlian</h2>
                <ul>
                    <li>HTML5 & CSS3</li>
                    <li>JavaScript (ES6+)</li>
                    <li>Responsive Web Design</li>
                    <li>Git & Version Control</li>
                </ul>
            </section>

            <section id="pendidikan">
                <h2>Pendidikan</h2>
                <article>
                    <h3>Sarjana Teknik Informatika</h3>
                    <p><strong>Universitas Indonesia</strong></p>
                    <p>2018 - 2022</p>
                </article>
            </section>

            <section id="portofolio">
                <h2>Portofolio</h2>
                <div class="project">
                    <h3>Website E-Commerce</h3>
                    <p>Platform jual-beli online dengan fitur lengkap.</p>
                    <a href="#" target="_blank">Lihat Proyek</a>
                </div>
            </section>

            <section id="kontak">
                <h2>Hubungi Saya</h2>
                <ul>
                    <li>Email: <a href="mailto:nama@email.com">nama@email.com</a></li>
                    <li>LinkedIn: <a href="https://linkedin.com/in/username">LinkedIn</a></li>
                    <li>GitHub: <a href="https://github.com/username">GitHub</a></li>
                </ul>
            </section>
        </main>

        <footer>
            <p>&copy; 2025 Nama Anda. All rights reserved.</p>
            <div class="social-links">
                <a href="#">Twitter</a>
                <a href="#">Instagram</a>
                <a href="#">Facebook</a>
            </div>
        </footer>
    </div>
</body>
</html>Code language: HTML, XML (xml)

Dari kode diatas maka hasilnya seperti gambar di bawah ini.

Membuat Halaman Profil Pribadi dengan HTML

Penjelasan Fitur CSS yang Digunakan

1. Gradient Background

Background dengan gradient warna ungu memberikan tampilan modern dan menarik pada halaman profil HTML.

2. Border Radius & Box Shadow

Elemen dengan sudut melengkung dan bayangan memberikan kesan depth dan profesional.

3. Hover Effects

Animasi hover pada tombol dan card membuat interaksi lebih menarik dan responsif.

4. Responsive Design

Media queries memastikan halaman profil HTML terlihat bagus di semua ukuran layar.

5. CSS Grid & Flexbox

Layout modern menggunakan Grid dan Flexbox untuk tata letak yang fleksibel.

6. Smooth Transitions

Transisi halus pada semua elemen interaktif meningkatkan user experience.

Tips Membuat Halaman Profil HTML yang Efektif

Untuk membuat halaman profil HTML yang menarik dan profesional, perhatikan tips berikut:

  1. Gunakan Elemen Semantik: Manfaatkan tag seperti <header>, <nav>, <main>, <section>, dan <footer> untuk struktur yang jelas
  2. Optimasi SEO: Tambahkan meta description dan title yang relevan
  3. Responsif: Pastikan halaman dapat diakses dengan baik di berbagai perangkat
  4. Konten Berkualitas: Tulis deskripsi yang jelas, ringkas, dan informatif
  5. Validasi Kode: Gunakan W3C Validator untuk memastikan kode HTML valid
  6. Aksesibilitas: Tambahkan atribut alt pada gambar dan gunakan struktur heading yang benar

Kesimpulan

Membuat halaman profil HTML adalah keterampilan fundamental yang harus dikuasai setiap web developer pemula. Dengan mengikuti panduan ini, Anda dapat membuat profil pribadi yang profesional dan menarik. Mulailah dengan struktur dasar, tambahkan konten yang relevan, dan terus kembangkan halaman Anda seiring bertambahnya pengalaman dan keahlian.

Ingat, halaman profil HTML yang baik tidak hanya tentang kode yang benar, tetapi juga tentang bagaimana Anda menyajikan diri secara profesional di dunia digital. Selamat mencoba!

1 HTML Dasar (Pemula)

2 HTML Menengah

3 HTML Lanjutan

5 HTML Ahli (Bonus & Tips)

Comments

Congrats, you have the opportunity to be the first commenter on this article. Have questions or suggestions? Please leave a comment to start discussion.

Leave comment

Alamat email Anda tidak akan dipublikasikan. Required fields are marked *

news-1701

yakinjp

yakinjp

rtp yakinjp

yakinjp

yakinjp

yakin jp

yakinjp id

maujp

maujp

maujp

\

sabung ayam online

sabung ayam online

SLOT MAHJONG

sabung ayam online

article 10000336

article 10000337

article 10000338

article 10000339

article 10000340

article 10000341

article 10000342

article 10000343

article 10000344

article 10000345

article 10000346

article 10000347

article 10000348

article 10000349

article 10000350

article 10000351

article 10000352

article 10000353

article 10000354

article 10000355

article 10000356

article 10000357

article 10000358

article 10000359

article 10000360

article 10000361

article 10000362

article 10000363

article 10000364

article 10000365

article 10000366

article 10000367

article 10000368

article 10000369

article 10000370

article 10000371

article 10000372

article 10000373

article 10000374

article 10000375

article 2990476

article 2990477

article 2990478

article 2990479

article 2990480

article 2990481

article 2990482

article 2990483

article 2990484

article 2990485

article 2990486

article 2990487

article 2990488

article 2990489

article 2990490

article 2990491

article 2990492

article 2990493

article 2990494

article 2990495

article 2990496

article 2990497

article 2990498

article 2990499

article 2990500

article 2990501

article 2990502

article 2990503

article 2990504

article 2990505

article 2990506

article 2990507

article 2990508

article 2990509

article 2990510

article 2990511

article 2990512

article 2990513

article 2990514

article 2990515

article 2000301

article 2000302

article 2000303

article 2000304

article 2000305

article 2000306

article 2000307

article 2000308

article 2000309

article 2000310

article 2000311

article 2000312

article 2000313

article 2000314

article 2000315

article 2000316

article 2000317

article 2000318

article 2000319

article 2000320

article 2000321

article 2000322

article 2000323

article 2000324

article 2000325

article 2000326

article 2000327

article 2000328

article 2000329

article 2000330

article 2000331

article 2000332

article 2000333

article 2000334

article 2000335

article 2000336

article 2000337

article 2000338

article 2000339

article 2000340

article 2000341

article 2000342

article 2000343

article 2000344

article 2000345

article 2000346

article 2000347

article 2000348

article 2000349

article 2000350

article 2000351

article 2000352

article 2000353

article 2000354

article 2000355

article 5500286

article 5500287

article 5500288

article 5500289

article 5500290

article 5500291

article 5500292

article 5500293

article 5500294

article 5500295

article 5500296

article 5500297

article 5500298

article 5500299

article 5500300

article 5500301

article 5500302

article 5500303

article 5500304

article 5500305

article 5500306

article 5500307

article 5500308

article 5500309

article 5500310

article 5500311

article 5500312

article 5500313

article 5500314

article 5500315

article 5500316

article 5500317

article 5500318

article 5500319

article 5500320

article 5500321

article 5500322

article 5500323

article 5500324

article 5500325

article 5500326

article 5500327

article 5500328

article 5500329

article 5500330

article 5500331

article 5500332

article 5500333

article 5500334

article 5500335

article 838000508

article 838000509

article 838000510

article 838000511

article 838000512

article 838000513

article 838000514

article 838000515

article 838000516

article 838000517

article 838000518

article 838000519

article 838000520

article 838000521

article 838000522

article 838000523

article 838000524

article 838000525

article 838000526

article 838000527

article 838000508

article 838000509

article 838000510

article 838000511

article 838000512

article 838000513

article 838000514

article 838000515

article 838000516

article 838000517

article 838000518

article 838000519

article 838000520

article 838000521

article 838000522

article 838000523

article 838000524

article 838000525

article 838000526

article 838000527

article 838000528

article 838000529

article 838000530

article 838000531

article 838000532

article 838000533

article 838000534

article 838000535

article 838000536

article 838000537

article 838000538

article 838000539

article 838000540

article 838000541

article 838000542

article 838000543

article 838000544

article 838000545

article 838000546

article 838000547

article 838000548

article 838000549

article 838000550

article 838000551

article 838000552

article 838000553

article 838000554

article 838000555

article 838000556

article 838000557

article 9998000521

article 9998000522

article 9998000523

article 9998000524

article 9998000525

article 9998000526

article 9998000527

article 9998000528

article 9998000529

article 9998000530

article 9998000531

article 9998000532

article 9998000533

article 9998000534

article 9998000535

article 9998000536

article 9998000537

article 9998000538

article 9998000539

article 9998000540

article 9998000541

article 9998000542

article 9998000543

article 9998000544

article 9998000545

article 9998000546

article 9998000547

article 9998000548

article 9998000549

article 9998000550

article 9998000551

article 9998000552

article 9998000553

article 9998000554

article 9998000555

article 9998000556

article 9998000557

article 9998000558

article 9998000559

article 9998000560

article 9998000561

article 9998000562

article 9998000563

article 9998000564

article 9998000565

article 9998000566

article 9998000567

article 9998000568

article 9998000569

article 9998000570

news-1701
news-1701

yakinjp

yakinjp

rtp yakinjp

yakinjp

yakinjp

yakin jp

yakinjp id

maujp

maujp

maujp

\

sabung ayam online

sabung ayam online

SLOT MAHJONG

sabung ayam online

article 10000336

article 10000337

article 10000338

article 10000339

article 10000340

article 10000341

article 10000342

article 10000343

article 10000344

article 10000345

article 10000346

article 10000347

article 10000348

article 10000349

article 10000350

article 10000351

article 10000352

article 10000353

article 10000354

article 10000355

article 10000356

article 10000357

article 10000358

article 10000359

article 10000360

article 10000361

article 10000362

article 10000363

article 10000364

article 10000365

article 10000366

article 10000367

article 10000368

article 10000369

article 10000370

article 10000371

article 10000372

article 10000373

article 10000374

article 10000375

article 2990476

article 2990477

article 2990478

article 2990479

article 2990480

article 2990481

article 2990482

article 2990483

article 2990484

article 2990485

article 2990486

article 2990487

article 2990488

article 2990489

article 2990490

article 2990491

article 2990492

article 2990493

article 2990494

article 2990495

article 2990496

article 2990497

article 2990498

article 2990499

article 2990500

article 2990501

article 2990502

article 2990503

article 2990504

article 2990505

article 2990506

article 2990507

article 2990508

article 2990509

article 2990510

article 2990511

article 2990512

article 2990513

article 2990514

article 2990515

article 2000301

article 2000302

article 2000303

article 2000304

article 2000305

article 2000306

article 2000307

article 2000308

article 2000309

article 2000310

article 2000311

article 2000312

article 2000313

article 2000314

article 2000315

article 2000316

article 2000317

article 2000318

article 2000319

article 2000320

article 2000321

article 2000322

article 2000323

article 2000324

article 2000325

article 2000326

article 2000327

article 2000328

article 2000329

article 2000330

article 2000331

article 2000332

article 2000333

article 2000334

article 2000335

article 2000336

article 2000337

article 2000338

article 2000339

article 2000340

article 2000341

article 2000342

article 2000343

article 2000344

article 2000345

article 2000346

article 2000347

article 2000348

article 2000349

article 2000350

article 2000351

article 2000352

article 2000353

article 2000354

article 2000355

article 5500286

article 5500287

article 5500288

article 5500289

article 5500290

article 5500291

article 5500292

article 5500293

article 5500294

article 5500295

article 5500296

article 5500297

article 5500298

article 5500299

article 5500300

article 5500301

article 5500302

article 5500303

article 5500304

article 5500305

article 5500306

article 5500307

article 5500308

article 5500309

article 5500310

article 5500311

article 5500312

article 5500313

article 5500314

article 5500315

article 5500316

article 5500317

article 5500318

article 5500319

article 5500320

article 5500321

article 5500322

article 5500323

article 5500324

article 5500325

article 5500326

article 5500327

article 5500328

article 5500329

article 5500330

article 5500331

article 5500332

article 5500333

article 5500334

article 5500335

article 838000508

article 838000509

article 838000510

article 838000511

article 838000512

article 838000513

article 838000514

article 838000515

article 838000516

article 838000517

article 838000518

article 838000519

article 838000520

article 838000521

article 838000522

article 838000523

article 838000524

article 838000525

article 838000526

article 838000527

article 838000508

article 838000509

article 838000510

article 838000511

article 838000512

article 838000513

article 838000514

article 838000515

article 838000516

article 838000517

article 838000518

article 838000519

article 838000520

article 838000521

article 838000522

article 838000523

article 838000524

article 838000525

article 838000526

article 838000527

article 838000528

article 838000529

article 838000530

article 838000531

article 838000532

article 838000533

article 838000534

article 838000535

article 838000536

article 838000537

article 838000538

article 838000539

article 838000540

article 838000541

article 838000542

article 838000543

article 838000544

article 838000545

article 838000546

article 838000547

article 838000548

article 838000549

article 838000550

article 838000551

article 838000552

article 838000553

article 838000554

article 838000555

article 838000556

article 838000557

article 9998000521

article 9998000522

article 9998000523

article 9998000524

article 9998000525

article 9998000526

article 9998000527

article 9998000528

article 9998000529

article 9998000530

article 9998000531

article 9998000532

article 9998000533

article 9998000534

article 9998000535

article 9998000536

article 9998000537

article 9998000538

article 9998000539

article 9998000540

article 9998000541

article 9998000542

article 9998000543

article 9998000544

article 9998000545

article 9998000546

article 9998000547

article 9998000548

article 9998000549

article 9998000550

article 9998000551

article 9998000552

article 9998000553

article 9998000554

article 9998000555

article 9998000556

article 9998000557

article 9998000558

article 9998000559

article 9998000560

article 9998000561

article 9998000562

article 9998000563

article 9998000564

article 9998000565

article 9998000566

article 9998000567

article 9998000568

article 9998000569

article 9998000570

news-1701
content-1701

sabung ayam online

yakinjp

yakinjp

rtp yakinjp

slot thailand

yakinjp

yakinjp

yakin jp

yakinjp id

maujp

maujp

maujp

maujp

slot mahjong

SGP Pools

slot mahjong

sabung ayam online

slot mahjong

SLOT THAILAND

article 888000081

article 888000082

article 888000083

article 888000084

article 888000085

article 888000086

article 888000087

article 888000088

article 888000089

article 888000090

article 888000091

article 888000092

article 888000093

article 888000094

article 888000095

article 888000096

article 888000097

article 888000098

article 888000099

article 888000100

cuaca 898100126

cuaca 898100127

cuaca 898100128

cuaca 898100129

cuaca 898100130

cuaca 898100131

cuaca 898100132

cuaca 898100133

cuaca 898100134

cuaca 898100135

cuaca 898100136

cuaca 898100137

cuaca 898100138

cuaca 898100139

cuaca 898100140

cuaca 898100141

cuaca 898100142

cuaca 898100143

cuaca 898100144

cuaca 898100145

cuaca 898100146

cuaca 898100147

cuaca 898100148

cuaca 898100149

cuaca 898100150

cuaca 898100151

cuaca 898100152

cuaca 898100153

cuaca 898100154

cuaca 898100155

cuaca 898100156

cuaca 898100157

cuaca 898100158

cuaca 898100159

cuaca 898100160

cuaca 898100161

cuaca 898100162

cuaca 898100163

cuaca 898100164

cuaca 898100165

cuaca 898100166

cuaca 898100167

cuaca 898100168

cuaca 898100169

cuaca 898100170

cuaca 898100171

cuaca 898100172

cuaca 898100173

cuaca 898100174

cuaca 898100175

article 710000151

article 710000152

article 710000153

article 710000154

article 710000155

article 710000156

article 710000157

article 710000158

article 710000159

article 710000160

article 710000161

article 710000162

article 710000163

article 710000164

article 710000165

article 710000166

article 710000167

article 710000168

article 710000169

article 710000170

article 710000171

article 710000172

article 710000173

article 710000174

article 710000175

article 710000176

article 710000177

article 710000178

article 710000179

article 710000180

article 710000181

article 710000182

article 710000183

article 710000184

article 710000185

article 710000186

article 710000187

article 710000188

article 710000189

article 710000190

article 710000191

article 710000192

article 710000193

article 710000194

article 710000195

article 710000196

article 710000197

article 710000198

article 710000199

article 710000200

psda 438000036

psda 438000037

psda 438000038

psda 438000039

psda 438000040

psda 438000041

psda 438000042

psda 438000043

psda 438000044

psda 438000045

psda 438000046

psda 438000047

psda 438000048

psda 438000049

psda 438000050

psda 438000051

psda 438000052

psda 438000053

psda 438000054

psda 438000055

psda 438000056

psda 438000057

psda 438000058

psda 438000059

psda 438000060

psda 438000061

psda 438000062

psda 438000063

psda 438000064

psda 438000065

psda 438000066

psda 438000067

psda 438000068

psda 438000069

psda 438000070

psda 438000071

psda 438000072

psda 438000073

psda 438000074

psda 438000075

psda 438000076

psda 438000077

psda 438000078

psda 438000079

psda 438000080

psda 438000081

psda 438000082

psda 438000083

psda 438000084

psda 438000085

psda 438000086

psda 438000087

psda 438000088

psda 438000089

psda 438000090

psda 438000091

psda 438000092

psda 438000093

psda 438000094

psda 438000095

psda 438000096

psda 438000097

psda 438000098

psda 438000099

psda 438000100

psda 438000101

psda 438000102

psda 438000103

psda 438000104

psda 438000105

psda 438000106

psda 438000107

psda 438000108

psda 438000109

content-1701