'InnerHTML using multiple links

I'm trying to adapt the following code to include two images (from two different URL's). Can that be done? I am embedding this code within a SharePoint web part. It works as given below, but I'm having trouble adapting it to include two images with two different URL's in the same pop-up dialog box. Any help is appreciated!

<script type="text/javascript">
function openDialogWithImage2(){
    var options = SP.UI.$create_DialogOptions();
    var myhtml = document.createElement('div');
    myhtml.innerHTML="URL'/>";
    options.title= "Show Image",
    options.html = myhtml,  
options.url="https://URL",
    SP.UI.ModalDialog.showModalDialog(options);
}
</script>
<a href="#" style="font-size: 20px"; onclick="openDialogWithImage2()">YTD Count</a> <br/>


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source