Please note that the AutoFormat function isn’t available in Office Online. If you want to further add text above the line, just locate the cursor where you’d like the text to be and start typing.
If you are within a column, the line will match the width of the column.
Then, the three characters will become a horizontal line for the full width of the page.