Hi, I want to replace tags in html pages. I want to replace the tags with some string before the page show. I am thinking of doing it in DocumentCompleteIe(LPDISPATCH pDisp, VARIANT* URL). Can someone tell me how to do this? I want to replace all the strings between <localize>I </localize>. Is there a way to retrieve list of strings to be replaced? Thanks. Here is a sample html page <jsp:directive.include file="/includes/taglib_stick.jsp" /> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="GENERATOR" content="Microsoft Visual Studio 8.0" /> <title></title> <style> body { margin: 0px; background: #FFF; } #topBarStick { position: relative; background-image: url("images/topBgsidebar.jpg"); width: 556px; height: 34px; font-family: arial; font-size: 12px; color: #000; font-weight: bold; padding-top: 8px; padding-left: 5px; } #bottomBarStick { position: absolute; background-image: url("images/bottomBgsidebar.jpg"); bottom: 0px; left: 0px; width: 556px; height: 15px; font-family: arial; font-size: 12px; color: #fff; font-weight: bold; padding-top: 2px; padding-left: 5px; } #contentArea { padding: 5px; font-family: arial; font-size: 12px; color: #000; } </style> <script language="JavaScript"> // block navaigation to the previous page by key BACKSPACE function blockBackNav() { // keycode for BACK function IS 8 if (window.event && window.event.keyCode == 8) { window.event.cancelBubble = true; window.event.returnValue = false; } } </script> </head> <body onKeyDown="blockBackNav()"> <div id="topBarStick"><localize>IDS_WELCOME_BAR</localize></div> <div id="contentArea"> <localize>IDS_WELCOM</localize> </div> <div id="bottomBarStick"><localize>IDS_BOTTOMBAR</localize></div> </body> </html>