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

  • Jason Connor
    I think this is the most insightful of all the articles I've read on the left behind because what it says is so true. And not a link to the upper middle class G...
  • Jana
    @Mick Taylor “ So, Ros, and all our other MPs, stop calling for referenda. They’re not democratic, they are always capable of manipulation and voters rarel...
  • paul barker
    I agree with the comments so far except for the calls to delay Electoral Reform until yet another General Election. The Voters have already spoken in favour of ...
  • Mick Taylor
    Ros, I was right with you until you used the word referendum. Every time there is a referendum, the power of MPs to make the decisions they were elected to mak...
  • Nonconformistradical
    @George Thomas "....but only if we recognise that many people get paid when they shouldn’t and many people don’t get paid (or paid enough) when they shou...