Preview Text html Code?

I imported html templates for email creation, and somehow the preview text snippet in the code is missing so it isn’t displaying the preview text I input.

Can someone tell me the correct html code to place in the template so the preview text displays correctly when sending?

I would think it is:

<div style="display:none;font-size:1px;color:#{color};line-height:1px;font-family:{font};max-height:0px;max-width:0px;opacity:0;overflow:hidden;mso-hide:all;">
{preheader text}

Where the {preheader text} is actually ~preview.text~

But that’s not working.

Thanks in advance!

<body>        
<div style="display:none;max-height:0px;overflow:hidden;">
       {preheader text}
        </div>
<div>Email Body</div>
</body>