How to format HTML line-height?

Hi everyone!
I’m having trouble trying to format the line height of some HTML text I need to show after users submit their info. I looked for it everywhere but I haven’t been able to find any specific examples to reuse/take as reference. My code is the following (formatting for bold, font style, etc, works fine, everything but the line-height):

$w( ‘#textProgram’ ).html = ‘’ +

• Classes type: ” + $w( “#programSubtitle” ).text + “
” +
• Program: ” + $w( “#programTitle” ).text + “
” +

• Start date: ” + $w( “#startingDateGroups” ).value.toDateString() + “
” +
• Duration: ” + $w( “#howLongGroups” ).value + “
” + “

” ;

THANK YOU!!!

'<span style="line-height:1.8px;">'

and by the way, I think it’ll be more readable if you use template literals for the full string and put the variable in ${}.

Thank you for your help , JD! I’ll check it out!