Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
See the attached image below, which shows that a side-note is added so that the normal text of the document "floats around it":
It is called text wrap and you can do it in Google Docs for example like this:
If you want to do it with text box instead of an image add Drawing (Insert > Drawing...)
Required, but never shown