Reputation: 1074
I saw an img
tag in some source code and I'm not sure what the
and 	
do, here is the example:
<img src=" 	assets/img/banner.jpg">
I took a look online but the search results didn't turn up anything (possibly because of the ampersands and hash in the search term), and playing about in the console didn't reveal anything either.
what does hash semicolon do in src
what does &#num; do in src
If anyone could give me a pointer I'd appreciate it.
Thanks,
James
Upvotes: 0
Views: 22
Reputation: 507
Both
and 	
are HTML character entities. Maybe unintentionally inserted by someone in the source code.
See more about HTML character entities from here:
https://dev.w3.org/html5/html-author/charref
https://www.w3schools.com/html/html_entities.asp
Upvotes: 1