Smashing Html5 : Navigation Strategies - Creating Consistency (part 2) - Understanding the HTML5 mechanics of vertical navigation

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019

Understanding the HTML5 mechanics of vertical navigation

The most important part of creating a vertical section to use for navigation in your site is sectioning a portion of the page where you can place the links. This example uses the <aside> tag to set off the vertical navigation. However, because it’s navigation, the <nav> tag is used as well so that any JavaScript references to the Document Object Model (DOM) can recognize the section as one used for navigation. 




<style type=”text/css”>

/*141919,2D2B21,A69055,C9B086,FFB88C --Japanese Art*/

body {

font-family:”Trebuchet MS”, Arial, Helvetica, sans-serif;





.content {





aside {






h1 {





h2 {



a {

font-family:Verdana, Geneva, sans-serif;





a:hover {



.centerNav {



.indentNav {




<meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8”>

<title>Web Services Galore</title>



<img src=”designLogo.png” width=”64” height=”66” align=”left”>

<nav class=”centerNav”> <a href=”#”>Graphic Design</a>&nbsp;|&nbsp; <a href=”#”>Development</a>&nbsp;|&nbsp; <a href=”#”>Interface Design</a>&nbsp;|&nbsp; <a href=”#”>Site Architecture</a></nav>


<h1> Honorable Web Services</h1>



<nav class=”indentNav”> <a href=”#”>Overview</a><br>


<a href=”#”>Navigation</a><br>


<a href=”#”>RSS Subscription</a><br>


<a href=”#”>Iframes</a><br>


<a href=”#”>CSS3 Navigation Styles</a><br>


<a href=”#”>Audience Identification</a><br>


<a href=”#”>Focus Group Testing</a><br>


<a href=”#”>Adding Mobile Options</a><br>




<section class=”content”>


<h2>Interface Design</h2>


Honorable Web Services has full interface design services. You may choose from the following list, selecting just the services you want.


<li>Simple text link interfaces</li>

<li>Drop-down menus </li>

<li>Button links</li>

<li>Datalist links</li>

<li>Iframe navigation</li>

<li>Navigation styling</li>


Select one of the links on the left to see more information. Also be sure to check out our services in graphic design, development, and architecture in the menu along the top of the page.</section>



When you run this program, you can see that although it provides a wide variety of user choices, it’s clear. The global navigation along the top provides all the main choices. Then on each page within a global collection, users are able to select choices specific to the selected topic. Figure 3 shows what you can expect to see when you test the program in an HTML5 browser on a computer screen.


Figure 3: Providing horizontal and vertical navigation choices.

When you look at the same page on a mobile device, the space taken up on the left where the vertical menu has been placed pushes the content downward. Users have to scroll more. Also notice that the horizontal menu along the top is pushed in so that it now takes up two roles. Figure 8-8 shows the results on a mobile browser.

For mobile devices, two-tier horizontal navigation bars — that do not push content below the viewing area — may better serve you. As you can see in comparing Figures 3 and 4, the horizontal navigation bar breaks into two tiers in the mobile device without taking up much room. However, the vertical navigation bar pushes into the content area and forces more content (including the navigation bar itself) below the viewing area.


Figure 4: Vertical and horizontal menus on a mobile device.

Using graphic icons in navigation

In addition to using text to link to other pages, you also can use graphic files — JPEG, PNG, or GIF. Using graphic images for linking can help users quickly find what they’re looking for. For example, a right or left arrow quickly can be identified as linking to the next or last page. Such images transcend language differences and help a wider audience base. Likewise, younger children are more likely to understand certain symbols than they are certain words.

The format for using images for identifying links is the same as it is for text. However, instead of placing text in an <a> container, you use an image reference. The following code snippet shows the basic format:

<a href=”page2.html”><img src=”arrowRight.jpg”></a>

Users see an arrow icon and click it instead of a text message. Often, designers will use both text and an image to send users to another page, as shown in the next snippet:

<a href=”page2.html”><img src=”arrowRight.jpg”>Next Page</a>

Also, some designers create icons with text embedded in the symbol, as shown in Figure 5.


Figure 5: Link image with text.

One advantage designers find in using graphic text is that they can use any font they want without fear that the user won’t have that particular font in his system. It also helps to keep users from getting lost because graphic symbols with text are easy for the user to spot and understand.

  •  Smashing Html5 : Navigation Strategies - Using JavaScript to Call a Linked Page
  •  Smashing Html5 : Web Navigation Concepts (part 2) - Using lists in global navigation
  •  Smashing Html5 : Web Navigation Concepts (part 1) - Designer navigation and user navigation, Global navigation
  •  Sharepoint 2013 : The Managed Metadata Service (part 4) - Term Sets
  •  Sharepoint 2013 : The Managed Metadata Service (part 3) - Term Store, Groups
  •  Sharepoint 2013 : The Managed Metadata Service (part 2) - Associating with a Web Application
  •  Sharepoint 2013 : The Managed Metadata Service (part 1) - Taxonomy and Folksonomy, Initial Setup
  •  Sharepoint 2013 : Publishing and Web Content Management - Content Deployment - Configuring the Destination Farm, Configuring the Source Farm
  •  Smashing Html5 : Organizing a Page - Organizing Files - Relative reference
  •  Smashing Html5 : Organizing a Page - Getting Your Stuff Organized (part 2) - Grouping without fracturing, Figures and captions
    Top 10
    Free Mobile And Desktop Apps For Accessing Restricted Websites
    MASERATI QUATTROPORTE; DIESEL : Lure of Italian limos
    TOYOTA CAMRY 2; 2.5 : Camry now more comely
    KIA SORENTO 2.2CRDi : Fuel-sipping slugger
    How To Setup, Password Protect & Encrypt Wireless Internet Connection
    Emulate And Run iPad Apps On Windows, Mac OS X & Linux With iPadian
    Backup & Restore Game Progress From Any Game With SaveGameProgress
    Generate A Facebook Timeline Cover Using A Free App
    New App for Women ‘Remix’ Offers Fashion Advice & Style Tips
    SG50 Ferrari F12berlinetta : Prancing Horse for Lion City's 50th
    - Messages forwarded by Outlook rule go nowhere
    - Create and Deploy Windows 7 Image
    - How do I check to see if my exchange 2003 is an open relay? (not using a open relay tester tool online, but on the console)
    - Creating and using an unencrypted cookie in ASP.NET
    - Directories
    - Poor Performance on Sharepoint 2010 Server
    - SBS 2008 ~ The e-mail alias already exists...
    - Public to Private IP - DNS Changes
    - Send Email from Winform application
    - How to create a .mdb file from ms sql server database.......
    programming4us programming4us