Which of the following line of code centers an element?

padding: auto;

None of the options

margin: auto;

margin: 0;

1 answer

margin: auto;