Suppose I am writing a post and want to highlight only a couple of characters:
like this. How can I achieve this?
HTML language includes a special tag for displaying inline code. To apply it to your text, switch to the 'Text' visual editor tab and place the
If you want to use the backtick ` character for highlighting code like you do on Stack Overflow, check out this plugin by Tom McFarlin.
you can create a shortcode for this
paste above code in
use shortcode in wordpress editer like
your html output like
give some css to
Bungeshea is right, but you can also and simply add these tags in your text editor (not visual editor):