JavaScript can Change HTML
p1
">
Hello World!
The paragraph above was changed by a script.
My Heading 1
onclick="document.getElementById('id1').style.color
= 'red'">
Click Me!
This is a paragraph.
This is another paragraph.
This is a paragraph.
This is another paragraph.
This is a paragraph.
This is another paragraph.
JavaScript HTML DOM анимацияси
onclick="myMove()">ClickMe
Enter your name: onchange="myFunction()">
onmouseout="style.color='black'">
Mouse over this text
onmouseup="mUp(this)"
position:absolute;top:396px;left:41px;white-space:nowrap" >color:#D94A38;width:90px;height:20px;padding:40px;">
Click Me
Do'stlaringiz bilan baham: |