How do you set font of the text for some element?

Experience Level: Junior
Tags: CSS

Answer

Example

.heading {

    font-family: 'Times New Roman', Times, serif;
}

Comments

No Comments Yet.
Be the first to tell us what you think.
CSS for beginners
CSS for beginners

Are you learning CSS ? Try our test we designed to help you progress faster.

Test yourself