User:M/Html training

From XPUB & Lens-Based wiki

<source lang="html4strict"> It is just a sample

<script>

var count=0

function change () {

   var x= document.getElementsByTagName ("img")
   count=count+1
   if (count==21) {
       count=0
      }
      x[0].src = count+ ".jpg"

}



</script>