current position:Home>How to use HTML to display segmentation

How to use HTML to display segmentation

2022-04-29 17:25:23Billion cloud speed

How to use HTML Display segmentation

This article introduces in detail “ How to use HTML Display segmentation ”, Detailed content , The steps are clear , The details are handled properly , Hope this article “ How to use HTML Display segmentation ” The article can help you solve your doubts , Let's follow Xiaobian's ideas and go deeper slowly , Let's learn new knowledge together .

stay html in , have access to frameset The label shows the split , Just add to the page “<frameset><frame/></frameset>” that will do .frameset Element defines a frameset , It's used to organize multiple windows , Each framework has a separate document .

frameset Element defines a frameset . It's used to organize multiple windows ( frame ). Each framework has a separate document . In its simplest application ,frameset The element simply specifies how many columns or rows exist in the frameset . You must use cols or rows attribute .

Property value :

 How to use HTML Display segmentation

Page segmentation and layout , Final effect diagram :( hand-painted , Relatively simple .)

 How to use HTML Display segmentation

There are four html page , Make a parent page home.html, The other three are top.html, left.html, right.html Then put the last three html The pages are put together , Put on the parent page home.html Display inside .

Here's the code :

home.html Code

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html>  <head>    <title> Page segmentation </title>  </head>  <frameset rows="15%,*">    <!-- Divide the page into upper and lower parts , The upper part accounts for 15%, Lower part * Occupy the rest of -->    <frame src="top.html" name="top"></frame><!-- The page to be displayed in the top half -->    <frameset cols="15%,*"><!-- Divide the page into left and right parts , Left part occupied 15%, Right section * Occupy the rest of -->      <frame src="left.html" name="left"></frame><!-- Make half of the page to be displayed -->      <frame src="right.html" name="right"></frame><!-- The page to be displayed in the right half -->    </frameset>  </frameset></html>

Be careful : It was used frameset Elements , You don't have to body Element .

Other page codes are written according to their own needs html Code

Read here , This article “ How to use HTML Display segmentation ” The article has been introduced , If you want to master the knowledge points of this article, you need to practice and use it yourself to understand , If you want to know more about this article , Welcome to the Yisu cloud industry information channel .

copyright notice
author[Billion cloud speed],Please bring the original link to reprint, thank you.
https://en.qdmana.com/2022/119/202204291539468103.html

Random recommended