Hannah Graves | Step Four


CSS Nav-bar

Navigation bars serve as vital components of websites, offering users an intuitive method for navigating through the site. Through CSS, simple HTML menus can be transformed into visually appealing navigation bars.


The basics to Nav-bar structure: Navigation bars are essentially lists of links. These are constructed using <ul> and <li> list tags. These lists can be stylized to become a navigation bar, common practices include removing bullets, margins, and paddings to ensure consistency across different browsers.


Vertical Navigation Bars involves additional styling by setting dimensions for <a> elements within <li>, enabling the entire link area to be clickable, and controlling the layout.


Here is a Nav-bar example of CSS styling:


a {

color:#3D6C6D;

text-decoration: none;

}

a:link {

text-decoration: none;

}

a:visited {

color: #3D6C6D;

}

a:hover {

font-weight: 500;

}

a:hover, a:visited {

outline: 0;

}

Adding images


Adding an Image step by step


How to quickly modify a photo for a faster upload

To embed an image in your page:

Image Pros & Cons

JPG

Pros

Cons


PNG

Pros

Cons


PDF

Pros

Cons


TIFF

Pros

Cons


SVG

Pros

Cons


GIF

Pros

Cons

Bit Maps

Pros

Cons