I have a problem with JavaScript and cannot find a solution. I would like to create 4 HTML tags in JavaScript. The concern is that each of this tags have a different innerHTML and href. I have tried to create several "newA" variables every time I wanted to create one, but obviously it is not possible. If you have any questions, I am available and comment here. Here is the code I want to generate in JavaScript :
<div>
<img alt = "SakuraLogo"
src = "./picture/global/logo/greySakuraLogo.png"/>
<a href = "#">FAQ</a>
<a href = "#">Mentions légales</a>
<a href = "#">CGU</a>
<a href = "#">Politique de confidentialité</a>
<a href = "#">Plan du site</a>
<span>reJoignez-nous</span>
<img alt = "FacebookLogo"
src = "./picture/global/logo/greyFacebookLogo.png"/>
<img alt = "TwitterLogo"
src = "./picture/global/logo/greyTwitterLogo.png"/>
<img alt = "YoutubeLogo"
src = "./picture/global/logo/greyYoutubeLogo.png"/>
</div>