Is there an error in this code? If so, find the best description of the problem

Advertisement

@font-face {
font-family: ‘Avenir’, sans-serif;
src: url(‘avenir.woff2’) format(‘woff2’), url(‘avenir.woff’) format(‘woff’);
}

  • The font file formats are not supported in modern browsers.
  • The src attribute requires a comma between the URL and format values.
  • There are no errors in the example.
  • The sans-serif inclusion is problematic.
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Leave a Comment


Share via
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Send this to a friend