Adding an RSS feed button – need HTML help
-
OK – my wp theme doesn’t have an RSS feed button on it for visitors so I am attempting to add one using the source code provided by http://www.toprankblog.com/tools/rss-buttons/. I’ve uploaded the button into my theme folder and this is what I have:
“” title=”Subscribe to my feed”><img src=”http://www.thesandinista.com/wp-content/themes/feed-icon.gif” style=”border:0″/>“
Blog Validator finds a problem with the first > in “=”border:0″/>” (right after the /).
“Error Line 112 column 168: required attribute “alt” not specified.” “The attribute given above is required for an element that you’ve used, but you have omitted it. For instance, in most HTML and XHTML document types the “type” attribute is required on the “script” element and the “alt” attribute is required for the “img” element.”
The original source code is below – I changed the image source, and took off the ‘div style’ and ‘href’ parts since i don’t need them. What am i missing in my version that the original corrects?
” ” title=”Subscribe to my feed”><img src=”http://www.toprankblog.com/tools/graphics//feed-icon.gif” style=”border:0″/>
<div style=”font:9px Verdana, Arial, Helvetica, sans-serif; width:100px;”>Get RSS Buttons</div>”Thanks,
J
The topic ‘Adding an RSS feed button – need HTML help’ is closed to new replies.