There are times when I only can use iPad to access SO, and the back tick ` is needed to quote the literals... but it seems on iPad, there is no way to enter a back tick on the keyboard? Can it be somehow entered?

  • I never owned an iPad. Do you browse the mobile or the normal version of the site?
    – Dennis
    Commented May 25, 2012 at 17:49
  • @Dennis iPad defaults to the normal version of the site.
    – user149432
    Commented May 25, 2012 at 17:53
  • Not a fully fledged answer as I don't own one of these things, but there are probably many useful keyboard tweaks on Cydia. At a glance, BTstack Keyboard and iKeywi look to be very useful. Commented Aug 20, 2012 at 13:11
  • BTW most of these workarounds also work on my Surface, whose onscreen keyboard does not include the backtick. The {} button is probably the most useful. I'm adding this comment to help those who might search for Surface and backtick Commented Feb 5, 2014 at 17:47
  • @JamesHaigh, Without jailbreaking possible?
    – Pacerier
    Commented May 2, 2018 at 11:26

4 Answers 4


Assuming you're using the US keyboard layout, tap the .?123 key, then tap and hold the ' key: a popup will appear where you can tap the ` key. If I remember correctly, this only works in iOS 4 and later: if you're still running iPhone OS 3.2, you're out of luck and you really should just upgrade already.

  • 5
    wow, this is such a hidden feature Commented May 25, 2012 at 17:56
  • 1
    @動靜能量 to be fair, outside of SE, how many times do you use backticks in everyday text?
    – user149432
    Commented May 25, 2012 at 17:57
  • 6
    I don't use any other websites beside SE... haha... almost Commented May 25, 2012 at 18:06
  • 1
    I use it when writing documentation for my code on my iPad.
    – teewuane
    Commented Jul 26, 2017 at 7:12
  • 1
    @user149432, Typing passwords
    – Pacerier
    Commented May 2, 2018 at 11:26
  • 1
    Slack uses them as well. Commented Mar 16, 2019 at 5:08
  • Thanks for this! It works for the UK keyboard as well.
    – tafchad
    Commented Apr 23, 2019 at 9:19
  • Use it with slack on my iPhone Commented Jul 8, 2020 at 4:39
  • Thanks! Really helped me. I use it to edit Github markdown pages with code block pasted in. Using iPad Pro. Commented Jul 22, 2020 at 6:25

@MarkTrapp said that iPad defaults to the non-mobile version of Stack Overflow, so you don't really need to press the `.

Just click the Code Sample icon over the textarea, and it will insert two backticks. If you select the literals first, it will automatically wrap them in backticks.

Note that the Code Sample button insert four spaces rather than backticks if triggered on an empty or entire line.

  • oh good quick way. seems like you have to type something first, and then click the "Code" icon button... if nothing is typed beforehand on the line, then it will indent by 4 spaces Commented May 25, 2012 at 18:08
  • Right, I forgot about that part.
    – Dennis
    Commented May 25, 2012 at 18:11
  • 11
    This also only works for regular posts. You can't use the buttons on comments...
    – animuson StaffMod
    Commented May 25, 2012 at 18:44

You can surround the text you want to inline monospace with <code></code>.

This works for questions and answers, but not for comments -- right now, I don't think there's a workaround for comments.

  • 1
    Good to know that this works for answers, that might be enough... At least it's better than nothing :-)
    – DarkDust
    Commented Oct 17, 2010 at 12:43


In a comment box, click help at the bottom right, select and copy the `code` from there and paste it, replacing the word code with your actual code.


Similarly, in an answer box, you can click the ? at the top right and under Code, you can select and copy $ and then paste in the textbox, editing $ out to be your actual code.

<code>your code here</code> also works in an answer box.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .