0

How to make css java and html interact with each other

I want to know how to make css interact with html for instance if I wanted to make a paragraph but then I want it a certain color i could just put the css code in html area like I did in my code bit but people told me that that would caus problems so how would I do that?

5th Jun 2024, 5:06 PM
daily verses
daily verses - avatar
5 ответов
+ 3
use css stylesheets; but in the html add class or classes to that paragraph, and design it "separately". <link rel="stylesheet" href="style.css" type="text/css"> include inside the head tag. make sure you have the correct path and name; you can link more css files. if you define: p { } in the both, the latest will overwrite all previous properties
5th Jun 2024, 5:31 PM
Mihaly Nyilas
Mihaly Nyilas - avatar
+ 7
Carlos , `help!` and `Help please` does not really describe the problem you have. please use meaningful information.
5th Jun 2024, 7:41 PM
Lothar
Lothar - avatar
+ 2
Carlos , no problem. it would be sufficient if you use the tags like: `html` `css` `interact` these tags gives a first hint to readers what issue you might have. so people that not have learned html and css can skip this post.
6th Jun 2024, 7:11 PM
Lothar
Lothar - avatar
+ 1
Lothar sorry, but I really didn't know how to word this so I just put that English is my 2-3rd language
5th Jun 2024, 8:00 PM
daily verses
daily verses - avatar
+ 1
Lothar that's pretty smart mabey I used my Brian to much on coding now I can't think of anything else 💀
6th Jun 2024, 7:26 PM
daily verses
daily verses - avatar