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 Next Article How To Create a More Button in a Navigation Bar using CSS? V vkash8574 Follow Improve Article Tags : Project Web Technologies Geeks Premier League Web Templates Geeks Premier League 2023 +1 More Similar Reads How To Create a More Button in a Navigation Bar using CSS? Adding a More button in a navigation bar is used to handle overflow items when there is insufficient space to display all navigation links. We will explore how to implement a More button using CSS. ApproachCreate a web page structure using the <nav> element, which contains list items for each 2 min read How to create a Responsive Bottom Navigation Menu with CSS and JavaScript. A responsive bottom navigation menu provides mobile-friendly access to important links. We will see how to create a responsive bottom navigation menu that adjusts to different screen widths. The menu will include elements like Home, Contact, and About. When viewed on a smaller screen, a hamburger me 2 min read Create a Mobile Toggle Navigation Menu using HTML, CSS and JavaScript To create a Mobile Toggle Navigation Menu you need HTML, CSS, and JavaScript. If you want to attach the icons with the menu then you need a font-awesome CDN link. This article is divided into two sections: Creating Structure and Designing Structure.A glimpse of complete Navigation:Â Creating Structur 3 min read How to create Vertical Navigation Bar using HTML and CSS ? After reading this article, you will be able to build your own vertical navigation bar. To follow this article you only need some basic understanding of HTML and CSS. Let us start writing our vertical navigation bar, first, we will write the structure of the navigation bar. In this tutorial, we crea 3 min read Create a Curtain Menu using HTML and CSS This article will show you how to create a Curtain menu navbar effect with the help of HTML and CSS. The curtain menu means revealing or pulling down the menu items like a curtain. HTML is used to create the structure of the curtain menu and applies styles on that element to make like curtain menu e 3 min read How to create a top navigation bar using CSS? A top navigation bar is a horizontal bar that typically contains links to different sections of a website. It is a fundamental part of a website's layout and helps users navigate easily. In this article, we will explore different approaches to creating a top navigation bar using CSS. These are the f 3 min read Like