Posted in
195
5:30 am, July 20, 2022
Quick Embed Import and Code Samples for Google Font Roboto
HTML
<h1 class='roboto'>A Title Tag with Roboto</h1>
<div class='roboto'>A Quick Test of the Google Font Roboto in All Styles and Weights</div>
<p class='roboto'>A paragraph of text with the Roboto font. </p>
CSS
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
.roboto {
font-family: 'Roboto', sans-serif;
}
Scripts
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap" rel="stylesheet">
A Title Tag with Roboto
A Quick Test of the Google Font Roboto in All Styles and Weights
A paragraph of text with the Roboto font.
View Statistics
This Week
55
This Month
93
This Year
195
Add Comment
Other Items in fonts
Quick Embed Import and Code Samples for Google Font Roboto
rainbow text with css using background clip
Oswald Font Quick Embed
Quicksand font quick install
Playfair Display Font Quick Embed - Google Font Quick Embed
font similar to century gothic questrial google font quick install
Lato font quick install
open sans @import embed font quick
Related Search Terms
Other Categories in Code
alpine js apps c css factorio images sqlite site bugs site updates slick slider testing apache api apps asp bat bootstrap bootstrap templates core css css grid design elements docker domains emoji fancybox fonts foundation framework gimp git html icons ideas images javascript jquery js linux mac modals nginx node php php functions php simple html dom pi400 python react sections site bugs site documentation sql sqlite ssh sublime svg templates tools virtual box vscode webdev windows wordpress