Answers for "horizontal nav bar css"

1

how to make a horizontal navigation bar in html

<style>
#nav{
	display:flex;
}
</style>

<div id='nav'>
  <div><a href='#'>Link A</a></div>
  <div><a href='#'>Link B</a></div>
  <div><a href='#'>Link C</a></div>
  <div><a href='#'>Link D</a></div>
  <div><a href='#'>Link E</a></div>
</div>
Posted by: Guest on May-26-2021
2

how to make a horizontal navigation bar in html

<!--Using Bootstrap Classes-->

<div id='nav' class='d-flex'>
  <div><a href='#'>Link A</a></div>
  <div><a href='#'>Link B</a></div>
  <div><a href='#'>Link C</a></div>
  <div><a href='#'>Link D</a></div>
  <div><a href='#'>Link E</a></div>
</div>
Posted by: Guest on May-24-2021
0

navbar horizontal in html

<!doctype html>
<html>
<head><title></title>
</head><body>

<nav>
<ul>
<li><a href="">elm1</a></li>
<li><a href="">elm1</a></li>


</ul>
</nav>

</body>
</html>
Posted by: Guest on July-11-2021

Browse Popular Code Answers by Language