Previous Next

HTML Link & Script Tags

HTML <link> Tag

An HTML <link> tag creates a relationship between the document and another resource. It is generally employed for linking to external style sheets.

Example:

<link rel="stylesheet" href="styles.css">

Output

HTML <script> Tag

The HTML <script> tag specifies client-side JavaScript code within an HTML page.

Example:

<script src="script.js" type="text/javascript"></script>

Output

Previous Next