0

What is the meaning of <link rel="preconnect" href=

I really have problems with this

22nd Jul 2021, 9:29 PM
Nv Abdallah
Nv Abdallah - avatar
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
22nd Jul 2021, 9:57 PM
Ervis Meta
Ervis Meta - avatar
22nd Jul 2021, 10:23 PM
Abhay
Abhay - avatar
0
مثلاً <head> <link rel="stylesheet" href="styles.css"> </head> تستخدم link عشان تربط لك ملف خارجي في المجلد اللي عندك ؛ هنا rel هي ملف css و href هي تآخذك لمكانه في المجلد
22nd Jul 2021, 10:30 PM
**🇦🇪|🇦🇪**
**🇦🇪|🇦🇪** - avatar