How do I put multiple links on the same line? (HTML5)
问题 I'm trying to put multiple links on the same line so I can have a whole bar of links, I've tried this: <a href="website_homepage.htm"><h2 style="font-family:tempus sans itc;">Home</h2></a> <a href="website_hills.htm"><h2 style="font-family:tempus sans itc;">Hills Pupil Tailored Website</h2></a> but when I test to see if it works, these two links are on seperate lines, does anyone know how I can get them on the same line? 回答1: Simply add: h2{ display: inline; } To your CSS and the problem will