I've tried it various ways over time, and settled on the approach whereby each (potentially-modified) key in a keymap sequence is written in standard Emacs notation and wrapped in <kbd> markup, and anything else the user types (commonly at a prompt) is wrapped in backticks.

This distinguishes the command key sequences from other typed text, which I feel makes for the most easily-comprehensible output.

The following is an [example from SO][1]:

So first, check to see if you have an existing file.

<kbd>C-h</kbd><kbd>v</kbd> `user-init-file` <kbd>RET</kbd>

By default it will show you a file path ending in `/.emacs` (even if that file doesn't exist), but on the (unlikely, in your case) offchance that it ends in `/.emacs.el` or `/.emacs.d/init.el` then it would mean that you have an existing init file at that location.

Load that file with the appropriate one of the following:

* <kbd>C-x</kbd><kbd>C-f</kbd> `~/.emacs` <kbd>RET</kbd>
* <kbd>C-x</kbd><kbd>C-f</kbd> `~/.emacs.el` <kbd>RET</kbd>
* <kbd>C-x</kbd><kbd>C-f</kbd> `~/.emacs.d/init.el` <kbd>RET</kbd>

Or you could load it regardless of where it was with:  
<kbd>M-:</kbd> `(find-file user-init-file)` <kbd>RET</kbd>

Then you can simply add that line of code to the file:

<!-- language: lang-el -->

    (setq visible-bell 1)

Save the file:

<kbd>C-x</kbd><kbd>C-s</kbd>

And the next time you start Emacs, it will use that setting.

You can also evaluate the setting immediately by typing <kbd>C-x</kbd><kbd>C-e</kbd> with the cursor after the closing parenthesis.



[1]: http://stackoverflow.com/questions/10545437/how-to-disable-the-beep-in-emacs-on-windows/10545955#10545955