+ 1
can I use two or more attributes to a single subject?
4 Answers
+ 1
You shouldn't use attributes to control layout or style like 'align'.. For that, you should use CSS. Other than that, you're allowed to use as many valid attributes as needed. Example:
<a class="btn" href="#">Home </a>
0
Yes..As many as you need to describe the tag. For example <p class="top p" align="center" style="font-family: Arial;"> </p>
0
yes...you are allowed to do so
- 1
yeah ofc y not!