Question

I was not able to answer this question in an interview. I told them in IE we can't inspect the element. Please help me out regarding the answer.

No correct solution

OTHER TIPS

Internet Explorer also has developer tools available by pressing F12. Especially in IE 11 they made a big leap forward. There you click on the mouse cursor icon at the left (the (DOM Explorer"), then click the rectangle icon with the cursor inside the panel toolbar and choose the element inside the page by clicking on it.

enter image description here

In versions prior to IE 11 the dev tools look different. In there you need to switch to the HTML panel and then click the cursor icon to inspect the element. There's a quick introduction to them at the Microsoft website.

If you prefer the Firebug UI, there's also Firebug Lite, a fully JavaScript based web development tool, which works in all major browsers.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top