name attribute is used to specify the name for the fieldset element. Most online forms are poorly designed, disorganized, and hard to use. This can also be used with images (or any other element) by explicitly defining them as a block element with display: block: Keep in mind that margin: auto is stating that all four margins should have automatic offsets (centralised). To actually center the page, add margin: auto. How do you disable browser Autocomplete on web form field / input tag? How to disable text selection highlighting. Then set the child's display property to absolute, top to 50%, and left to 50%.