How to call a "div id" from a href tag

Generally we use <a href target=“_parent”> in case if frames are used.

Now I have a div say <div id=“content”>. Is it possible to link from the <a href> tag to refer the div id as we refer the target ?

If there is any method plz let me know and then that solves almost all of my work for a presentation project.

No, this is not possible. You will need a server-side solution or use ajax to dynamically populate the div with new information.

Ok.In case i used an iframe ?, then is it possible .if it is plz let me know the format. And is it possible to change the colour of an iframe. ?

You can use an iframe (with a Transitional doctype declaration) and use the target attribute.

To style the content of the iframe, you need to apply the styling to the document that is displayed in the iframe, not to the iframe itself.

I don’t get it though, why not just link to another HTML page?

I don’t get it though, why not just link to another HTML page?