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

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.

主站蜘蛛池模板: 绥江县| 商河县| 团风县| 诸暨市| 韶山市| 绿春县| 海原县| 承德县| 临湘市| 兰州市| 隆尧县| 赞皇县| 宣化县| 灵武市| 楚雄市| 黄大仙区| 靖江市| 峡江县| 崇阳县| 怀远县| 鄂尔多斯市| 七台河市| 唐山市| 凤翔县| 桂林市| 金山区| 永靖县| 菏泽市| 通道| 丰台区| 景泰县| 新蔡县| 本溪市| 武鸣县| 泽州县| 绵竹市| 昌图县| 淮滨县| 灵台县| 郯城县| 宁城县|