Multiple lines in a label

Is it possible to format in runtime text to show in a label on multiple lines - something like this? These didn’t work (I also tried “
” instead of “\n”).

Form1.onshow=function(){
   var mystring = "Hi" + "\n" + "Nate"
   // common label
   Label1.value = mystring
   // bootstrap4 label
   Label2.textContent = mystring
}

How about this?

Label1.innerHTML = "Line 1<br>Line 2"