- 1). Save the chart as a JPEG file or other image format that you can upload to your website builder tool. If you created the chart in Excel or another program that does not allow you to save files in the necessary format, copy and paste the chart into an image-editing program such as Adobe Photoshop, and then save the file using the needed format.
- 2). Upload the chart file to your website builder tool.
- 3). Insert the chart onto a webpage.
- 4). Access the HTML editor for the page. Locate the code snippet containing the tag "img src" and the file name of the chart. For example, you would look for the following if the name of your file is Population-Density-Chart.jpg and its dimensions are 60 x 50:
<img src="Population-Density-Chart.jpg"/> - 5). Add an alt attribute between the size tags and the "/>" tag to add a crawlable, keyword-rich description to the chart. For instance, you would add the following attribute to the population density chart from the previous example:
alt= "Chart showing population density of Europe"
Your final code snippet would be:
<img src="Population-Density-Chart.jpg" alt= "Chart showing population density of Europe"/>
previous post