+ 1
HTML <p>(Paragraph) Attributes
Can you use <p width=50%></p> to adjust the size of the text inside the Paragraph Tag? Does (50%) need quotations?
3 Answers
+ 3
Hi Michael, attributes are name="value" pairs. So it should be inside quotation marks.
Also, width attribute doesn't work on <p> tags. It's not a global attribute. It will work on a few tags only.
Check this out for more info:
https://www.w3schools.com/tags/att_width.asp
0
انا اللغتي العربية ماخراني اني اتقدم بسرعة ولاكن انا احاول ان اتعلم الانجليزية وايضا ان واتعلم البرمجة الويب اذا ممكن نكون اصدقاء من دواعي سروري
0
Iam my mother tongue, the Arabic language. I hope that I master the English language so that I can learn faster. I would like to make friends with people who speak English together. One is my friend and he understands me and shares the thing that I love, which is programming, but I am a beginner. Please help me, thank you, and I hope you communicate with me.