JSFiddle - React, Tailwind, and code Playground

HTML

<html>
<head>
    <title>test page</title>
    <meta name="keywords" content="???">
</head>
<body>
    <p><a href="#">sampel1</a></p>
    <p><a href="#">sampel2</a></p>
    <p><a href="#">sampel3</a></p>
</body>
</html>

JavaScript

$("meta[name='keywords']").attr("content", "sampel1,sampel2,sampel3")

//check new meta content
console.log($("meta[name='keywords']").attr("content"));