How to bold, italicise & underline some of the text in your LDV comments

A reader has asked about this.

If you want to add some special features to your comments on this site, you can use HTML coding.

Don’t be frightened.

In a simple example, if you want to do a bit of bolding and a bit italicising, you simply type as in the following example:

Test
Writing normally
<strong>Then bolding a bit.</strong>
<em>Then italicising a bit.</em>

This will then come out on the site as this:

Test
Writing normally.
Then bolding a bit.
Then italicising a bit.

So, basically the HTML code involved is not complex. Basically you use the < and > signs with a / thrown in at the end.

So, every time you want to start some text in a special way, you put the relevant command within < > signs and then when you want the special treatment to stop you put the same command within </ > signs.
So if you want to bold text, you go <strong>your text</strong>
If you want to italicise text, you go <em>your text</em>
If you want to underline the text, you go <u>your text</u>

* Paul Walter is a Liberal Democrat activist and member of the Liberal Democrat Voice team. He blogs at Liberal Burblings.

Read more by or more about .
This entry was posted in Site news.
Advert

11 Comments

  • Mick Taylor 3rd Aug '19 - 4:33pm

    Great. So how do you add pictures?

  • Peter Martin 3rd Aug '19 - 4:38pm

    I think you can also use ‘b’ instead of ‘strong’. I’ll test that here:

    test

    and ‘i’ instead of ’em’

    test

    And you can do all three if you want

    test

  • Peter Martin 3rd Aug '19 - 4:47pm

    Maybe not all three!

    I think this might work for a pic

  • Lloyd Harris 3rd Aug '19 - 5:00pm

    wow
    so exciting

  • Thanks Paul. Always wondered how to do this.
    @Peter Martin – what do you mean “This might work for a pic”?

  • Thanks for this Paul.

  • Exciting,, thanks.

    Although the lack of preview facility makes me a bit nervous of using much in the way of code because it’s very easy to miss a bit if you aren’t careful.

  • Peter Watson 4th Aug '19 - 1:23pm

    A favourite of mine is the blockquote

Post a Comment

Lib Dem Voice welcomes comments from everyone but we ask you to be polite, to be on topic and to be who you say you are. You can read our comments policy in full here. Please respect it and all readers of the site.

To have your photo next to your comment please signup your email address with Gravatar.

Your email is never published. Required fields are marked *

*
*
Please complete the name of this site, Liberal Democrat ...?

Advert

Recent Comments

  • Tristan Ward
    @David Allen "Thanks for the link". No trouble! Neidle is worth following. "we also need to persuade middle-income people to pay more tax" Thus cl...
  • Neil Sandison
    Perhaps in this increasingly busy political market . The bird of liberty needs sharpen its beak and talons and regain some street credibility on the core issues...
  • David Allen
    Tristan, Thanks for the link, which is interesting. Neidle's "taxes people want to raise" are ideas like wealth tax, which Neidle thinks wouldn't work well....
  • David Allen
    Peter, In the 2025-2026 financial year, the UK government is expected to spend approximately £111.2 billion on central government debt interest. This repres...
  • Peter Martin
    "If we pumped loads of money into schools and hospitals, and insisted on getting all the money by borrowing rather than taxing, the bond markets would righ...