Home > Backend Development > PHP Tutorial > PHP(6) only records my learning process html (link and frame mark)

PHP(6) only records my learning process html (link and frame mark)

WBOY
Release: 2016-08-08 09:31:25
Original
942 people have browsed it

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>
Copy after login

2.menu.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>
Copy after login

3.page1.html

<html>
	<meta charset="utf-8">
	<body>
		<p align="center"><font color="yellow">这是第一页1111111!</p>
	</body>
</html>
Copy after login

4.page2.html
<html>
	<meta charset="utf-8">
	<body>
		<p align="center"><font color="black">这是第二页111111111!</p>
	</body>
</html>
Copy after login

Open Mian.html with the following effect



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 bottom

2. The mark is used between ... to define a specific frame. It has 2 The attribute src that must be assigned a value refers to the jump path. Absolute path or relative path is acceptable. It is used to open a new html file. Name is the frame in which it will be displayed. It also has two other attributes for scrolling. To specify whether the scroll axis needs to be displayed, yes on and auto.auto are to display it when needed. If it is not needed, it will not be displayed. Another noresize can be added directly without assigning a value. The purpose is to prohibit the user from adjusting the size of a frame

3 is only used in browsers that do not support frames. Connect ... to express that the frame is not supported

The above introduces that PHP (6) only records my learning process html (links and frame marks), including aspects of the content. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template