0

In HTML5 would it be better to add an attribute to a tag or use CSS?

Example: <p text-align: "center"> vs. Using CSS to do the same thing.

13th Sep 2018, 12:50 PM
‎‎‎
3 Respostas
+ 3
Use CSS
13th Sep 2018, 3:43 PM
Yash
Yash - avatar
+ 1
If you want to keep your HTML as clean as possible use CSS.
13th Sep 2018, 1:01 PM
SQL Guy
0
Did you mean <p style="text-align: center;"> ?
13th Sep 2018, 3:37 PM
Janning⭐
Janning⭐ - avatar