<!DOCTYPE html>type="text/css"img{position:absolute;top:100px;}function clipImage(){document.getElementById("img1").style.clip="rect(0px 75px 75px 0px)";}function clearClip(){document.getElementById("img1").style.clip="auto";}id="img1" src="w3javascript.gif" width="100" height="132"type="button" onclick=clipImage() value="Clip image"type="button" onclick=clearClip() value="Unclip image"