Skip to content

Instantly share code, notes, and snippets.

@teffcode
Created June 29, 2020 05:33
Show Gist options
  • Save teffcode/dbec26ddcde888b78f80a3002750294b to your computer and use it in GitHub Desktop.
Save teffcode/dbec26ddcde888b78f80a3002750294b to your computer and use it in GitHub Desktop.

馃憢馃徏 Welcome 馃憢馃徏

Quiz banner

Instagram | Twitter | LinkedIn


Choose your language 馃憛



English version 馃殌


Consider the following code:

CSS HTML

What would you see in the browser ?




Click here to see the correct answer and explanation 馃憖
Correct Answer Explanation
A 馃帀 The W3C鈥檚 CSS2 spec states that for Inline, the width property does not apply.

Recommended reading 馃憠馃徏 Inline elements and padding



Spanish version 馃殌


Considera el siguiente c贸digo:

CSS HTML

驴 Qu茅 ver铆as en el navegador ?




Haz click aqu铆 para ver la respuesta correcta y su explicaci贸n 馃憖
Respuesta correcta Explicaci贸n
A 馃帀 La especificaci贸n CSS2 del W3C establece que para los elementos en l铆nea, la propiedad width no se aplica.

Lectura recomendada 馃憠馃徏 Inline elements and padding



@cquiladiaz
Copy link

A. Los elementos inline ignoran anchos, altos y m谩rgenes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment