<a href='others/html01.html' target='iframe_01'>点击跳转</a>
<iframe src='' name='iframe_01'></iframe>
1.可以用target中指定iframe的name属性的值,来实现点击在iframe中显示页面
2.href='#'这种方式会触发事件,会跳转到本页面,此时iframe中会显示<a>标签所在页面
3.href='javascript:void(0);',这种方式不会进行跳转操作
<a href='others/html01.html' target='iframe_01'>点击跳转</a>
<iframe src='' name='iframe_01'></iframe>
1.可以用target中指定iframe的name属性的值,来实现点击在iframe中显示页面
2.href='#'这种方式会触发事件,会跳转到本页面,此时iframe中会显示<a>标签所在页面
3.href='javascript:void(0);',这种方式不会进行跳转操作