Link

The link element tells a browser about other resources that the page may need to load. Typically, these are the CSS or “stylesheets” which dictate how a page will appear in a browser.

We will not use this element for the first few weeks but will rely upon it for the remainder of the semester after starting with CSS.

Note This element only requires an opening tag, as the element contains all the attributes within the opening tag. link is another example of an empty element.

HTML
<!DOCTYPE html>
<html>
  <head>
    <!-- Other meta elements -->
    <link rel="stylesheet" href="./css/style.css">

  </head>

</html>

html elements head link