-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlesson1_div.html
37 lines (37 loc) · 1.69 KB
/
lesson1_div.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Таблица</title>
</head>
<body>
<div style="margin-left: 300px; margin-right: 300px; margin-top: 50px;">
<div style="background-color: aliceblue; text-align: center;">
<h1>Заголовок
<a href="http://www.mastergradeit.co.za/files/thumb/152/200" target="_blank"><img src="http://www.mastergradeit.co.za/files/thumb/152/200"/></a>
</h1>
</div>
<div style="display: flex;">
<div style="display: inline-block; width: 20%; float: left; padding-left: 10px; padding-top: 10px; background-color: aquamarine;">
<a href="https://www.google.com">Google</a><br/>
<a href="https://www.google.com">Google</a><br/>
<a href="https://www.google.com">Google</a>
</div>
<div style="height: 300px; display: inline-block; width: 80%; float: right; background-color: powderblue; text-align: center;">
<h3>Галерея изображений</h3>
<img src="http://www.mastergradeit.co.za/files/thumb/152/200"/>
<img src="http://www.mastergradeit.co.za/files/thumb/152/200"/>
<img src="http://www.mastergradeit.co.za/files/thumb/152/200"/>
<img src="http://www.mastergradeit.co.za/files/thumb/152/200"/>
</div>
</div>
<div style="background-color: aquamarine;">
<div style=" width: 30%; margin: 0 auto; /* Центрируем блок */
text-align: center; /* Центрируем в нем контент */
background-color: aliceblue;">
<p align="center">Какой-нибудь текст</p>
</div>
</div>
</div>
</body>
</html>