Home >Web Front-end >HTML Tutorial >Why does it open a new window when it should be displayed in the active frame? _html/css_WEB-ITnose

Why does it open a new window when it should be displayed in the active frame? _html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:18:101406browse

I let the link display in the active frame:
1. Inserted the active frame and set the id.
2. The text link set the link address, target="id"
But when browsing When I click a text link in the browser, it opens a new window instead of displaying it in the active frame of this page. I don't know why? I am a newbie, please give me some advice.


Reply to the discussion (solution)

It should be the name attribute
http://www.w3school.com.cn/tags/att_a_target.asp

Changing the name won’t work, just open a new window

Send your code


asd


target="fram1">asd


Is your link in another iframe?





asd
The red code is placed in left.asp

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn