Ankit Rustagi Ankit Rustagi - 8 months ago 50
CSS Question

Display two hyperlinks in one line

I am trying to display two hyperlinks using anchor tags. I have the following code to display hyperlinks

<a href="link1"><h4>link1</h4></a> &
<a href="link2"><h4>link2</h4></a>

but the links are displayed like


how can i display the links like this

link1 & link2


Remove the <h4> tag or set the css style: h4 {display:inline}