官术网_书友最值得收藏!

An HTML prototype

We've just reached the point where we can start templating our application. Using HTML and CSS, we will achieve the intended look and feel. Later, we will bind JavaScript modules to the acting elements.

We start by replacing the content of index.html with the following code:

./index.html

<!DOCTYPE html> 
<html>
<head>
<title>File Explorer</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="./assets/css/app.css" rel="stylesheet" type="text/css">
</head>
<body class="l-app">
<header class="l-app__titlebar titlebar">
</header>
<div class="l-app__main l-main">
<aside class="l-main__dir-list dir-list">
</aside>
<main class="l-main__file-list file-list">
</main>
</div>
<footer class="l-app_footer footer">
</footer>
</body>
</html>

Here, we just defined the page layout with semantically meaningful HTML tags. As you can see, we refer to ./assets/css/app.css that we are about to create.

主站蜘蛛池模板: 汨罗市| 方正县| 新邵县| 平舆县| 大庆市| 宾川县| 遂川县| 库车县| 潍坊市| 临潭县| 潍坊市| 政和县| 汕尾市| 浠水县| 白朗县| 阳原县| 岢岚县| 宁安市| 肥乡县| 东乌| 康马县| 嘉禾县| 濮阳市| 扎赉特旗| 盐山县| 南木林县| 子长县| 内江市| 铜山县| 广宁县| 改则县| 永春县| 牟定县| 通州区| 邳州市| 新巴尔虎右旗| 佛山市| 秦皇岛市| 聊城市| 安丘市| 彭水|