XHTML:Frame structure tag_HTML/Xhtml_Web page production

WBOY
Release: 2016-05-16 16:45:51
Original
1145 people have browsed it

Frame structure tag
Frames allow you to open two or even multiple pages in one browser window. You can understand it this way, is actually a big , but the entire page is the main body of
, and the content of each cell is an independent web page.
Divide the frame structure into columns ("cols" and "rows" attributes)
Since we say that the frame structure can be understood as a table with cells as a web page, it must be divided into columns . The cols attribute divides the page into several columns, while the rows attribute divides the page into several rows. Let’s look at an example.







where "rows="25%,75%" represents the page It is divided into two lines because it has two attribute values, and their sizes are 25% and 75% of the page height. Click here to see the display effect of the above code .
The tag has been used in the above example, and its src attribute is the content to be displayed in this frame. The two frames in this example can be resized by dragging them apart. If you want them to be fixed in size, use the noresize="noresize" attribute.
Note: The tag is an empty tag and needs to be added with a "/" to comply with XHTML requirements.
About the tag
This tag will only work when the browser does not support the frame structure. Since almost all Internet users’ browsers now support the frame structure, we This label will not be introduced here. If you want to know more about it, you can check out the HTML manual on the Internet.
Frame structure and DTD
The DTD of a frame page is different from that of a general web page. The declaration method is as follows:
-//W3C//DTDXHTML1.0Frameset//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!