user image

Ramesh Gupta

Class 10th
English
2 years ago

what is the function of the center

user image

Vivek Singh

2 years ago

The center() function is used to set the alignment of element into the center either vertically, horizontally, or both, relative to its parent element or according to the body if the element has no parent. If this function does not contain any parameters then the element will align both vertically and horizontally.

Recent Doubts

Close [x]