The css property "text-align" can be applied to any HTML element containing text. For example:


Because h1 elements are display:block by default, the text can be aligned to the left, right or center. So adding

h1 {
    text-align: center;

This would center the heading "Welcome!" on the page.

Take a trip down memory lane or discover the origins of the most popular websites around!
Michael Michael (174)

Ever wondered what some of the homepages you visit daily looked like when they first launched?