html5 – Which tag is best for creating a menu bar?

Good evening people, i am a beginner and so i ask for help in creating a menu bar

I'm building a website and have two horizontal bars, the first I want to set with bars, with a search button and another login / cadastral button

Below are the navigation menus.

In general, I create a tag and add a bg color to create a bar, and I find it extremely difficult to position as I would like

Can someone tell me what to do to position this bar perfectly and suitable tags to create it?

Thank you guys!