0
How to align the second phrase?
I mean : how to align the phrase after <hr /> element
3 Answers
+ 4
1. use div element to enclose the content.
2. use class name to assess the div element.
demo for you :
https://code.sololearn.com/W5I5i5124nIr/?ref=app
0
Yeah thx đ,but why did you use (clase) instead of (align="center")?
0
it is still align = "center"
for attribute
class = second
in css tab, i have
.second{
text-align : center;
}
CSS style is always preferred to HTML for styling contents.