Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Oct 2013
    Posts
    145

    insert the image in css

    hello to all
    my qusetion is If I can insert the image in css, so how can I add the alt attribute or other property. Because alt attribute are important for the seo.

  2. #2
    Senior Member
    Join Date
    Dec 2013
    Location
    United Arab Emirates
    Posts
    228
    I can understand the old "image replacement" trick, but as Jorge states, the original tag text content should cover that.

    If you use css background sprites for standalone icons (no-text), that's a bit more tricky. Ideally they'd be images in their own right, but this is a feature that's becoming more popular with the iconification of pages. An interesting example would be the the icons on this post (Flag and Bookmark). Neither has an accompanying title attribute:

    <a class="button blue flag no-margin margin-right" href="#"><i class="fa fa-flag"></i></a>

    This uses an icon font, but for the sakes of SEO / accessibility it probably equates to the same thing - no SEO, not accessible.

  3. #3
    Registered User
    Join Date
    Feb 2013
    Posts
    290
    I don't understand you, you add for example background-image:url-to-image or something else?
    On background image you can't add alt and title tag, only on <img src=""/> you can add this tags.

    Good luck
    If you come to Belgrade follow this link: Rentacar Stars or Rent a car Beograd Ar
    If you need good web developer, you can visit Izrada sajta

  4. #4
    Registered User
    Join Date
    Oct 2013
    Posts
    17
    I would like to give the example of image adding to TIFF document by using a tiff processing and editing tool within a .net application. Use a tiff image inserting plugin, we can copy and add an image, graphics, signature or logo to TIFF document using variable image compression modes to any existed TIFF page or new creating blank TIFF page.

  5. #5
    Registered User
    Join Date
    May 2014
    Posts
    224
    <img src="http://www.flowerpicturegallery.com/d/5298-2/Big+dark+pink+Lotus+Flower+photo.jpg" alt="A pink beautiful flower">
    img {
    display: block;
    max-width: 100%;
    }

Posting Permissions

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

  Find Web Hosting      
  Shared Web Hosting UNIX & Linux Web Hosting Windows Web Hosting Adult Web Hosting
  ASP ASP.NET Web Hosting Reseller Web Hosting VPS Web Hosting Managed Web Hosting
  Cloud Web Hosting Dedicated Server E-commerce Web Hosting Cheap Web Hosting


Premium Partners:


Visit forums.thewebhostbiz.com: to discuss the web hosting business, buy and sell websites and domain names, and discuss current web hosting tools and software.