How to add noindex and nofollow metatag using html?

Use below meta code to tell robots/Google not to index the content of a page, and/or not scan it for links to follow.

<html>
<head>
<title>Codeforbeginner</title>
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
</head>
<body>
</body>
</html>

Note: This noindex, nofollow it should be placed within head section.

Tagged as: