0

Plz help me

How to change website pages paragraph colour ,heading colour,background color All in one extrernal style sheet

12th Dec 2020, 1:11 AM
Manuja Bandara
Manuja Bandara - avatar
3 odpowiedzi
+ 2
body { color: red; }
12th Dec 2020, 4:49 AM
Samiun Nafis
Samiun Nafis - avatar
0
Open a new text file and write the css code for the required style , for the thing you mentioned p { color : red ; } h1 { color : blue; } body { background-color : green; } General syntax is tag name or id or class { Style property name1 : style property value1 ; Style property name2 : style property value2 ; .... } Save this file with the extension .css Then go to your main page and link this style sheet in the head section by using link tag < link rel="stylesheet" href= "filename.css"> If you save the css file in the same folder of the main page means you can use the filename.css alone in the href attribute or else you gave to give the entire path of that file in the href attribute.
12th Dec 2020, 5:03 AM
DAMODHARAN. R
DAMODHARAN. R - avatar
0
I want know about how to change multiple pages (page 2or more)paragraph colour ,background colour,heading colour
12th Dec 2020, 6:48 AM
Manuja Bandara
Manuja Bandara - avatar