How do I change the fonts of my lists?

I was able to change the font of my first sentence, but once I started making lists I was not able to change their font.

I first tried:

<ol style="font-family: Arial">xxx
<li>xxx</li>
<li>xxx</li>
</ol> 

Then I tried:

<p style="font-family: Arial"><ol>xxx
<li>xxx</li>
<li>xxx</li>
</ol></p>

Neither worked. That why I am confused as to why I can create lists but I cannot change their fonts. Please advise.

seems to be working fine?

I’m not quite sure how to physically show what I put in as code on this interface. I tried making it into a comment but then that just made it visible to me.

the style attribute you added was fine, try different fonts, not all fonts might be supported in your browser. I made your code visible.

for next time (so you can make the code visible yourself), use one of the two following options to make your code/indent is visible:

select your code and press ctrl + shift + c (or cmd + shift + c if you use a mac)

if this instructions are unclear, you can also insert 3 backticks before and after your code, like so:

```
<p>visible</p>
```

the backtick is located above the tab key on your keyboard

That is amazing, thank you so much that helps a lot! And I got it figured out, I must have just been missing a " or something. Thank you.