Can we use this 'include' option like CSS to style several web pages with same styles?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can we use this 'include' option like CSS to style several web pages with same styles??

16th May 2017, 7:02 AM
Geetha Kadhirvelu
Geetha Kadhirvelu - avatar
4 Answers
+ 6
@kirito but should same structure I mean content also Should be same to each other for that nah.?
17th May 2017, 7:02 AM
Ishwarya Manikandan
Ishwarya Manikandan - avatar
+ 1
I guess you need external css so that you can apply it everywhere in your pages and maybe you also use classes on each div that you want to apply the same style.
16th May 2017, 7:08 AM
Joefrey Racal Ramos
Joefrey Racal Ramos - avatar
+ 1
'include' is for php code only. Use style to link the css file like you normally do in html file.
16th May 2017, 7:33 AM
Calviղ
Calviղ - avatar
+ 1
No I mean bold, italics or some formatting tags. You can put it in a file and reuse it in places we need?
17th May 2017, 1:02 PM
Geetha Kadhirvelu
Geetha Kadhirvelu - avatar