+ 6

I am trying to code a blog but i haven't understand how to get the different fonts from Google or other places.

I have finished basic HTML course. I haven't started html5 though! but I don't how to get those background images and different fonts from Google. I tried to get url from Google's site but didn't work.

16th Feb 2018, 8:15 AM
Patel Nisarg
Patel Nisarg - avatar
7 Antworten
+ 7
I got it. thanks
16th Feb 2018, 9:57 AM
Patel Nisarg
Patel Nisarg - avatar
+ 6
but can I use that url in notepad? as a programming platform?
16th Feb 2018, 9:03 AM
Patel Nisarg
Patel Nisarg - avatar
+ 6
thnx guys
16th Feb 2018, 9:03 AM
Patel Nisarg
Patel Nisarg - avatar
+ 3
Simply take the link provided by google and place it in the head section of your html markup. for example, <link href="https://fonts.googleapis.com/css?family=Roboto:400,100,300" rel="stylesheet" type="text/css"> Then you could attach a font-family to a css style, could be a specific H1 or P tag or the whole body. font-family: 'Roboto', sans-serif; Regarding the question about background images. Im not sure what you mean, could you expand?
16th Feb 2018, 9:02 AM
ihateonions
+ 3
Not sure what you mean by using it in notepad? You can write your code in any application or IDE you want and then run the page in the browser. The fonts will work even if its local.
16th Feb 2018, 9:54 AM
ihateonions
16th Jun 2020, 5:09 PM
Vivek Kumar
Vivek Kumar - avatar
+ 3
You can try this
16th Jun 2020, 5:09 PM
Vivek Kumar
Vivek Kumar - avatar