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

  • Mick Taylor
    @TristanWard. I have never been Mike my entire life. Please don’t take it upon yourself to unilaterally change my name...
  • David Le Grice
    Oddly the article leaves out the full context of the Kirklees result. This was a lib dem ward prior to the may elections which reform gained from us. So winnin...
  • David Warren
    Delighted to have contributed to the win in Almondbury by making several hundred phone calls to voters. Winning Here!...
  • Tristan Ward
    @ Mike , yes an encouraging night....
  • Mick Taylor
    A rather good council by-election week. I see the doomsayers are not saying that our performance is terrible this week, but they're not saying anything positive...