TUGAS 1 HTML DAN CSS LANJUTAN XII RPL TAHUN 2020
Nama:miftah Fariz
Kelas:XII RPL
Kali ini saya akan membagikan coding dan hasil html dan CSS,serta memakai navbar dengan menggunakan bootstrap
A.foto hasilnya
B.coding nya
-html
<html>
<head>
<title>TODO supply a title</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
</head>
<body>
<header>
<div class"container">
<nav class="navbar navbar-expand-lg navbar-light bg-light"> <a class="navbar-brand" href="#">Smk 4 lppm ri</a> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button> <div class="collapse navbar-collapse" id="navbarNav"> <ul class="navbar-nav"> <li class="nav-item active"> <a class="nav-link" href="https://www.codepolitan.com/belajar-html-dasar">Html <span class="sr-only">(current)</span></a> </li> <li class="nav-item"> <a class="nav-link" href="https://www.petanikode.com/tutorial/php/">php</a> </li> <li class="nav-item"> <a class="nav-link" href="https://www.codepolitan.com/membuat-program-ruby-pertamamu-5974809bbd5ed">ruby</a> </li> </ul> </div> </nav>
</div>
</header>
<section class="banner"></section>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script> <script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script>
</body>
</html>
-css
body{
background-color:blue;
}
Komentar
Posting Komentar