html text size attribute code example Example: css change text size p { font-size: 150% /*px, cm, in, etc.*/; }