+ 4
Javascript and css
How can i give an java text,command.. an id to edit in css like in html id="..."?
9 Respostas
+ 9
Java or Javascript?
You can access to id elements with the following syntax:
document.getElementById("yourid");
+ 4
...I understood your question like
"How to edit id for css rule"...
https://code.sololearn.com/WZYJD2iD7lh4/?ref=app
I understood like that =_=
+ 4
Umm...@_@ I didn't understand with that question srry
+ 2
javascript
+ 1
In HTML:
<div id="example">This Text</div>
In CSS:
#example{
color: red;
}
Changing the color is only one example
+ 1
i already know how to do it in html but thank you ;D
+ 1
thank you
+ 1
no, but i found out what i wanted to know
thank you for your answer and help :D
i have a new question.. so if you can help it would be great :D
+ 1
$_$ no problem:D