Toggle navigation
☰
Home
HTML
CSS
Scripting
Database
<!DOCTYPE html> <title>My Example</title> <!-- Bootstrap CSS --> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"> <nav class="navbar navbar-default"> <div class="container-fluid"> <!-- BRAND --> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#alignment-example" aria-expanded="false"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="#">Your Brand</a> </div> <!-- COLLAPSIBLE NAVBAR --> <div class="collapse navbar-collapse" id="alignment-example"> <!-- Links --> <ul class="nav navbar-nav"> <li class="active"><a href="#">Link 1 <span class="sr-only">(current)</span></a></li> <li><a href="#">Link 2</a></li> <li><a href="#">Link 3</a></li> </ul> <!-- Text --> <p class="navbar-text navbar-right">Tuesday, 31 Dec 2024</p> </div> </div> </nav> <!-- jQuery library --> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <!-- Bootstrap JS --> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script> <!-- Initialize Bootstrap functionality --> <script> // Initialize tooltip component $(function () { $('[data-toggle="tooltip"]').tooltip() }) // Initialize popover component $(function () { $('[data-toggle="popover"]').popover() }) </script>