In any HTML|HTML5 document horizontal menu bar is representing links to site pages to allow easy navigation, or destinations inside current web page.
Every menu bar in usually build from list items that contains the link to another page using anchor tag.
Most common way to build this kind of menu using <ul><li> and <a> selectors.
For this example will create simple one level HTML unordered list with anchor links inside.
ul : Unordered List tag defines a list with items that are displayed with a bullet.
li : List Item tag represent an item that should be contained in an ordered list or unordered list.
a : Anchor element tag defines target destination inside HTML document or external hyper-link target.
NOTE : You can specify relative or absolute hyper-link path (URL) or just destination anchor within current document (URI).
There are many ways to create CSS|CSS3 for horizontal menu bar, will demonstrate three CSS code examples to get such layout.
margin & padding : Are set to zero in order to remove default browser settings.
list-style : Set this shorthand property to remove any default list item markers.
display : This is to specify the rendering box as block to fill all width area.
text-align : Center the content text within the block box.
text-decoration : Remove default underline text formatting decoration.
This will give the plain text lines more menu alike look.
Copy and Place this HTML & CSS code inside any plain or new text document file *.txt, rename the file to *.html and open with any browser to test your newly horizontal navigation bar.
NOTE : This is only example, you shouldn't place the CSS code inside HTML.