skip to Main Content

I user angular in my application, where I have ng-repeat directive on images (which means, that in my HTML I have only one img tag for all image objects that I receive from server). Should I also include different titles and alt tags for these pictures? Does this matter from point of view of SEO?

2

Answers


  1. Google search engine consider alt tags in their site ratings, so yeah it does matter if you have your alternative values, and moreover the content is also significant. Try using phrases, short and precise to describe your picture. In my opinion you can try extracting for example image name for alt without its extension. Like <img src="images/bridge.jpg" alt="bridge">. Hope it helps.

    Login or Signup to reply.
  2. Search engine spiders can only read initial requests without running JS code.

    Site 1 uses javascript

    <html>
    <title></title>
    <script>
    document.title = 'Hello World!'
    </script>
    </html>
    

    Site 2 uses html

    <title>Hello World!</title>
    

    The program will get the code but not be able to account for the javascript. It will most likely use a regex to determine certain elements and the data in those elements.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search