-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path38. HTML Sidebar.html
More file actions
42 lines (34 loc) · 2.28 KB
/
38. HTML Sidebar.html
File metadata and controls
42 lines (34 loc) · 2.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!-- Создайте шапку сайта. Она состоит из 2-х элементов:
Логотип
Секция навигации. Внутри неё маркированный список из двух элементов
Добавьте секцию <main>. Внутри создайте секцию с заголовком в теге <h2>. Внутри секции создайте два блока с описанием новых услуг. Не забудьте, что внутри тега <article> обязательно содержится заголовок. Сами заголовки внутри <article> разметьте тегом <h3>.
Добавьте боковую панель. Она является уникальной для каждой страницы и содержит текст, относящийся только к этой странице. Внутри панели вставьте произвольный текст. Подумайте, где именно будет расположена эта область -->
<header>
<img src="/logo.png" alt="Code Basics">
<nav>
<ul>
<li><a href="/languages/html">HTML Course</a></li>
<li><a href="/languages/css">CSS Course</a></li>
</ul>
</nav>
</header>
<main>
<h1>Free hands-on programming courses for those starting from scratch</h1>
<p>From the creators of Hexlet</p>
<aside>
<p>Frontend courses teach you the fundamentals you need to build websites</p>
</aside>
<section>
<h2>Frontend Courses</h2>
<article>
<h3>HTML</h3>
<p>To normalize text rendering in a browser was developed HTML markup language that describes the rules for the layout of text data. Despite the long evolution of the language, its basic concepts haven't changed even after more than 20 years.</p>
<a href="/languages/html">Learn</a>
</article>
<article>
<h3>CSS</h3>
<p>Cascading Style Sheets (CSS) allow you to style page content according to specified rules. Text styles, page layout, and animations are all defined using CSS.</p>
<a href="/languages/css">Learn</a>
</article>
</section>
</main>