Interviewer And Interviewee Guide

Bootstrap Interview Question:

Tell me how to create a navbar in bootstrap?

Submitted by: Muhammad
To create a default navbar −

☛ Add the classes .navbar, .navbar-default to the <nav> tag.
☛ Add role = "navigation" to the above element, to help with accessibility.
☛ Add a header class .navbar-header to the <div> element. Include an <a> element with class navbar-brand. This will give the text a slightly larger size.
☛ To add links to the navbar, simply add an unordered list with the classes of .nav, .navbar-nav.
Submitted by: Muhammad

Read Online Bootstrap Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.