Lessons
-
Introduction
-
Search engine optimization
- Broken links
- Site map
- Micro-markup
- Robots.txt
- References
- Text
- Duplicates
- Basic
- Pictures
-
Speed
-
Minification
-
CSS minification
Minification of JavaScript files
Minification of inline CSS code
Minification of images without loss of quality
Minification of JavaScript files
Unused CSS code
Data optimization:Image URLs
Format of animated images
Unused JavaScript code
Using WebP
Image compression is missing
Video bitrate
-
Reducing requests
-
An overabundance of small pictures
Ungrouped CSS files
Ungrouped JavaScript files
An overabundance of fonts
Availability of end-to-end CSS, JS files
The presence of a monochrome font
Uploading duplicate files
Using JS facades
Redirecting JavaScript code
Adding lazy loading
Redirect from/to www version
-
Fonts
-
Specifying default fonts
Font Optimization
An overabundance of monochrome icons
- Loading time
- Server Settings
- Pictures
- The first content
-
Minification
- Mobility
- Bugs
-
Convenience
- Social networks
- Web Application Manifest
- Favicons
- Basic
- Text readability
-
Security
- Encrypted connection
- Exploits
- Vulnerabilities
Specifying default fonts
Most of the sites use custom fonts. But it takes at least 0.2 seconds from the moment the page is opened to the font files are loaded. All this time the user sees the standard text design.
Abrupt change of the default font to the plug-in font should be avoided. This shaking attracts the visitor’s attention and distracts him from the process of exploring the site.
Choose a platform-independent default font in the same family as the custom ones. Ready sets are here.
There are 2 ways to specify fonts:
- In the
<body>tag of the HTML code of the page, specify the fonts in thestyleattribute like this<body style="font-family: Tahoma, Verdana, sans-serif">. - Add CSS code for the
bodytag to the HTML code of the page like thisbody {ldelim}font-family: Tahoma, Verdana, sans-serif{rdelim}
Any comments or additions? Send us an email admin@site-alarm.com .
Check your website