Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Creating Blog:
Fonts and Media,
Additional Functions
CONTENTS
Web Font Embedding Service . . . . . . . . . . . . . . . . . . . . . . . 3
Applying Fonts for Various Page Elements. . . . . . . . . . . 5
Contact Page. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Creating a Contact Page . . . . . . . . . . . . . . . . . . . . . . . . . 13
Adding a Map to the Website. . . . . . . . . . . . . . . . . . . . . 15
Creating a Feedback Form. . . . . . . . . . . . . . . . . . . . . . . 17
Creating an Order Form. . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Adding Video to the Site. . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Optimizing Pages for Social Networks. . . . . . . . . . . . . . . 34
Figure 1
3
Lesson # 9
Figure 2
Figure 3
4
Creating Blog: Fonts and Media, Additional Functions
Figure 4
Figure 5
5
Lesson # 9
Figure 6
Figure 7
6
Creating Blog: Fonts and Media, Additional Functions
Figure 8
7
Lesson # 9
You can set multiple typefaces for each of the fonts. For
Barlow Semi Condensed set the value 300, 400, 600, and for
Roboto 300, 400, 700 (Figure 9).
Figure 9
8
Creating Blog: Fonts and Media, Additional Functions
Figure 10
Paste the copied code in the CSS block as the first line:
@import url('https://fonts.googleapis.com/css?
family=Barlow+Semi+Condensed:300,400,600|
Roboto:300,400,700');
9
Lesson # 9
10
Creating Blog: Fonts and Media, Additional Functions
Figure 11
11
Lesson # 9
Contact Page
Many websites have a contact page. These pages usually
have a feedback form, information about the company,
contacts, and a map if needed.
The contact page helps to get feedbacks: users can
leave an application, opinion, complaints, proposals for
collaboration, etc. (Figure 12 and 13).
Figure 12
12
Creating Blog: Fonts and Media, Additional Functions
Figure 13
13
Lesson # 9
<div class="container">
<div class="row">
</div>
<!-- /row -->
</div>
<!-- /container -->
</main>
14
Creating Blog: Fonts and Media, Additional Functions
Figure 14
15
Lesson # 9
For this, open the item Embed a map, select the map
size, say, Medium, and copy the code by clicking Copy
HTML (Figure 15).
Figure 15
16
Creating Blog: Fonts and Media, Additional Functions
Note how the width and height of the map were changed
<iframe… height="600" style="width: 100%; border:0" …>
</iframe>. The map is displayed in full width now: width:
100%. Our map is responsive now (Figure 16).
Figure 16
17
Lesson # 9
Figure 17
18
Creating Blog: Fonts and Media, Additional Functions
<div class="mb-1">
<h4>
<i class="far fa-envelope"></i>
Don't hesitate to contact me
</h4>
</div>
<h5>
Ready for offers and cooperation
</h5>
<p class="text-muted">
Phone: +1 (0) 000 0000 000 <br>
Email: <a href="#">contact@mail.com</a>
</p>
Figure 18
19
Lesson # 9
Figure 19
20
Creating Blog: Fonts and Media, Additional Functions
Figure 20
Repeat the above steps and add the input form for the
email address. The attribute type="email" checks the value
that the user enters in this field (Figure 21).
Figure 21
Figure 22
22
Creating Blog: Fonts and Media, Additional Functions
Figure 23
23
Lesson # 9
Place this form inside the block and give it a shadow and
rounding:
<div class="row">
<div class="col-md-5 m-4">
<form class="p-3 shadow bg-white rounded">
<h3>Buy Comic Books</h3>
<div class="row">
...
...
<div>
</form>
</div>
</div>
Figure 24
24
Creating Blog: Fonts and Media, Additional Functions
Figure 25
25
Lesson # 9
Figure 26
26
Creating Blog: Fonts and Media, Additional Functions
27
Lesson # 9
Figure 27
28
Creating Blog: Fonts and Media, Additional Functions
Figure 28
29
Lesson # 9
Figure 29
30
Creating Blog: Fonts and Media, Additional Functions
Figure 30
Figure 31
31
Lesson # 9
32
Creating Blog: Fonts and Media, Additional Functions
Figure 32
33
Lesson # 9
Figure 33
34
Creating Blog: Fonts and Media, Additional Functions
Figure 34
Figure 35
35
Lesson # 9
2. Add multimedia.
Multimedia is an important component. Multimedia
elements make your website visually appealing and add
emphasis (Figure 36).
Figure 36
36
Creating Blog: Fonts and Media, Additional Functions
Figure 37
4. Optimize images.
When you add images to a page, do not ignore the
alt="" attribute because its content helps search engines to
analyze the image content:
<img src="images/logo-LEGO-white.png" alt="Lego
logo" id="center">
37
Lesson # 9
Figure 38
38
Creating Blog: Fonts and Media, Additional Functions
Figure 39
Figure 40
39
Lesson # 9
Creating Blog: Fonts and Media,
Additional Functions
© STEP IT Academy
www.itstep.org
All rights to protected pictures, audio, and video belong to their authors or legal owners.
Fragments of works are used exclusively in illustration purposes to the extent justified by
the purpose as part of an educational process and for educational purposes in accordance
with Article 1273 Sec. 4 of the Civil Code of the Russian Federation and Articles 21 and 23
of the Law of Ukraine “On Copyright and Related Rights”. The extent and method of cited
works are in conformity with the standards, do not conflict with a normal exploitation of
the work, and do not prejudice the legitimate interests of the authors and rightholders.
Cited fragments of works can be replaced with alternative, non-protected analogs, and
as such correspond the criteria of fair use.
All rights reserved. Any reproduction, in whole or in part, is prohibited. Agreement of the
use of works and their fragments is carried out with the authors and other right owners.
Materials from this document can be used only with resource link.
Liability for unauthorized copying and commercial use of materials is defined according
to the current legislation of Ukraine.