Support ForumAdding Alt Tag (Attribute) to a shortcode – Support Forum https://support.ishyoboy.com/forums/topic/adding-alt-tag-attribute-to-a-shortcode/feed/ Sat, 11 May 2024 10:02:06 +0200 http://bbpress.org/?v=2.5.12-6148 en-US https://support.ishyoboy.com/forums/topic/adding-alt-tag-attribute-to-a-shortcode/#post-4436 <![CDATA[Adding Alt Tag (Attribute) to a shortcode]]> https://support.ishyoboy.com/forums/topic/adding-alt-tag-attribute-to-a-shortcode/#post-4436 Wed, 03 Sep 2014 13:28:46 +0000 WAPPUK Hi,

How would i add an alt tag to this:

[button url= ” https://www.wearepromotionalproducts.co.uk/category/promotional-pens/ ” size=”medium” color=”color1″ new_window=”no” full_width=”yes” align=”left”]Pens[/button]

]]>
https://support.ishyoboy.com/forums/topic/adding-alt-tag-attribute-to-a-shortcode/#post-4440 <![CDATA[Reply To: Adding Alt Tag (Attribute) to a shortcode]]> https://support.ishyoboy.com/forums/topic/adding-alt-tag-attribute-to-a-shortcode/#post-4440 Wed, 03 Sep 2014 14:34:53 +0000 IshYoBoy Hey,

the alt attribute is only for image HTML elements. The button is an “a” element and the W3C specification does not allow this attribute for it.

Cheers

A 5 star rating is always a great motivation for us if you are happy with our theme or support!
Themeforest | MojoMarketplace | Creative Market

]]>