src (source) Sources
replaceable element, where src points to is embedded in the document where the current label is located
If used:
href (hypertext Reference) hypertext reference
Used to establish a relationship between the document involved and the external resource, so that the current label can be linked to the destination address, rather than to pull the target into the page to replace the original content
If used: <a href= "#" ></a>
* But when we load JS and CSS files
<script src= "Bootstrap/js/bootstrap.min.js"></script>
<link href= "bootstrap/css/bootstrap.min.css" rel= "stylesheet" >
When the JS file is loaded: JS content is embedded in the document, the browser resolves, and the browser's rendering is paused until the resource has finished loading. (This is also if we put the JS file in the header, because the reason for the load JS, the page will always come out a few seconds)
When loading a CSS file: page parsing is not paused and will not cause the next style to load because of a single error.
A small summary of src and href