Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Javascript
add "hr" from javascript
pastoral
Programming language:
Javascript
2021-04-08 08:36:34
0
Q:
add "hr" from javascript
user104857
Code:
Javascript
2021-05-29 13:36:54
var hr = document.createElement("HR"); // Create a <hr> element document.body.appendChild(hr);
1
Tags
java
javascript
add
Related
insert js in html
how to add javascript to html
add to set js
link javascript to html
insertadjacenthtml in javascript
javascript append to paragraph
Inserting HTML elements with JavaScript
put new attribute on html tag using javascript
add javascript
convert a string to html element in js
javascript set attribute href
adding html in other html through js
how to add javascript in html
New to Communities?
Join the community