html what is src code example
Example 1: this src html
<img src="logo1.jpg" onerror="this.src='error.jpg';" class="posting-logo-img">
Example 2: what does src mean in html
Definition and Usage
The src attribute specifies the URL of the media file to play. This attribute is required when <source> is used in <audio> and <video> .
<img src="url/path_of_the_file" name="profile_pic">