'How do I change this to see a picture not text?

I made this a long time ago now I want that the text output is a picture what must I do. Thanks.

document.write("<p>");
    var day = new Date();
    var weekday = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"];
    var d = weekday[day.getDay()];
    var hr = day.getHours();
    if (hr == 1 && d == "Sunday") {
        document.write("Nachtlijn");
    } else if (hr == 2 && d == "Sunday") {
        document.write("Nachtlijn");
    } else if (hr == 3 && d == "Sunday") {


Sources

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

Source: Stack Overflow

Solution Source