"target" is used to redirect an action to another window, for example<a href="http://www.csdn.net" target="_blank">CSDN</a>if you click on CSDN, a  new window will open, without the target, csdn page will open in the same window

解决方案 »

  1.   

    作用:
    指定本操作的目标窗口,例如指定 <a href=...> 在哪个窗口中打开目标链接页面用法:
    <a href="xxx.htm" target=...>
    <form action="xxx.php" target=...>
    <base target=...>
    <area target=...>取值:
    _blank - 新窗口
    _self - 本窗口
    _parent - 父窗口
    _top - 顶级窗口
    _search - IE5 以上:搜索窗口
    WinName - 名字为 WinName 的指定窗口,此 WinName 为 window.open 打开窗口时设定:
    window.open("xxx.htm", "WinName", ...)