Install IE Developer tool
The Internet Explorer Developer Toolbar provides several features for exploring and understanding Web pages. These features enable you to:
Locate and select specific elements on a Web page through a variety of techniques View HTML object class names, ID’s, and details such as link paths.
How to Install:
Go to below link
The Microsoft Internet Explorer Developer Toolbar provides a variety of tools for quickly creating, understanding, and troubleshooting Web pages.
You will get pop up window And select run option
After installing the Developer Toolbar, restart Internet Explorer and click the Developer Toolbar icon in the command bar to display or hide the Developer Toolbar.
You can also open the View menu and then use the Explorer Bar menu. In Internet Explorer 7, open the Tools menu and then use Toolbars->Explorer Bars to display or hide the Developer Toolbar.
Snapshot of IE Developer tool:
In this picture u can see the HTML code of search text box.
Use the white arrow (mouse pointer) to select an object/element you can see the code. Short cut for opening Developer tool is F12.
Free Demo for Corporate & Online Trainings.