'rel' Example : rel « Node Operation « JavaScript DHTML






'rel' Example

    
<html>
<body>
<a id="myLink" href="examples.css" target="_blank">The style sheet attached to this document</a> 
<script language="JavaScript">
    document.getElementById("myLink").rel = "stylesheet";
</script>
</body>
</html>

    
      
      








Related examples in the same category