RSS <image> Element

RSS Reference Complete RSS Reference

Definition and Usage

The <image> element allows an image to be displayed when aggregators present a feed.

Tips and Notes

Note: The image must be of type GIF, JPEG or PNG.

Child Elements of <image>

Tag Description
<description> Optional. Specifies the text in the HTML title attribute of the link around the image
<height> Optional. Defines the height of the image. Default is 31. Maximum value is 400
<link> Required. Defines the hyperlink to the website that offers the channel
<title> Required. Defines the text to display if the image could not be shown
<url> Required. Specifies the URL to the image
<width> Optional.  Defines the width of the image. Default is 88. Maximum value is 144


<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">

  <title>W3Schools Home Page</title>
  <description>Free web building tutorials</description>

    <title>RSS Tutorial</title>
    <description>New RSS tutorial on W3Schools</description>


Try it yourself »

RSS Reference Complete RSS Reference