<html> <head> <style> p { display: inline-block; } </style> </head> <body> <p> Here is some test text. Here is a <a href="http://example.com">test link</a>. </p> </body> </html>