References

Collection of references for web development.

HTML src attribute

Description

The URL of the file to embed in the document.

Values

Value
URL

Example

<img src="https://via.placeholder.com/350x150" width="350" height="150" alt="350x150 Image">

Example #2

<audio src="https://codeshack.io/web/example.ogg" controls>