“1” is the option to...">

How is the src attribute of an img tag executed?

Consider the following code:

 <img src="http://website.com/Page/1"/>

“1” is the option to insert into any table on the Page page of the website. Will a visitor to this page (containing the code above) cause the page to execute and insert 1 into the table? If the page has Javascript code. Will it be executed if we visit the page containing the code above?

+5
source share
2 answers

, , , URL- ( ). , HTTP GET mysite.com //1. . , , , ( ) - , .

, , , . , , HTML-, , alt , .

+5

img ( display: none, ), HTTP-. .

HTTP-, URL-, ( 1x1 gif), .

, , . (, http://website.com/Page/1?23423412341), , htaccess .

+1

All Articles