Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?

👋🏼 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’s 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



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