Canonical Url is used to avoid duplicate content.By using the below sample code you can place canonical in your code in the head section.
<html>
<head>
<link rel="canonical"...