Paste the code below into your editor
<blockquote id="sampleBlock">
First Name <input type="text" size="15" maxlength="15" />
Last Name <input type="text" size="15" maxlength="15" />
Address1 <input type="text" size="15" maxlength="15" />
Address2 <input type="text" size="15" maxlength="15" />
Email <input type="text" size="15" maxlength="15" />
</blockquote>
<script language="JavaScript" type="text/javascript">
function domElement(objID){return document.getElementById(objID) ;}
function domCollection(domObj,tagName){return domObj.getElementsByTagName(tagName) }
inpFlds=domCollection(domElement("sampleBlock"),"input");
for (i=0 ; i < inpFlds.length; i++)
{
inpFlds[i].onfocus=function(){this.style.background="lightyellow"}
inpFlds[i].onblur=function(){this.style.background="white"}
inpFlds[i].style.display="block"
}
</script>