Answers for "css navigation bar horizontal"

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

Code answers related to "css navigation bar horizontal"

Browse Popular Code Answers by Language