ciao,
puoi fare così:
echo "<span class=\"error\">Registrazione Fallita a causa di un errore interno.</span>";


Ciao