Pibd-21_Alekseev_I.S._Inter.../IP/second.html
VanyaAlekseev ccc3e790bb lab2
2023-12-03 16:59:28 +04:00

74 lines
2.9 KiB
HTML

<html lang="ru" class="h-100">
<head>
<meta charset="utf-8">
<title>Моя страница</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script 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/@fortawesome/fontawesome-free/css/all.min.css" rel="stylesheet" />
<link rel="stylesheet" href="style.css">
</head>
<body class="d-flex flex-column h-100">
<header>
<nav class="navbar navbar-expand-md navbar-dark">
<div class="container-fluid">
<a class="navbar-brand" href="/">
<i class="fa-solid fa-microchip"></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" href="index.html">Главная страница</a>
<a class="nav-link active" href="second.html">Вторая страница</a>
</div>
</div>
</div>
</nav>
</header>
<main class="flex-shrink-0">
<div class="p-2">
Вторая страница содержит пример рисунка (рис. 1) и таблицы (таб. 1).
<center>
<img src="logo.png" alt="logo" width="128">
<br>
Рис. 1. Пример рисунка.
</center>
<br>
<center>
<table border="1">
<caption>Таблица 1. Пример таблицы.</caption>
<thead>
<tr>
<th>Номер</th>
<th>ФИО</th>
<th>Телефон</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>Иванов</td>
<td>89999999999</td>
</tr>
<tr>
<td>2</td>
<td>Петров</td>
<td>89999999991</td>
</tr>
</tbody>
</table>
</center>
</div>
</main>
<footer class="footer mt-auto d-flex justify-content-center align-items-center">
Автор, 2022
</footer>
</body>
</html>