Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the commonly used properties of frameset

2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article mainly introduces the commonly used attributes of frameset, which has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, let the editor take you to understand it.

A frame is a web page screen that is divided into several frame windows to get multiple src addresses at the same time. FRAMESET is used to divide frame windows, each window frame is marked by a FRAME tag, and FRAME must be used in the FRAMESET range. This article collates some common frameset properties, which can be referenced by interested friends.

The frame is that the web page screen is divided into several frame windows (different windows corresponding to different pages are displayed in the form of several web pages), and multiple src addresses are obtained at the same time. All the frame tags on the page need to be placed in a total html file, this file only records how the frame is divided and will not display any data, so there is no need to put in the markup. To browse the frame, you must read the file that is not another frame window.

Is used to divide frame windows. Each window frame is marked by a mark and must be used in the range.

Name= "..." Define the name of the frame

Scr= "..." Define the source of what is displayed in the frame

Frameborder= "..." Define the boundary between frames (0 or 1)

Margwidth= "..." Sets the boundary of a frame and the spacing between its contents

Margheight= "..." Sets the spacing between the boundary of a frame and its contents

Noresize= "..." Make the size of the frame unchangeable

Scrolling= "..." Sets the representation of the scroll bar (auto, yes, no)

Rows= "..." Set the number of rows

Cols= "..." Set the number of columns

Onload= "..." Internal event triggers when a document is loaded

Onunload= "..." Internal event triggers when the document is unloaded

SRC= "a.html"

Set the name of the web page file to be displayed in this frame window. Each frame window must correspond to a web page file.

NAME= "top"

Set the name of the frame window so that you can specify a frame for linking, which must be arbitrarily named.

Frameborder=0

Sets the border of the frame with values of 0 and 1. 0 means no border, and 1 indicates that you want it.

Framespacing= "6"

Represents the distance between the frame and the reserved white space between the frame.

Bordercolor= "# 008000"

Sets the border color of the frame.

Scrolling= "Auto"

Set whether to display scrolls, YES means to display scrolls, NO means not to display scrolls anyway, AUTO depends on the situation.

Noresize

The setting does not allow the user to change the size of the box. If this parameter is not set, the user can pull the frame to change its size at will.

Marginhight=5

Represents the space reserved by the edges of the height portion of the frame.

Marginwidth=5

Represents the space reserved by the edges of the width portion of the frame.

Noresize= "no" does not allow dragging

Thank you for reading this article carefully. I hope the article "what are the common attributes of frameset" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report