How to Create Image Alt Tags
- 1). Open the HTML file of the page into which you wish to add alt tags in a text editor, such as Notepad.
- 2). Locate the first image tag. A typical image tag looks like the following:
<img src= "mypicture.gif"> - 3). Add 'alt="your description here"' inside the image tag. Replace "your description here" with an accurate description of your picture to help search engines and users using a text-only browser understand the content of the picture. Your complete image tag should look like this:
<img src="mypicture.gif" alt="A panoramic view of New-York City in winter"> - 4). Repeat the previous step for each image tag in your HTML file.
Source...