Tech moves fast! Stay ahead of the curve with Techopedia!
Join nearly 200,000 subscribers who receive actionable tech insights from Techopedia.
Prepend is a word that means to attach content as a prefix. It is often used in different kinds of programming and in automated processes.
Some prepending is done manually as a user. For example, a prepend command could be used in a scripting language that a programmer would enter into a certain function or code module. It would add certain characters of text to the beginning of some variable or object.
Other kinds of prepending are automated. For instance, in JQuery and other tools, there is the ability to automatically prepend each paragraph with a certain element. In general, "prepend" can be used similarly to the command "append," where instead of adding content onto the end of a string or variable, the content is added at the beginning.