HTML expression inside an action

Hello,
Could someone help me with the HTML expression so that the image is printed at the top of the page?

https://example.com?html=” & ENCODEURL(SUBSTITUTE("

body { text-align: left; }

table {
width: 100%;
margin: 10px auto;
border-collapse: collapse;
}
th, td {
border: 1px solid #000;
padding: 5px;
text-align: left;
}
.signature {
margin-top: 10px;
font-size: 16px;
}
img {
max-width: 100%;
height: auto;
}
.company-info {
margin-bottom: 3px;
font-size: 16px;
text-align: left;
}

.footer {
font-size: 12px;
text-align: left;
}

Logo
.image-container img { float: left; /* Alinha a imagem ao lado esquerdo */ margin-right: 10px; /* Espaço opcional ao lado direito */ max-width: 7%; /* Ajuste da largura */ height: auto; /* Mantém a proporção */ }

Pedido No.: " & [IDpedido] & "                                                                     Data: " & TEXT([Data Pedido]) & "

Cliente :"&[Idcliente].[fantasia]&"

Endereço:"&[Idcliente].[endereço]&"

Contato :"&[Contato]&" Telefone:"&[Idcliente].[celular]&"

Referencia Cor(es) Tamanho(s) Quantidades No.Peças Preço Total
"&[Related Items][produto]&" "&[Related Items][CorDesc] & " "&[Related Items][TamDesc]&" "&[Related Items][DescQtde]&" "&[Related Items][TotalPecas]&" "&[Related Items][Preço]&" "&[Related Items][Total]&"

TOTAL DE PEÇAS: "&sum([Related Items][TotalPecas])&"                                                                                                                                    TOTAL GERAL: R$ "&text(sum([Related Items][Total]))&"

e2webtecnologia.com.br

", "%", "percent"))

You could use hyperlink() as a wrapper to your

Hi Derick Paula,
Thank you for your contribution, but unfortunately I’m not writing the expression with hyperlink() correctly.