I am using HTML code to format text in a text box in print composer trying hard to underline just one word of a paragraph. Of course I could create a new text field just for one word but that screws the whole sentence over.

<u> works fine. As well as ndawsons solution.
The underline is there, it´s just almost invisible. Is there a way to thicken it?

Alternatively a new bottom border line can be used but that is more of a workaround than a solution:

u {
 border-bottom: 2px solid;
 text-decoration: none;

QGIS 2.10.1 Pisa


1 Answer 1


What about

 ... <span style="text-decoration: underline">some underlined text</span> ... 
  • I went back to the problem and noticed that both tags produce a very faint line under the text that is almost invisible, updated the question. Thank you.
    – Papierwolf
    Feb 17, 2016 at 7:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.