Card
Some examples of JavaScript
Change HTML content
document.getElementById("demo").innerHTML = "Xin chào JavaScript!";
Change style in HTML
document.getElementById("demo").style.fontSize = "25px";
document.getElementById("demo").style.color = "red";
document.getElementById("demo").style.backgroundColor = "yellow";
Change HTML properties
document.getElementById("image").src = "picture.gif";
Card
Card
Previous post: Iframe in HTML
The following article: File path in HTML
4 ★ | 1 VoteYou should read it
- 5 steps to learn a dynamic HTML web component profile
- JavaScript location in HTML File
- How to make PIN Pad using HTML CSS & JavaScript
- Introduction to HTML
- 5 free online HTML editing tools that test the best code
- Basic examples of HTML
- eQuiz - Multiple choice test on HTML knowledge
- Elements in HTML
- Paths in HTML
- Why write neat and organized HTML?
- Image img in HTML
- Tag aside in HTML