I need help, or the exact code, for a horizontal nav bar in html.
You can style a navigation bar with CSS:
<nav> element at the top of your HTML, and put links or whatever in it.
This creates a basic horizontal navigation bar.
If this is for school work, please do not simply ask for code. At least try to understand what is given (and be wary of some people copy-pasting from other sites)