0
How can I add two attributes for a single tag?
2 Réponses
+ 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