How to create footer to stay at the bottom of a Web page. This is because we are only dealing with items as a group on the main axis. In our next example too, well left-align the labels. Example of left aligning labels next to inputs with the text-align property: - Online HTML editor can be used to write HTML and CSS code and see results. For example, the label for will be