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

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.

主站蜘蛛池模板: 方山县| 长治县| 祁阳县| 边坝县| 灵台县| 中宁县| 丽江市| 临湘市| 叶城县| 小金县| 德江县| 峡江县| 山西省| 东乌| 盐边县| 漳浦县| 运城市| 萨嘎县| 兴山县| 准格尔旗| 成都市| 侯马市| 垫江县| 揭西县| 广宗县| 东明县| 安平县| 响水县| 茶陵县| 临潭县| 镶黄旗| 北宁市| 青岛市| 民权县| 监利县| 韩城市| 中西区| 铁岭县| 临桂县| 南部县| 若尔盖县|