0
What is the meaning of <link rel="preconnect" href=
I really have problems with this
3 Antworten
+ 1
The href attribute is used for the pointing link of the <link> tag : the destination of the link.
The rel attribute is used for SEO or more precisely for browser to make an action on it.
href :
https://www.w3schools.com/tags/att_a_href.asp
rel :
https://www.w3schools.com/tags/att_a_rel.asp
+ 1
Maybe this is of some help!
https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types/preconnect
0
مثلاً
<head>
<link rel="stylesheet" href="styles.css">
</head>
تستخدم link عشان تربط لك ملف خارجي في المجلد اللي عندك ؛ هنا rel هي ملف css و href هي تآخذك لمكانه في المجلد