+ 4

Can the <center> be replaced with other

4th Nov 2016, 6:26 PM
Jaydeep Khatri
Jaydeep Khatri - avatar
3 odpowiedzi
+ 3
yes, you can use the css property (text-align: center)
4th Nov 2016, 7:11 PM
Rindho Aji
Rindho Aji - avatar
+ 3
Actually! Two best ways in order: 1. Set the parent tag "text-align" property to "center" 2. Set "margin" to "auto" Notices: <center> is deprecated in HTML5 "align" attribute is not supported in HTML5
8th Dec 2016, 6:37 PM
$machitgarha
$machitgarha - avatar
+ 1
<div align="center"> </div>
5th Nov 2016, 6:54 AM
Paul P Joby
Paul P Joby - avatar