📜  javascript代码示例中的文本对齐

📅  最后修改于: 2022-03-11 15:01:05.495000             🧑  作者: Mango

代码示例1
document.getElementById("demo").style.textAlign = "left|right|center|justify|initial|inherit"; 

// from w3school