Home  >  Article  >  Web Front-end  >  How to use HTML framework

How to use HTML framework

韦小宝
韦小宝Original
2017-11-30 09:28:392049browse

The advantage of using htmlframework is that you don’t have to write the troublesome responsiveness yourself. The use of html tags is also more rigorous than that used by novice programmers. Wait, we will use the html framework, which will also reduce the amount of our html code writing!

Previous Page

Next Page

By using frames, you can More than one page is displayed in .

Frames

By using frames, you can display more than one page in the same browser window. Each HTML document is called a frame, and each frame is independent of other frames.

Disadvantages of using frames:

Developers must keep track of more HTML documents at the same time

It is difficult to print the entire page

Frame structure tag (< ;frameset>)

The frame structure tag (f900b4fc197b16ab214eecf015bb6bd2) defines how the window is divided into frames

Each frameset defines a series of rows or columns

rows/ The value of columns specifies the area of ​​the screen occupied by each row or column

Editor's Note: The frameset tag is also translated as a frameset by some articles and books.

Frame tag (Frame)

The Frame tag defines the HTML document placed in each frame.

In the example below, we set up a two-column frameset. The first column is set to take up 25% of the browser window. The second column is set to take up 75% of the browser window. The HTML document "frame_a.htm" is placed in the first column, and the HTML document "frame_b.htm" is placed in the second column:

<frameset cols="25%,75%">
   <frame src="frame_a.htm">
   <frame src="frame_b.htm">
</frameset>

BasicNotes - Helpful Tip:

If a frame has visible borders, the user can drag the borders to change its size. To prevent this from happening, add: noresize="noresize" to the 04a0d55efbbfd646a993fbc01f262c57 tag.

Add the 37f861bd36cef5b6406eba87d20a5bab tag for browsers that don't support frames.

Important note: You cannot use the 6c04bd5ca3fcae76e30b72ad730ca86d36cc49f0c466276486e50c850b7e4956 tag and the f900b4fc197b16ab214eecf015bb6bd2eb5f059992a0ae0ef16884cb75644e40 tag at the same time! However, if you add a 37f861bd36cef5b6406eba87d20a5bab tag that contains text, the text must be nested within a 6c04bd5ca3fcae76e30b72ad730ca86d36cc49f0c466276486e50c850b7e4956 tag. (In the first example below, you can see how it is implemented.)

The above is all about how to use the HTML framework. I hope it will be helpful to the students!

Related recommendations:

Summary of the role of HTML frame tags

Example application of HTML frame tag

Introduction What are the uses of HTML frames (Frames)?

The above is the detailed content of How to use HTML framework. For more information, please follow other related articles on the PHP Chinese website!

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