CSS basic Question | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

CSS basic Question

Good afternoon from malaysia, im a beginner know nothing about design and programming, so i just started CSS basics fundamentals. below are from the training theory. The HTML: <head> <link rel="stylesheet" href="example.css"> </head> <body> <p>This is my first paragraph.</p> <p>This is my second paragraph. </p> <p>This is my third paragraph. </p> </body> The CSS: p { color:white; background-color:gray; } My question is the CSS first line start with p { may i know this tag referring which tag above? please forgive my broken english, im trying my best to practice. Regards, SJ

22nd Sep 2019, 5:03 AM
Shang Jun
Shang Jun - avatar
3 Answers
+ 8
https://code.sololearn.com/WJBrImtUA5gm/?ref=app It's helpful for you check it and correct your <link rel="style/sheet" href="style.css"> it is .😊
22nd Sep 2019, 5:21 AM
🇮🇳Abhay Pratap Singh🇮🇳
🇮🇳Abhay Pratap Singh🇮🇳 - avatar
22nd Sep 2019, 5:15 AM
Jaydeep Khatri
Jaydeep Khatri - avatar
0
Good day Shang Jun! This is not an answer but I believe the best way to learn is always try it yourself and you can do it easily in SoloLearn Code Playground. 😉 In this case, here's the result for your reference:- https://code.sololearn.com/WCH3ErpDNq2z/?ref=app
22nd Sep 2019, 6:01 AM
Zephyr Koo
Zephyr Koo - avatar