VOOZH about

URL: https://www.geeksforgeeks.org/web-templates/create-an-icon-bar-using-html-and-css/

⇱ Create an Icon Bar using HTML and CSS - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Create an Icon Bar using HTML and CSS

Last Updated : 29 Nov, 2023

This article provides a complete idea of how to create an Icon Bar using HTML and CSS. HTML is used to design the structure, and CSS applies styles to the elements to make the user interface (UI) attractive.

To add the Icons, we use the Font Awesome icons CDN link in the head section, and add the icons code in body section.

Example 1: Here, we create a Horizontal icon bar.

Output:

👁 icon-bar-1

Example 2: Here, we create Vertical Icons Bar.

Output:

👁 icon-bar-2

Comment