Docly Developers
DocsUpdated 18 Oct 2026

Setting and adding meta tags to head

Setting meta tags in <head> tag - using ID and SetAttributes

Master.hash example:

<html>
    <head>
        <title>This is a test</title>
       <meta id="keywords" name="keywords" content="" />
    </head>
    <body>
        Text From master
        <div>
            Hello
        </div>
    </body>
</html>

Page.hash example:

<!--#master file="master.hash"-->
<meta id="keywords" name="keywords" content="Test 123"  xdt:Transform="SetAttributes" />
<html>
    <body></body>
</html>

Adding meta tags in <head> tag - using Insert

Master.hash example:

<html>
    <head>
        <title>This is a test</title>
    </head>
    <body>
        Text From master
        <div>
            Hello
        </div>
    </body>
</html>

Page.hash example:

<!--#master file="master.hash"-->
<html>
    <head>
        <meta name="keywords" content="Test 123"  xdt:Transform="Insert" />
    </head>
    <body></body>
</html>