76 lines
3.3 KiB
HTML
76 lines
3.3 KiB
HTML
|
<html lang="ru">
|
||
|
<head>
|
||
|
<meta charset="utf-8" />
|
||
|
<title>Моя страница</title>
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||
|
<script type="module" src="./node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
|
||
|
<link href="./node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" />
|
||
|
<link href="./node_modules/bootstrap-icons/font/bootstrap-icons.min.css" rel="stylesheet" />
|
||
|
<link rel="stylesheet" href="./css/style.css" />
|
||
|
</head>
|
||
|
|
||
|
<body class="h-100 d-flex flex-column">
|
||
|
<header>
|
||
|
<nav class="navbar navbar-expand-md bg-body-tertiary" data-bs-theme="dark">
|
||
|
<div class="container-fluid">
|
||
|
<a class="navbar-brand" href="/">
|
||
|
<i class="bi bi-app"></i>
|
||
|
Мой сайт
|
||
|
</a>
|
||
|
<button
|
||
|
class="navbar-toggler"
|
||
|
type="button"
|
||
|
data-bs-toggle="collapse"
|
||
|
data-bs-target="#navbarNav"
|
||
|
aria-controls="navbarNav"
|
||
|
aria-expanded="false"
|
||
|
aria-label="Toggle navigation"
|
||
|
>
|
||
|
<span class="navbar-toggler-icon"></span>
|
||
|
</button>
|
||
|
<div class="navbar-collapse collapse justify-content-end" id="navbarNav">
|
||
|
<div class="navbar-nav">
|
||
|
<a class="nav-link active" href="./index.html">Главная страница</a>
|
||
|
<a class="nav-link" href="./index.html">Вторая страница</a>
|
||
|
<a class="nav-link" href="./index.html">Третья страница</a>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</nav>
|
||
|
</header>
|
||
|
<main class="container-fluid p-3">
|
||
|
<h1>Пример web-страницы.</h1>
|
||
|
<h2>1. Структурные элементы</h2>
|
||
|
<p>
|
||
|
<b>Полужирное начертание <i>курсив</i></b>
|
||
|
</p>
|
||
|
<p>Абзац 2 <a href="index.html">Ссылка</a></p>
|
||
|
<h3>1.1. Списки</h3>
|
||
|
<p>Список маркированный:</p>
|
||
|
<ul>
|
||
|
<li><a href="index.html" target="_blank">Элемент списка 1</a></li>
|
||
|
<li>Элемент списка 2</li>
|
||
|
<li>...</li>
|
||
|
</ul>
|
||
|
<p>Список нумерованный:</p>
|
||
|
<ol>
|
||
|
<li>Элемент списка 1</li>
|
||
|
<li>Элемент списка 2</li>
|
||
|
<li>...</li>
|
||
|
</ol>
|
||
|
</main>
|
||
|
<footer
|
||
|
class="p-2 bg-body-tertiary mt-auto d-flex flex-shrink-0 justify-content-center align-items-center"
|
||
|
data-bs-theme="dark"
|
||
|
>
|
||
|
<span class="text-light">Автор, 2022</span>
|
||
|
</footer>
|
||
|
<script type="module">
|
||
|
document.addEventListener("DOMContentLoaded", () => {
|
||
|
console.log("test");
|
||
|
alert("test");
|
||
|
});
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|