what is slug website code example Example: what is a slug A slug uses the title of an article to generate a URL.