How to open a new URL in an iframe when I click the Link Element?


Use the "Target" property. It specifies where to open the page. For instance, if the name of the iframe is "myIframe", set the property value to "myIframe" too.

<iframe src="..." name="myIframe"></iframe>



The Target property





Uploading ...