These samples are a collection of page navigations' bad practices which were really implemented in production as some point!
This example came up in a workshop from a back-end developer. The task was, building a menu with "Homepage", "Ongoing Projects", and "Completed Projects" menu items.
<table width="100%">
<tr>
<td>
</td>
<td>
</td>
</tr>
<tr>
<td>
</td>
<td align="right" >
<input type="button" value="Homepage"/>
<input type="button" value="Ongoing Projects"/>
<input type="button" value="Completed Projects"/>
</td>
</tr>
</table>
<nav class="menu main-menu">
<a href="/" class="menu-item">Homepage</a>
<a href="/ongoing-projects" class="menu-item">Ongoing Projects</a>
<a href="/completed-projects" class="menu-item">Completed Projects</a>
</nav>
With the nav
usage, the code become more reusable and can easily controllable across different browsers.