You have to use CSS...here's how to do it.

HTML Code:
 <h1 style='display:inline'>hi</h1><p style='display:inline'>cool</p>