test code

     

<table align="center" border="0" cellpadding="0" cellspacing="0" >
   <tbody>
      <tr>
         <td style=" height: 50px; width: 150px; background-image: url(https://file2.hpage.com/014930/51/bilder/button-uhr_a_button_2.png); background-repeat: no-repeat; text-align: center;" valign="middle">
            <div id="zeit" style="color:#CE1C4C;font-size:22px;font-weight: bold;font-family:verdana;">
               <br />
               <br />
               &nbsp;
                   </div>
                <script language="javascript" type="text/javascript">

window.setInterval("datum()",1000);

function datum() {

    var zeit = new Date ();
    var stunde = (zeit.getHours() < 10 ? '0' + zeit.getHours() : zeit.getHours());
    var minute = (zeit.getMinutes() < 10 ? '0' + zeit.getMinutes() : zeit.getMinutes());
    var sekunde = (zeit.getSeconds() < 10 ? '0' + zeit.getSeconds() : zeit.getSeconds());
    document.getElementById("zeit").innerHTML = ' '
    + stunde + ':' + minute + ':' + sekunde;

}
datum();
</script><script language="javascript" type="text/javascript">

window.setInterval("datum()",1000);

function datum() {

    var zeit = new Date ();
    var stunde = (zeit.getHours() < 10 ? '0' + zeit.getHours() : zeit.getHours());
    var minute = (zeit.getMinutes() < 10 ? '0' + zeit.getMinutes() : zeit.getMinutes());
    var sekunde = (zeit.getSeconds() < 10 ? '0' + zeit.getSeconds() : zeit.getSeconds());
    document.getElementById("zeit").innerHTML = ' '
    + stunde + ':' + minute + ':' + sekunde;

}
datum();
</script>
            </td>
        </tr>
    </tbody>
</table>

--------------------------------------------


 

 

 

 

 

 

 

<pre id="line1"><span></span><span></span><span>&lt;<span

 


 class="start-tag">table</span> <span
 class="attribute-name">align</span>="<a
 class="attribute-value">center</a>" <span
 class="attribute-name">border</span>="<a
 class="attribute-value">0</a>" <span
 class="attribute-name">cellpadding</span>="<a
 class="attribute-value">0</a>" <span
 class="attribute-name">cellspacing</span>="<a
 class="attribute-value">0</a>"&gt;</span><span>
<span id="line227"></span>    </span><span>&lt;<span
 class="start-tag">tbody</span>&gt;</span><span>
<span id="line228"></span>        </span><span>&lt;<span
 class="start-tag">tr</span>&gt;</span><span>
<span id="line229"></span>            </span><span>&lt;<span
 class="start-tag">td</span> <span
 class="attribute-name">style</span>="<a
 class="attribute-value"> height: 50px; width: 150px; background-image: url(https://file2.hpage.com/014930/51/bilder/button-uhr_a_button_2.png); background-repeat: no-repeat; text-align: center;</a>" <span
 class="attribute-name">valign</span>="<a
 class="attribute-value">middle</a>"&gt;</span><span>
<span id="line230"></span>                </span><span>&lt;<span
 class="start-tag">div</span> <span
 class="attribute-name">id</span>="<a
 class="attribute-value">zeit</a>" <span
 class="attribute-name">style</span>="<a
 class="attribute-value">color:#CE1C4C;font-size:22px;font-weight: bold;font-family:verdana;</a>"&gt;</span><span>
<span id="line231"></span>                    </span><span>&lt;<span
 class="start-tag">br</span> <span>/</span>&gt;</span><span>
<span id="line232"></span>                    </span><span>&lt;<span
 class="start-tag">br</span> <span>/</span>&gt;</span><span>
<span id="line233"></span>                    <span
 class="entity"><span>&amp;</span>nbsp;</span>
<span id="line234"></span>                </span><span>&lt;/<span
 class="end-tag">div</span>&gt;</span><span>
<span id="line235"></span>                </span><span>&lt;<span
 class="start-tag">script</span> <span
 class="attribute-name">language</span>="<a
 class="attribute-value">javascript</a>" <span
 class="attribute-name">type</span>="<a
 class="attribute-value">text/javascript</a>"&gt;</span><span>
<span id="line236"></span><br><span
 id="line237"></span>window.setInterval("datum()",1000);<br><span
 id="line238"></span><br><span id="line239"></span>function datum() {<br><span
 id="line240"></span><br><span id="line241"></span>    var zeit = new Date ();<br><span
 id="line242"></span>    var stunde = (zeit.getHours() </span><span>&lt; </span><span>10 ? '0' + zeit.getHours() : zeit.getHours());<br><span
 id="line243"></span>    var minute = (zeit.getMinutes() </span><span>&lt; </span><span>10 ? '0' + zeit.getMinutes() : zeit.getMinutes());<br><span
 id="line244"></span>    var sekunde = (zeit.getSeconds() </span><span>&lt; </span><span>10 ? '0' + zeit.getSeconds() : zeit.getSeconds());<br><span
 id="line245"></span>    document.getElementById("zeit").innerHTML = ' '<br><span
 id="line246"></span>    + stunde + ':' + minute + ':' + sekunde;<br><span
 id="line247"></span><br><span id="line248"></span>}<br><span
 id="line249"></span>datum();<br><span
 id="line250"></span></span><span>&lt;/<span
 class="end-tag">script</span>&gt;</span><span></span><span>&lt;<span
 class="start-tag">script</span> <span
 class="attribute-name">language</span>="<a
 class="attribute-value">javascript</a>" <span
 class="attribute-name">type</span>="<a
 class="attribute-value">text/javascript</a>"&gt;</span><span>
<span id="line251"></span><br><span
 id="line252"></span>window.setInterval("datum()",1000);<br><span
 id="line253"></span><br><span id="line254"></span>function datum() {<br><span
 id="line255"></span><br><span id="line256"></span>    var zeit = new Date ();<br><span
 id="line257"></span>    var stunde = (zeit.getHours() </span><span>&lt; </span><span>10 ? '0' + zeit.getHours() : zeit.getHours());<br><span
 id="line258"></span>    var minute = (zeit.getMinutes() </span><span>&lt; </span><span>10 ? '0' + zeit.getMinutes() : zeit.getMinutes());<br><span
 id="line259"></span>    var sekunde = (zeit.getSeconds() </span><span>&lt; </span><span>10 ? '0' + zeit.getSeconds() : zeit.getSeconds());<br><span
 id="line260"></span>    document.getElementById("zeit").innerHTML = ' '<br><span
 id="line261"></span>    + stunde + ':' + minute + ':' + sekunde;<br><span
 id="line262"></span><br><span id="line263"></span>}<br><span
 id="line264"></span>datum();<br><span
 id="line265"></span></span><span>&lt;/<span
 class="end-tag">script</span>&gt;</span><span>
<span id="line266"></span>            </span><span>&lt;/<span
 class="end-tag">td</span>&gt;</span><span>
<span id="line267"></span>        </span><span>&lt;/<span
 class="end-tag">tr</span>&gt;</span><span>
<span id="line268"></span>    </span><span>&lt;/<span
 class="end-tag">tbody</span>&gt;</span><span>
<span id="line269"></span></span><span>&lt;/<span
 class="end-tag">table</span>&gt;</span><span></span></pre>

-------------------------------------------------------

<table align="center" border="0" cellpadding="0" cellspacing="0">
    <tbody>
        <tr>
            <td style=" height: 50px; width: 150px; background-image: url(https://file2.hpage.com/014930/51/bilder/button-uhr_a_button_2.png); background-repeat: no-repeat; text-align: center;"
 class="attribute-name">valign="middle">
                <div id="zeit" style="color:#CE1C4C;font-size:22px;font-weight: bold;font-family:verdana;">
                    <br />
                    <br />
                    &nbsp;
                </div>
                <script language="javascript" type="text/javascript">

window.setInterval("datum()",1000);

function datum() {

    var zeit = new Date ();
    var stunde = (zeit.getHours() < 10 ? '0' + zeit.getHours() : zeit.getHours());
    var minute = (zeit.getMinutes() < 10 ? '0' + zeit.getMinutes() : zeit.getMinutes());
    var sekunde = (zeit.getSeconds() < 10 ? '0' + zeit.getSeconds() : zeit.getSeconds());
    document.getElementById("zeit").innerHTML = ' '
    + stunde + ':' + minute + ':' + sekunde;

}
datum();
</script><script language="javascript" type="text/javascript">

window.setInterval("datum()",1000);

function datum() {

    var zeit = new Date ();
    var stunde = (zeit.getHours() < 10 ? '0' + zeit.getHours() : zeit.getHours());
    var minute = (zeit.getMinutes() < 10 ? '0' + zeit.getMinutes() : zeit.getMinutes());
    var sekunde = (zeit.getSeconds() < 10 ? '0' + zeit.getSeconds() : zeit.getSeconds());
    document.getElementById("zeit").innerHTML = ' '
    + stunde + ':' + minute + ':' + sekunde;

}
datum();
</script>
            </td>
        </tr>
    </tbody>
</table>
----------------------------------------------------------------


 

To the top