Teks CSS menyelaraskan ke kiri
body {
text-align: left;
}
TheDevStar
body {
text-align: left;
}
.class {
text-align: center;
}
body {
text-align: right;
}
p{
text-align:center;/*values: center, left, right, etc...*/
}
/* Character-based alignment in a table column */
text-align: center;
/* The inline contents are centered within the line box. */
/*style-part*/
.center{
text-align:center;
}
<!--html-part-->
<p class="center"> How to text align </p>