HTML Tutorial

by Trainer Riad Thalji

Working with Fonts

Setting Font Type

Font Color and Weight

<!doctype html>
<html>
<body>
<h1>Font Examples </h1>
<p style="font-family: 'Gill Sans', 'Myriad Pro'; font-weight: bold; font-size: 20px; color: darkgoldenrod">
This paragraph is displayed in Gill Sans font, however if the browser does not support Gill Sans, the alternative is Myriad Pro, and the text will be bold with a size of 20px and a golden color. </p>
<div style="background-color: olive; color:white; font-weight: bold; font-size: 30px; font-family: Constantia, 'Georgia, 'serif'">
In this <div> I'm using an olive color for the background, a white color for the font itself, a bold weight, a 30px font size, and a Georgia font type, with the alternative serif. </div>
</body>
</html>

The results will be something like the following:

HTML Fonts Example
Join Our Coming PMP Prep Course

Delivered by Trainer

Riad Thalji



From the Video Library

How to Create Multi-Lingual Navbars in ASP.Net Core 2.1

How to Create Multi-Lingual Navbars in ASP.Net Core 2.1 | Advanced Programming Series | Riad Thalji

How to Create Multi-Lingual Navbars in ASP.Net Core 2.1

How to Quickly Import Data between Excel, Access and SQL Server

Project Management Office - PMO

Project Managemenet Office - PMO Crash Course

Project Management Office - PMO

How to Create Nested Layouts in ASP.Net Core 2.1 | Advanced Programming Series | Riad Thalji

Developed by Thalji.net, © Riad Thalji