Pular para o conteúdo principal

Questão de Programação — CSS (Cascading Style Sheets) — FAURGS 2014

ProgramaçãoCSS (Cascading Style Sheets)
Código
qq052993
Banca
FAURGS
Órgão
HCPA
Ano
2014
Nível
Superior
Cargo
Analista I - Webdesigner
A tag @font-face que havia sido eliminada do padrão CSS2.1, foi reintroduzida no CSS3. Entretanto o desafio da ausência de padronização ainda não foi superado. Assinale a alternativa que apresenta a sintaxe correta para a utilização de @font-face na maior parte dos browsers:
  1. A@font-face{font-family: 'MinhaFonteLinda';src: url('MinhaFonteLinda-webfont.eot?#iefix') format('embedded-opentype'),url('MinhaFonteLinda.woff') format('woff'; ttf),font-weight: normal;font-style: normal;}
  2. B{@font-facefont-family: 'MinhaFonteLinda';src: url('MinhaFonteLinda-webfont:'eot,woff,ttf')src: url('MinhaFonteLinda-webfont#iefix')format: regular;font-weight: normal;font-style: normal;}
  3. C@font-face {font-family: 'MinhaFonteLinda';src: url('MinhaFonteLinda-webfont.eot')src: url('MinhaFonteLinda-webfont.eot?#iefix') format('embedded-opentype'),url('MinhaFonteLinda-webfont.woff') format('woff'),url('MinhaFonteLinda-webfont.ttf') format('truetype'),url('MinhaFonteLinda-webfont.svg#MinhaFonteLindaRegular') format('svg');font-weight: normal;font-style: normal;}
  4. D{@font-face<font-family: 'MinhaFonteLinda'><href: 'http://www.RepositoriodeFontes.com/MinhaFonteLinda/'><webfont: 'eot,woff,ttf,svg'>font-weight: normal;font-style: normal;}
  5. E{@font-face: 'MinhaFonteLinda';src: 'http://www.RepositoriodeFontes.com'webfont (eot,woff,ttf,svg)format('embedded-opentype')font-weight: normal;font-style: normal;}
Revelar gabarito e comentário

GabaritoC — @font-face { font-family: 'MinhaFonteLinda'; src: url('MinhaFonteLinda-webfont.eot') src: url('MinhaFonteLinda-webfont.eot?#iefix') format('embedded-opentype'), url('MinhaFonteLinda-webfont.woff') format('woff'), url('MinhaFonteLinda-webfont.ttf') format('truetype'), url('MinhaFonteLinda-webfont.svg#MinhaFonteLindaRegular') format('svg'); font-weight: normal; font-style: normal; }

Link permanente: /questoes/qq052993