Inquiry: Sentence that needs completion
This question pertains to HTML/CSS.
I am looking to replicate the image provided, where I need to insert a line to fill the empty space after certain words.
The length of the words may vary.
For instance, if the total width is 1000px and the word is 100px long, the half-line should be 900px in length.
If the word is 350px, then the half-line should be 650px long.
Is there a CSS solution for achieving this effect?
Please provide guidance on how to accomplish this task.