A
A
Andrey Bely2020-06-26 15:57:58
HTML
Andrey Bely, 2020-06-26 15:57:58

Why does the "rel" attribute of the "link" tag have different values ​​in different situations (stylesheet or preload)?

Good afternoon
Our site on bitrix https://www.decorbazar.ru/ does not pick up .css styles in Mozilla Firefox and Internet Explorer browsers, as it turned out due to the “preload” value of the “rel” attribute of the “link” tag.
5ef5efe4bd4e6706674039.png

Usually we carry out technical work on a copy of the site deployed on the local “Open Server”, deploying the site and opening it in the browser, I saw that the “link” tags instead of the value “preload” have the values ​​“stylesheet”, and the site deployed on the local is displayed with all styles.
5ef5effc0e811198297169.png

Please tell me theoretically or physically it is possible that hosting somehow affects the link tag or maybe some other reasons? Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Arseniy, 2020-06-26
@just_guy95

https://developer.mozilla.org/ru/docs/Web/HTML/Ele...
https://developer.mozilla.org/ru/docs/Web/HTML/Pre...
+ the onload event works in the code , which changes the value from preload to style. This is a hack that doesn't work well.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question