Final answer:
The four HTML attributes used for loading resources are src, href, media, and type.
Step-by-step explanation:
The four HTML attributes used for loading resources are src, href, media, and type.
The src attribute is used to specify the source URL of an external resource, such as an image or a script. The href attribute is used to specify the URL of a linked resource, such as a stylesheet or a webpage. The media attribute is used to specify the media type for a linked resource, such as 'screen' or 'print'. The type attribute is used to specify the MIME type of a linked resource, such as 'text/css' or 'application/javascript'.