2020-08-14 html three-column layout + css optimized print style + JS multi-page information transmission + soft skills URL and URI

2020-08-14 Source of topic: http://www.h-camel.com/index.html

[html] Write a three-column layout, fixed on both sides, adaptive in the middle

<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <script src="js/jquery-3.4.1.min.js"></script>
    <style>
        #left,
        #right {
            width: 200px;
            height: 300px;
            background-color: red;
        }

        #main {
            height: 300px;
            background-color: skyblue;
        }

        #left {float: left;}

        #right { float: right;}
    </style>
</head>

<body>
    <div id="container">
        <div id="left">left</div>
        <div id="right">right</div>
        <div id="main">main</div>
    </div>
</body>

</html>

[css] How to optimize the printing style?

https://blog.csdn.net/xujie_0311/article/details/42271273

[js] Parameters need to be passed between multiple pages. How do you pass these parameters?

1.cookie

2.window.localStorage

3.form form

Use and comparison of advantages and disadvantages: https://blog.csdn.net/Mark_Leen/article/details/89138091

[Soft skills] What is the difference between URL and URI?

All are resource location positioning, URL belongs to uri, and the resource is identified by a string. the difference:

1. Different definitions

URL is a string that indicates the location of a resource. In general, URI is a uniform resource identifier used to identify a unique resource.

2. Different formats

The format of the URL is protocol address: //ip/ folder, and the format of URI is protocol :// hostname[:port] / path / [;parameters][?query]#fragment.

Summary from https://www.php.cn/windows-413757.html

Guess you like

Origin blog.csdn.net/vampire10086/article/details/108461627