How we put this css code in html there is many paragraph how it will executed with related p tag? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

How we put this css code in html there is many paragraph how it will executed with related p tag?

3rd Sep 2019, 12:55 PM
shubham
shubham - avatar
3 Respostas
+ 5
If I understand your question correctly, youā€™re asking how to link a css stylesheet to an html document and how to apply styles to all your paragraphs. 1. How to link CSS: in the <head> tag, place a <style> tag and write your css in it, that will apply it to the HTML document. If you have an external css file, link to it like this in the <head> tag: <link href = ā€œpath/to/stylesheet.cssā€> 2. You will need to use css selectors to apply styles to paragraphs: p{} will select all paragraphs, select elements of a certain class by using a . followed by the classname like this: .classname{}, and select an element with a given id with the # selector like this: #uniqueid{} I hope this helps! good luck
3rd Sep 2019, 2:06 PM
Mike Perkowski
Mike Perkowski - avatar
0
we cany see the code u need to add the link for it
3rd Sep 2019, 1:05 PM
Hum!_Kad
Hum!_Kad - avatar
0
I don't think I understand your question. Can you rephrase the question and write the details in Description?
3rd Sep 2019, 1:52 PM
Ipang