Materi
Roadmap
Proyek
Sertifikat
Skillance Code Lab
Jalankan »
Skillance Code Lab Editor
Editor
Hasil
Split
Editor Kode Sumber
Tekan
Ctrl + Enter
untuk Menjalankan
<!DOCTYPE html> <html> <head> <style> body { font-family: sans-serif; margin: 0; background: #f8fafc; } header, footer { background: #0d2e5c; color: white; padding: 15px; text-align: center; } nav { background: #1e3a8a; padding: 8px; text-align: center; } nav a { color: #fca311; text-decoration: none; margin: 0 10px; font-weight: bold; } main { display: flex; padding: 15px; gap: 15px; } article { flex: 3; background: white; padding: 15px; border-radius: 8px; } aside { flex: 1; background: #e2e8f0; padding: 15px; border-radius: 8px; } </style> </head> <body> <header><h2>Header Website</h2></header> <nav><a href="#">Beranda</a> <a href="#">Materi</a> <a href="#">Kontak</a></nav> <main> <article> <h3>Artikel Utama</h3> <p>Konten artikel yang panjang diletakkan di sini.</p> </article> <aside> <h4>Sidebar</h4> <p>Informasi sampingan atau iklan.</p> </aside> </main> <footer>© 2026 Skillance Academy</footer> </body> </html>
Hasil Tampilan (Browser Preview)
Muat Ulang