horizontal line css before after title middle aligk code example Example: css text line in middle h2 { text-decoration: line-through; }