Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Javascript
how to add border to a text in html with javascript
madhead
Programming language:
Javascript
2021-07-28 15:54:17
0
Q:
how to add border to a text in html with javascript
Night and Light
Code:
Javascript
2021-06-21 19:38:46
document.getElementById("myDiv").style.border = "thick solid #0000FF";
1
Tags
java
javascript
text
html
add
how
border
Related
how to change style of an element using javascript
how to stretch text in javascript
chaning element border using js
edit paragraph text in html from js
javascript for border color
js change button text
New to Communities?
Join the community