vendredi 20 juillet 2018

Render multiple HTML elements inline using CSS

On a demo webpage I'm trying to whip up, I have the following elements in a div:

 <div class="output">
      <code class="input-output">hello:</code>
      <samp clsss="proc-output">world</samp>
    </div>


How do I make both elements render on the same line like so:

hello: world




Aucun commentaire:

Enregistrer un commentaire