Skip to main content
Inspiring
July 9, 2018
Question

New Mobile friendly pages, cant find where put alt tag

  • July 9, 2018
  • 2 replies
  • 1498 views

On my old html images I click on image on the html page in DW and below in properties I see the field to insert an image alt tag.

But with the new mobile friendly conversions I'm doing, I click on the image and there is no alt tag anymore in properties. Confused.

(and alt tags for images help with SEO, get those image into Google images correct? Thanks.

This topic has been closed for replies.

2 replies

pziecina
Legend
July 9, 2018

For rwd images, you do not include the width and height attributes in the html code, instead use css -

img {

max-width: 100%;

}

set the 100% to whatever you wish.

In the html for rwd images you should use srcset or picture elements in the html -

https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images

larry45Author
Inspiring
July 9, 2018

Thanks Pziecina and Nancy, well for prospect of getting these tagged for Google images, I'm thinking of just inserting this manually on each html page

<img src="image.png"    <img title=  "   " alt="  " />

I don't mind PM you urls, but I don't like to put that up here in public forums.
pziecina
Legend
July 9, 2018

Sorry but somewhere in this discussion, you have lost me on what it is you are trying to do.

Are you inserting the images in the html code or in the css code?

BenPleysier
Community Expert
Community Expert
July 9, 2018

It should be there. If not, then there is a coding error in your document.

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
larry45Author
Inspiring
July 9, 2018

Ben here is the weird thing. On old html pages, the code for images is all there:

For example

<p><img src="mus-scan_18.jpg" width="327" height="450"> </p>

I have an html page, I link to an image, DW puts the image code on the page.

But with the new mobile conversion, done with css, the code is not there? Why not? I seem to have to manually add the image code one by one.

Nancy OShea
Community Expert
Community Expert
July 9, 2018

The code for HTML images looks like this (no spaces in filename):

<img src="image_name.jpg" alt="description" height="xxx"  width="xxx">

In the case of CSS images, there is no way to add ALT attributes to background images.

Nancy O'Shea— Product User & Community Expert