line with a text in the middle code example Example: css text line in middle h2 { text-decoration: line-through; }