Fill in the blanks to make the font of the paragraph "Arial" | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Fill in the blanks to make the font of the paragraph "Arial"

i need help

9th Mar 2017, 7:16 PM
Casey Oleski
Casey Oleski - avatar
9 Answers
+ 3
p { font-family : Arial ; }
31st Mar 2018, 5:25 PM
Mahnoor Shahzad
Mahnoor Shahzad - avatar
+ 3
p { font-family: Arial; }
15th Sep 2019, 8:00 AM
Jean de Dieu RUMANZI
Jean de Dieu RUMANZI - avatar
+ 2
Are you trying to make the font of text within a p tag Arial? If so, you can inline that as follows: <p style="font-family: Arial;">TEXT HERE</p> If you're wanting to add it to a stylesheet, you would have to target it, by either using an id or class identifier, or by choosing its relationship to other elements in the DOM (i.e. parent ->child | parent -> first-child | #id p) etc. <p id="text">TEXT HERE</p> In your stylesheet: #text { font-family: Arial; } Hope that helps!
9th Mar 2017, 8:57 PM
Joel Hager
Joel Hager - avatar
+ 2
p { font family: arial; }
5th Dec 2017, 11:35 PM
Jacob Papageorgiou
Jacob Papageorgiou - avatar
0
Fill in to get the value of the form field with id="name" and set it as the text of the paragraph with id="txt"... var v = $("#name"). ......; $("").text(.....); Answer will be: val(), #txt, v,
10th Feb 2019, 6:41 PM
Md. Shahajahan Ali
Md. Shahajahan Ali - avatar
0
I need help
21st Jun 2020, 2:31 PM
Emmanuel s, Brown
Emmanuel s, Brown - avatar
0
Your email is not working now!!
21st Jun 2020, 2:41 PM
Emmanuel s, Brown
Emmanuel s, Brown - avatar
0
p { font family: arial; }
30th Jul 2020, 2:19 PM
MD. SAZZAD HUSSAIN
MD. SAZZAD HUSSAIN - avatar
0
charli my love
27th Oct 2021, 12:48 AM
Jader Alexander Buitrago Giraldo