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

  • April Preston
    Re energised by the strength of feeling made by our members. We showed them down with love. Trans rights are human rights and as Liberals it’s our duty to ...
  • James Brough
    It's a disturbing situation, isn't it? I can't help but see the irony in this. A group who claim their concern is to keep certain spaces for themselves are insi...
  • Jennie
    I'll be there...
  • Suzanne Fletcher
    Good summary thanks Caron. Like you I am at home, not the same, but I am grateful to those making the livestream possible, and I must admit that I am seeing mu...
  • Nonconformistradical
    @David Le Grice "And for this those of us who have a tendency to do things later in the day, or who suddenly realised they need to go out and buy something fro...