Create A Bottom Navigation Menu using HTML and CSS Last Updated : 26 Dec, 2023 Summarize Comments Improve Suggest changes Share Like Article Like Report This article will show you how to create a bottom navigation menu using HTML and CSS. The navigation menu is an essential component in modern web design. It allows users to navigate through a website easily. Here, we use HTML to create the structure of the Bottom Navigation menu, and CSS add styles to the elements. Example 1: In this example, we will create a simple responsive bottom navigation menu. HTML <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content= "width=device-width, initial-scale=1.0"> <title> Bottom Navigation with HTML and CSS </title> <link rel="stylesheet" href= "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"> <style> body { margin: 0; font-family: 'Arial', sans-serif; } .container { display: flex; flex-direction: column; min-height: 100vh; } .bottom-nav { background-color: #4b8b01; display: flex; justify-content: space-around; align-items: center; position: fixed; bottom: 0; width: 100%; } .bottom-nav a { color: #fff; text-align: center; padding: 14px 16px; text-decoration: none; font-size: 17px; } .bottom-nav a:hover { background-color: #2a93d5; } @media screen and (max-width: 600px) { .bottom-nav { flex-direction: column; align-items: stretch; } .bottom-nav a { flex: 1; } } </style> </head> <body> <div class="container"> <nav class="bottom-nav"> <a href="#home">Home</a> <a href="#courses">Courses</a> <a href="#jobs">Jobs</a> <a href="#news">News</a> <a href="#contact">Contact</a> <a href="#about">About</a> </nav> </div> </body> </html> Output: Example 2: In this example, we will create a bottom navigation menu with icons. HTML <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content= "width=device-width, initial-scale=1.0"> <title> Bottom Navigation with Icons </title> <link rel="stylesheet" href= "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css"> <style> body { margin: 0; font-family: 'Arial', sans-serif; } .container { display: flex; flex-direction: column; min-height: 100vh; } .bottom-nav { background-color: #4b8b01; display: flex; justify-content: space-around; align-items: center; position: fixed; bottom: 0; width: 100%; } .bottom-nav a { color: #fff; text-align: center; padding: 14px 16px; text-decoration: none; font-size: 17px; } .bottom-nav a:hover { background-color: #2a93d5; } .bottom-nav a .icon { margin-right: 8px; } </style> </head> <body> <div class="container"> <nav class="bottom-nav"> <a href="#home"> <i class="fas fa-home icon"></i>Home </a> <a href="#courses"> <i class="fas fa-graduation-cap icon"></i>Courses </a> <a href="#jobs"> <i class="fas fa-briefcase icon"></i>Jobs </a> <a href="#news"> <i class="fas fa-newspaper icon"></i>News </a> <a href="#contact"> <i class="fas fa-envelope icon"></i>Contact </a> <a href="#about"> <i class="fas fa-info-circle icon"></i>About </a> </nav> </div> </body> </html> Output: Comment More infoAdvertise with us V vkash8574 Follow Improve Article Tags : Project Web Technologies Geeks Premier League Web Templates Geeks Premier League 2023 +1 More Similar Reads Non-linear Components In electrical circuits, Non-linear Components are electronic devices that need an external power source to operate actively. Non-Linear Components are those that are changed with respect to the voltage and current. Elements that do not follow ohm's law are called Non-linear Components. Non-linear Co 11 min read JavaScript Tutorial JavaScript is a programming language used to create dynamic content for websites. It is a lightweight, cross-platform, and single-threaded programming language. It's an interpreted language that executes code line by line, providing more flexibility.JavaScript on Client Side: On the client side, Jav 11 min read Web Development Web development is the process of creating, building, and maintaining websites and web applications. It involves everything from web design to programming and database management. Web development is generally divided into three core areas: Frontend Development, Backend Development, and Full Stack De 5 min read React Interview Questions and Answers React is an efficient, flexible, and open-source JavaScript library that allows developers to create simple, fast, and scalable web applications. Jordan Walke, a software engineer who was working for Facebook, created React. Developers with a JavaScript background can easily develop web applications 15+ min read React Tutorial React is a powerful JavaScript library for building fast, scalable front-end applications. Created by Facebook, it's known for its component-based structure, single-page applications (SPAs), and virtual DOM,enabling efficient UI updates and a seamless user experience.Note: The latest stable version 7 min read JavaScript Interview Questions and Answers JavaScript is the most used programming language for developing websites, web servers, mobile applications, and many other platforms. In Both Front-end and Back-end Interviews, JavaScript was asked, and its difficulty depends upon the on your profile and company. Here, we compiled 70+ JS Interview q 15+ min read Steady State Response In this article, we are going to discuss the steady-state response. We will see what is steady state response in Time domain analysis. We will then discuss some of the standard test signals used in finding the response of a response. We also discuss the first-order response for different signals. We 9 min read Domain Name System (DNS) DNS is a hierarchical and distributed naming system that translates domain names into IP addresses. When you type a domain name like www.geeksforgeeks.org into your browser, DNS ensures that the request reaches the correct server by resolving the domain to its corresponding IP address.Without DNS, w 8 min read Use Case Diagram - Unified Modeling Language (UML) A Use Case Diagram in Unified Modeling Language (UML) is a visual representation that illustrates the interactions between users (actors) and a system. It captures the functional requirements of a system, showing how different users engage with various use cases, or specific functionalities, within 9 min read NodeJS Interview Questions and Answers NodeJS is one of the most popular runtime environments, known for its efficiency, scalability, and ability to handle asynchronous operations. It is built on Chromeâs V8 JavaScript engine for executing JavaScript code outside of a browser. It is extensively used by top companies such as LinkedIn, Net 15+ min read Like