2020-08-14 html的三栏布局 + css的优化打印样式 + JS的多页面信息传递 + 软技能的URL与URI

2020-08-14 题目来源:http://www.h-camel.com/index.html

[html] 写一个三栏布局,两边固定,中间自适应

<!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] 如何优化打印样式?

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

[js] 在多个页面之间需要传递参数,你是如何传递这些参数的?

1.cookie

2.window.localStorage

3.form表单

使用及优缺点对比: https://blog.csdn.net/Mark_Leen/article/details/89138091

[软技能] URL和URI有什么区别?

都是资源位置定位的,url属于uri,通过字符串来标识资源。区别:

1.定义不同

URL是个表示资源位置的字符串,一般情况下,而URI是统一资源标识符,用来标识唯一的资源。

2.格式不同

URL的格式都是协议地址://ip/文件夹,而URI的格式是protocol :// hostname[:port] / path / [;parameters][?query]#fragment。

总结自 https://www.php.cn/windows-413757.html

猜你喜欢

转载自blog.csdn.net/vampire10086/article/details/108461627
今日推荐