Using google fonts and setting typography

Dear community,

Let’s say I’m using a random google fonts, like Inter for instance, and I chose the weight of 400 and 600.


If in my CSS rule I set an

as following:

p {
    font-family: Inter;
    font-weight: 500;

Is this weight going to be applied? If not, what is going to be the behaviour of my