I will add more after trying this out:

https://mscrmtutorials.com/create-a-custom-html-button-in-dynamics-365/