Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.



Get Started Now!

HTML: Link Tag

HTML

The <link> tag defines a link between a document and an external resource.

The <link> element is an empty element, it contains attributes only. This element goes only in the head section, but it can appear any number of times.

AttributeValueDescription
crossoriginanonymous
use-credentials
Specifies how the element handles cross-origin requests
hrefURLSpecifies the location of the linked document
hreflanglanguage_codeSpecifies the language of the text in the linked document
mediamedia_querySpecifies on what device the linked document will be displayed
relalternate
archives
author
bookmark
external
first
help
icon
last
license
next
nofollow
noreferrer
pingback
prefetch
prev
search
sidebar
stylesheet
tag
up

Required. Specifies the relationship between the current document and the linked document
sizesHeight X Width
any
Specifies the size of the linked resource. Only for rel=”icon”
typemedia_typeSpecifies the media type of the linked document

html code

<!DOCTYPE html>
<html>

<head>
  <title>
    link with css
  </title>
  <link rel="stylesheet" href="css/this is css.css">

</head>

<body class="design">
<h1> link tag </h1>
<p>
  Lorem, ipsum dolor sit amet consectetur adipisicing elit. Eos quibusdam obcaecati fugit sunt accusantium placeat maxime enim suscipit voluptate nam.
</p>
</body>

</html>

css code

.design{
    background-color: aqua;
    border-radius: 20px;
    text-align: center;
    border-style:solid ;
}
    h1{
       color:yellow;
    }
p{
    color:beige;
}
vikashdev k
Latest posts by vikashdev k (see all)
0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x