Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 1015

General Questions/New to Joomla! 5.x • help to improve html code in custom module

$
0
0
hello everyone, I wrote this html code to display in a custom module the clickable Fontawesome icons with the relative links, but I think I could have done much better but I'm not very prepared on the html code.

Code:

<p><span style="color: #0d0d0d;"><a href="https://www.facebook.com/aroma.massagebenessere/" target="_blank" rel="noopener" style="color: #0d0d0d;" arial-label:=""><i class="fab fa-facebook fa-lg"></i></a></span><span style="color: #0d0d0d;">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0d0d0d;"><a href="whatsapp://send/?abid=Aroma%20Massage&amp;text=Hi" target="_blank" rel="noopener" style="color: #0d0d0d;"><i class="fab fa-whatsapp fa-lg"></i></a></span><span style="color: #0d0d0d;">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0d0d0d;"><a href="https://www.instagram.com/aromamassage_roma/" target="_blank" rel="noopener" style="color: #0d0d0d;"><i class="fab fa-instagram fa-lg"></i></a></span>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0d0d0d;"><a href="tel:+3906.3054248" target="_blank" rel="noopener" style="color: #0d0d0d;"><i class="fas fa-phone fa-lg"></i></a></span>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: #0d0d0d;"><a href="tel:+393498224567" target="_blank" rel="noopener" style="color: #0d0d0d;"><i class="fas fa-mobile-alt fa-lg"></i></a></span></p>

Basically the result obtained is displayed well but I wanted to understand if someone can help me to fix it better.

Statistics: Posted by spadajoker — Sat Dec 21, 2024 12:12 pm



Viewing all articles
Browse latest Browse all 1015

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>