Hello,
Sorry, but we are not sure if we understand your question.
If you need to add a link when transforming HTML to DOCX, you can use the a tag:
https://www.phpdocx.com/htmlapi-documentation/html-standard/insert-link-Word-document-with-HTML
to add an external link or a bookmark link.
HTML Extended available in Premium licenses also includes phpdocx_link (https://www.phpdocx.com/htmlapi-documentation/html-extended/insert-link-Word-document-with-HTML).
Regards.