It’s not black hat SEO for sure and if you have the technical knowledge to do that then go ahead. Making the job of the search engine bots easier, is always a good think. The answer is simple, both these techniques are not natural ways to get a link so https://emilianovaawt.theisblog.com/28175521/considerazioni-da-sapere-su-seo-off-page-techniques