Advertisement
adam900019

Build Nav

Sep 20th, 2023
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.50 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>Document</title>
  7. <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
  8. integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
  9. <!-- <link rel="stylesheet" href="css/bootstrap.min.css"> -->
  10. <link rel="stylesheet" href="app.css">
  11. </head>
  12. <body>
  13. <!-- Navigasi bar -->
  14. <nav class="navbar navbar-expand-lg navbar-light bg-light fixed-top">
  15. <div class="container">
  16. <a class="navbar-brand" href="index.html"><img src="images/logo-navbar.png" alt="#"></a>
  17.  
  18. <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarContent"
  19. aria-controls="navBarContent" aria-expanded="false" aria-label="Toggle navigation">
  20. <span class="navbar-toggler-icon"></span>
  21. </button>
  22.  
  23. <div class="collapse navbar-collapse" id="navbarContent">
  24. <ul class="navbar-nav ml-auto">
  25. <li class="nav-item active">
  26. <a href=#" class="nav-link">Home</a>
  27. </li>
  28. <li class="nav-item active">
  29. <a href=#services" class="nav-link">Service</a>
  30. </li>
  31. <li class="nav-item active">
  32. <a href=#product" class="nav-link">Product</a>
  33. </li>
  34. <li class="nav-item active">
  35. <a href=#about" class="nav-link">About</a>
  36. </li>
  37. <li class="nav-item active">
  38. <a href=#contact" class="nav-link">Contact</a>
  39. </li>
  40. </ul>
  41. </div>
  42.  
  43. </div>
  44. </nav>
  45.  
  46. <!-- Header -->
  47. <header class="jumbotron">
  48. ...
  49. </header>
  50.  
  51. <!-- Product -->
  52. <section id="product">
  53.  
  54. </section>
  55. <!-- About -->
  56. <section id="about">
  57.  
  58. </section>
  59. <!-- Contact -->
  60. <section id="contact">
  61.  
  62. </section>
  63.  
  64. <footer></footer>
  65.  
  66. <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"
  67. integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL"
  68. crossorigin="anonymous"></script>
  69. </body>
  70. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement