I am trying to develop Help Bar in HTML for which i am using following code.Is
there any way so that i can make it small in terms of number of lines.
<table>
<tr>
<td width="400" height="50" >
<input type="button" value="HOME" onClick="window.location.href='http://www.google.com'" >
<input type="button" value="ABOUT US" onClick="window.location.href='http://www.google.com'">
<input type="button" value="CONTACT US" onClick="window.location.href='http://www.google.com'">
</td>
characters and use CSS to add margins<a>tags instead of buttons, and style them with CSStext-transform:uppercase)hrefinstead of a javascriptonclickevent.Resulting HTML should look something like this:
With CSS you will be able to get the same look you had with the table and buttons, but much more, and you will be using best practices, have greater accessibility, as well as easy maintenance, editing, control over your page’s appearance, and simpler, sensible markup
Remember:
Some good reference reading for the future: