Friday, July 23, 2021
In this post we are going to use Google Fonts in our HTML markup, using Google Fonts is really easy to do. All you have to do is go to https://fonts.google.com/ then select the fonts that you would like to use. Let's we want to use the Manjari, then All we have to do is click on the + sign next to the font.
After you click on the + sign a pop-up with the instruction to use the font appears. You can either link to the font or use the @import tag
Here is the link example
Basically you put the link code in the <head> tag and use the font like any other font-family.
And the same thing with the import tag. Except you do it in the <style> tag
Here is an example of the code to use the Manjari Google Fonts code in an HTML page.
Note: You can customize the font further by selecting the "Customize" tab on the Google Fonts website
Your embed code will change according to your customization
Previous: CSS: text-transform
After you click on the + sign a pop-up with the instruction to use the font appears. You can either link to the font or use the @import tag
Here is the link example
Basically you put the link code in the <head> tag and use the font like any other font-family.
And the same thing with the import tag. Except you do it in the <style> tag
Here is an example of the code to use the Manjari Google Fonts code in an HTML page.
<!DOCTYPE> <html> <head> <title> Google Fonts </title> <link href="https://fonts.googleapis.com/css?family=Manjari&display=swap" rel="stylesheet"> <style> h1 {font-family: 'Manjari', sans-serif;} </style> </head> <body> <br/> <h1>This is an example of<br/> Manjari Google Fonts</h1> </body> </html>
Note: You can customize the font further by selecting the "Customize" tab on the Google Fonts website
Your embed code will change according to your customization
Previous: CSS: text-transform
Subscribe to:
Post Comments (Atom)
Search This Blog
Tags
Web Development
Linux
Javascript
DATA
CentOS
ASPNET
SQL Server
Cloud Computing
ASP.NET Core
ASP.NET MVC
SQL
Virtualization
AWS
Database
ADO.NET
AngularJS
C#
CSS
EC2
Iaas
System Administrator
Azure
Computer Programming
JQuery
Coding
ASP.NET MVC 5
Entity Framework Core
Web Design
Infrastructure
Networking
Visual Studio
Errors
T-SQL
Ubuntu
Stored Procedures
ACME Bank
Bootstrap
Computer Networking
Entity Framework
Load Balancer
MongoDB
NoSQL
Node.js
Oracle
VirtualBox
Container
Docker
Fedora
Java
Source Control
git
ExpressJS
MySQL
NuGet
Blogger
Blogging
Bower.js
Data Science
JSON
JavaEE
Web Api
DBMS
DevOps
HTML5
MVC
SPA
Storage
github
AJAX
Big Data
Design Pattern
Eclipse IDE
Elastic IP
GIMP
Graphics Design
Heroku
Linux Mint
Postman
R
SSL
Security
Visual Studio Code
ASP.NET MVC 4
CLI
Linux Commands
Powershell
Python
Server
Software Development
Subnets
Telerik
VPC
Windows Server 2016
angular-seed
font-awesome
log4net
servlets
tomcat
AWS CloudWatch
Active Directory
Angular
Blockchain
Collections
Compatibility
Cryptocurrency
DIgital Life
DNS
Downloads
Google Blogger
Google Chrome
Google Fonts
Hadoop
IAM
KnockoutJS
LINQ
Linux Performance
Logging
Mobile-First
Open Source
Prototype
R Programming
Responsive
Route 53
S3
SELinux
Software
Unix
View
Web Forms
WildFly
XML
cshtml
githu
Thanks for posting this info. I just want to let you know that I just check out your site and I find it very interesting and informative. I can't wait to read lots of your posts.
ReplyDeleteconcerts in lahore
I was more than happy to uncover this great site. I need to thank you for your time due to this fantastic read!!
ReplyDeleteI definitely enjoyed every bit of it and I have you bookmarked to see new information on your blog.
Classified WordPress Theme