¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita0
How can I add two attributes for a single tag?
2 Respuestas
+ 1
Just use spaces.
<img src="" alt="" height="" width="">
src, alt, height and width are all attributes separated by spaces.
To add more than one CSS property (inside the style attribute), separate them by semi-colons, all in one quotation.
<p style="background-color: green; color: yellow">
Text text text
</p>
+ 1
just use quite gap between two properties