Home > Article > Backend Development > PHP(6) only records my learning process html (link and frame mark)
1.main.html
<html> <meta charset="utf-8"> <head> <title>框架链接标志</title> </head> <!--这里来建立浏览器框架--> <frameset cols="25%,*"> <frame src="menu.html" scrolling="no" name="Left"> <frame src="page1.html" scrolling="auto" name = "Main"> <noframes> <body> <p>对不起浏览器不支持框架</p> </body> </noframes> </frameset> </html>
<html> <meta charset="utf-8"> <head> <title>目录</title> </head> <body> <p><font color="yellow">目录</font> <p><a href="page1.html" target="Main">链接到第一页</a></p> <p><a href="page2.html" target="Main">链接到第二页</a></p> </body> </html>
3.page1.html
<html> <meta charset="utf-8"> <body> <p align="center"><font color="yellow">这是第一页1111111!</p> </body> </html>
<html> <meta charset="utf-8"> <body> <p align="center"><font color="black">这是第二页111111111!</p> </body> </html>
Opened 2 different html in the same page frame
The tags used for learning are the following tags
Link mark
1..... To achieve the specific writing method of picture jump, I am This is Baidu's link, The name attribute is used to mark a label name, which is indispensable.
Frame flag
1.
is used to define the definition of each frame in the main document in HTML. It has two attributes, one rows for row positioning and one cols for row positioning. The column positioning value can be a percentage or an asterisk. The system default is from left to right and top to bottom2. The mark is used between