Implement text on webpages with images? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Implement text on webpages with images?

I found a couple of websites which had their content written directly on images (as part of the image-file). As a consequence, the html-code was quite short and consisted mainly of <img> tags instead of semantic elements and paragraphs. Is there any good reason to do this?

6th Apr 2018, 5:40 PM
Stefan
5 Answers
+ 5
It is good for captcha's and other content where you don't want to it to be web scraped but otherwise not ideal
6th Apr 2018, 6:14 PM
Tarantino
Tarantino - avatar
+ 3
The reason is to protect website content from direct and easy copy. Some website owners think this for cool :(
6th Apr 2018, 6:10 PM
Damyan Petkov
Damyan Petkov - avatar
+ 2
It's stupid practice. Site like this won't be positioned in Google search or Yahoo etc...
6th Apr 2018, 5:45 PM
Bartosz Pieszko
Bartosz Pieszko - avatar
+ 1
Damyan Petkov The same website owners cannot programming and need to do this. :(
6th Apr 2018, 6:11 PM
Bartosz Pieszko
Bartosz Pieszko - avatar
0
What programming language? In PHP, you can use this: http://php.net/manual/en/function.imagestring.php
6th Apr 2018, 11:50 PM
Emma