0% found this document useful (0 votes)
87 views1 page

2 - Roboto Installation and CSS Properties PDF

To install the Roboto font, click the link to open it on Google fonts, select the font, copy the link and include it in the HTML head, and add the font family to CSS stylesheets. Color can be changed with the color property and font size with font-size property in internal or inline CSS styles.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
87 views1 page

2 - Roboto Installation and CSS Properties PDF

To install the Roboto font, click the link to open it on Google fonts, select the font, copy the link and include it in the HTML head, and add the font family to CSS stylesheets. Color can be changed with the color property and font size with font-size property in internal or inline CSS styles.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Steps to install Roboto font

1. Click on this link to open Roboto Google fonts.


2. Click on select this font.
3. You would see "One font family selected", maximize the window.
4. Copy the link: <link href="https://fonts.googleapis.com/css?family=Roboto"
rel="stylesheet"> and include it in your head section.
5. Include : font-family: 'Roboto', sans-serif; in your CSS style statements

Color and Font CSS Properties:

1. To change the color of the text use color CSS property :

1. Internal Styling: selector {color: red}


2. Inline styling: <tag style="color:red;">

2. To change the font size we use font-size property:

1. Internal Styling: selector {font-size: font size in px;}, {font-size:


18px;}
2. Inline styling: <tag style="font-size: font-size in px;"> ,
<style="font-size: 18 px;">

You might also like