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

  • Jana
    Hi Tom, Do you think Burnham is preparing the ground for a snap election? Lots of little goodies delivered each day for a couple of weeks then claim he needs a...
  • Hywel
    Increasing the basic threshold by £1000 will make someone on £40,000pa £200 a year better off whilst doing nothing for someone on £12000 a year though. "...
  • Tony Vickers
    Not higher taxes but different taxes. We said in our 2015 manifesto we'd look at how (not whether) to introduce a Land Value Tax within a single Parliament. Co...
  • Peter Martin
    @ Daniel, You could have a point. Do you mean the government of the Federal Republic Of Germany? They certainly adopted the position of speaking for the ...
  • Steve Comer
    I agree with your sentiments Jack, but does the Party in Wales and it's MS? What little coverage of the Lib Dem campaign in Wales that I heard on news media ...