html text padding top code example Example 1: css top padding padding-top: 25px; Example 2: css padding attribute order padding: top, right, bottom, and left