+ 1

Can anyone tell me how can I apply inline border in paragraph like <p style='border: 1px red;'>T (but this is not working why )?

like <p style='border: 1px red;'>Text</p>

22nd Aug 2022, 5:06 PM
Vikas
Vikas - avatar
2 ответов
+ 3
You didn't put what type of border you want, it should be border:1px solid red;
22nd Aug 2022, 5:56 PM
Phageツ
Phageツ - avatar
+ 5
Read lesson 2 of the CSS course again: inline styling is like <p style='border: 1px red;'>Text</p> edit: <p style='border: 1px red dashed;'>Text</p>
22nd Aug 2022, 5:14 PM
Lisa
Lisa - avatar