dcsimg
www.webdeveloper.com
Results 1 to 11 of 11

Thread: How to apply image alt tag?

  1. #1

    How to apply image alt tag?

    How to apply image alt tag?
    Share on Google+

  2. #2
    Join Date
    Mar 2007
    Location
    localhost
    Posts
    5,517
    Please ask in the appropriate forum, your post has been moved to HTML.
    --> JavaScript Frameworks like JQuery, Angular, Node <--
    ... and please remember to wrap code with forum BBCode tags:-

    [CODE]...[/CODE] [HTML]...[/HTML] [PHP]...[/PHP]

    If you can't think outside the box, you will be trapped forever with no escape...
    Share on Google+

  3. #3
    Join Date
    Jan 2004
    Location
    chertsey, a small town s.w. of london, england.
    Posts
    1,852
    Hi there MoulanaRafi,

    1. Does your pc have a keyboard?
    2. Does your pc have a mouse?
    3. Do you have a text editor?
    4. Do you know how to open an HTML file with a text editor?

    If the answer to those four questions is positive...
    1. Open the the HTML file which contains the code for the image
    2. Find the image code which has no alt attribute, it will look similar to this...
      Code:
      
      <img src="an-image-name.jpg">
    3. With the mouse place the cursor between the the " and the >
    4. With the Keyboard use the space bar to move the cursor one space to the right.
    5. With the Keyboard type alt="image description".
    6. If your code now looks like this...
      Code:
      
      <img src="an-image-name.jpg" alt="image description">
    7. Click "File".
    8. Click "Save".

    I hope that this will help.

    coothead
    ~ the original bald headed old fart ~
    Share on Google+

  4. #4
    Join Date
    Jun 2013
    Location
    Forum
    Posts
    75
    Search engines cannot read images directly on a webpage. Alt text is used with to define images in the source to help search engine spiders crawl and know about your webpage images. These tags are helpful to rank your images higher in search results.
    Share on Google+

  5. #5
    Join Date
    Aug 2017
    Posts
    1
    Quote Originally Posted by MoulanaRafi View Post
    How to apply image alt tag?
    <img src="272x92dp.png" alt="Google" title="Google">
    Share on Google+

  6. #6
    Join Date
    Jul 2017
    Location
    C-11,OKHLA VIHAR, JAMIA NAGAR, NEW DELHI-110025
    Posts
    23
    Double-click the Gallery Block or click Edit.
    Find the image to edit, hover over it, and click the .
    Add alt text to the Image Title box.
    Share on Google+

  7. #7
    Join Date
    Mar 2007
    Location
    localhost
    Posts
    5,517
    Like other tags, you type the name of the tag, Please see coothead's instructions here.
    --> JavaScript Frameworks like JQuery, Angular, Node <--
    ... and please remember to wrap code with forum BBCode tags:-

    [CODE]...[/CODE] [HTML]...[/HTML] [PHP]...[/PHP]

    If you can't think outside the box, you will be trapped forever with no escape...
    Share on Google+

  8. #8
    Join Date
    Dec 2016
    Posts
    30
    Actually 'alt' is not a tag, it is an attribute.

    The alt attribute is a additional bit of information you can add to links (<a>) and images (<img>) to provide additional information about the tag. Generally 'alt' attributes are used by certain pieces of handicapped software or by SEO crawlers to help identify what exactly the tag is doing. For instance if you have the follow
    <img src="/images/my_logo.jpg" alt="Image of my logo" />
    A screen reader for the blind would be able to see read this image out as simply "An Image of my logo" and proceed on, otherwise the screen reader may have skipped the image completely or incorrectly identified the image as something unrelated.
    Share on Google+

  9. #9
    Join Date
    Mar 2007
    Location
    localhost
    Posts
    5,517
    people also call them properties and I have heard them called elements, what ever floats your boat I guess
    --> JavaScript Frameworks like JQuery, Angular, Node <--
    ... and please remember to wrap code with forum BBCode tags:-

    [CODE]...[/CODE] [HTML]...[/HTML] [PHP]...[/PHP]

    If you can't think outside the box, you will be trapped forever with no escape...
    Share on Google+

  10. #10
    Join Date
    Mar 2012
    Posts
    3,963
    What I find strange is that the author of this thread knows about the ALT attribute, but apparently does not know how to use it? How can that be?
    Share on Google+

  11. #11
    Join Date
    Mar 2007
    Location
    localhost
    Posts
    5,517
    D'ya know what I also find strange? The fact that people use google to find this site and ... *nuff said*
    --> JavaScript Frameworks like JQuery, Angular, Node <--
    ... and please remember to wrap code with forum BBCode tags:-

    [CODE]...[/CODE] [HTML]...[/HTML] [PHP]...[/PHP]

    If you can't think outside the box, you will be trapped forever with no escape...
    Share on Google+

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center