open an image in new tab when click on that image without anchor tag.
somewhere in the project we have some images and not have anchor tag as parent. And now we want that on click of that image, image should open in new tab.Point out that image may be repeated twice or many more. For more clearance just understand the following code.==> CSS==> <style type="text/css"> .ApImage{float:left; width: 100%; border: 2px dotted #f00; margin-bottom: 10px;} .apPic{display: inline-block; width: 100%; height: auto;} </style> HTML==> <div class="container"> <div class="ApImage"> <img class="img-responsive apPic" alt="arch_image" src="https://images.adsttc.com/media/images/55f8/107f/9644/1e1f/b100/003e/large_jpg/dubai_board_i_flattened-psd.jpg?1442320488" /> </div> <div class="ApImage"> <img class="img-responsive apPic" alt...