Bootstrap > Navbar

Navbar Text in Bootstrap

How to create text in the navbar of Bootstrap


Navbar text

It is used to insert text using navbar-text in the navbar.

 <h2>Navbar text</h2>
    <nav class="navbar navbar-default" role="navigation">
        <div class="navbar-header">
            <a class="navbar-brand" href="#">TechFunda</a>
        </div>
        <div>
            <p class="navbar-text">Authors</p>
        </div>
    </nav>

In the above code snippet we have defined navbar text using navbar-text which defines text in the navbar, we have text as Authors in the navbar.

output

 Views: 4763 | Post Order: 37



Write for us






Hosting Recommendations