Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

text align in javascript

document.getElementById("demo").style.textAlign = "left|right|center|justify|initial|inherit"; 

// from w3school
 
PREVIOUS NEXT
Tagged: #text #align #javascript
ADD COMMENT
Topic
Name
5+1 =