169k views
0 votes
What are the four HTML attributes that are used for loading resources and what do each of them do?

User Dilvan
by
9.2k points

1 Answer

1 vote

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'.

User DanielEli
by
7.6k points

No related questions found