Html a tag calls iframe

A second-level menu. You want to use the a tag to call iframe to achieve the effect that the second-level menu will not be closed after clicking. The code is as follows:

                    <li>
                        <a href="index.php?key=ceshi" target="zxyl">test</a>
                        <a href="">test1</a>

                    </li>
                    
                    <iframe src="test.php" name="zxyl"  style="width:1000px" frameborder="0" scrolling="no"></iframe></div>
                    

but after clicking, the index.php framework is also loaded in iframe? What"s going on? Ask how to write the correct code?

clipboard.png

May.18,2022

what you link to is the frame page, of course, it is out of the frame page, isn't it normal?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e5ca72-456bb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e5ca72-456bb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?