how to make a navigation bar in html images

How To Make A NAVIGATION BAR In HTML [+Example Codes]

This post focuses on how to make a navigation bar in html.

 

How To Make A NAVIGATION BAR In HTML Answered Step by Step Guide

 

SECTION A: Text-Based Answer

STEP 1: Open your code editor (in my case I will be using VS Code for this post)

how to make a navigation bar in html images step 01

 

STEP 2: Create a new file with Ctrl+N or Command+N

how to make a navigation bar in html images step 02

 

Or click “File” option at the top of the VS code and select “New File”

how to make a navigation bar in html images step 02b

 

It opens up new tab

how to make a navigation bar in html images step 02c

 

STEP 3: Save the file and remember to use “.html” as the extension

how to make a navigation bar in html images step 03

 

After save

how to make a navigation bar in html images step 03b

 

STEP 4: Use short code html:5

how to make a navigation bar in html images step 04

 

STEP 5: It should bring out the html boiler template for you to use

how to make a navigation bar in html images step 05a

 

how to make a navigation bar in html images step 05b

 

STEP 6: Click “Go Live” at the bottom of the VS code. If you don’t have the option, checkout my guide on how to set it up via How To Run HTML In VS Code

how to make a navigation bar in html images step 06

 

STEP 7: It opens a plain page in your browser to see what you will be coding

how to make a navigation bar in html images step 07

 

STEP 8: Create “div” HTML element (check section C below this post for full sample code to copy and use for free)

how to make a navigation bar in html images step 08

 

STEP 9: Inside the “div” nest in a “table” element

how to make a navigation bar in html images step 09

 

STEP 10: Inside the “table” nest in a “tbody” (table body – optional though)

how to make a navigation bar in html images step 10

 

STEP 11: Inside the “tbody” nest in a table row “tr”

how to make a navigation bar in html images step 11

 

STEP 12: Inside the “tr” nest in a table data “td” (you can now put your navigation options like HOME || ABOUT and more inside the table data element.)

how to make a navigation bar in html images step 12

 

STEP 13: Put the data inside the “td” in a hyperlink “a href” element to ensure they are clickable and hyperlinked to other web pages like ABOUT can link to your About Us Page (Check the video and source code below for further help).

how to make a navigation bar in html images step 13

 

STEP 14: Repeat step 13 based on the number of options you want to have in your navigation bar

how to make a navigation bar in html images step 14

 

STEP 15: You should now have your navigation bar in html working fine as seen below. The source code available in section C below and can also watch the video in section B.

how to make a navigation bar in html images step 15

 

 

SECTION B: Video-Based Answer

Watch me answering your question “How To Make A NAVIGATION BAR In HTML” in a video step by step:

 

SECTION C: Source Code For Above Answer

Copy and use the example of How To Make A NAVIGATION BAR In HTML below for free:

Source code Hidden Because You Are Not A Member – Don’t Worry, Membership is Free and the source code will be available FREE once you login.

REGISTER FREE   or   LOGIN  HERE

Similar Posts

Leave a Reply