当前位置:网站首页>Attributes of script tag
Attributes of script tag
2022-06-10 16:54:00 【Peach root Fairy】
<script type language async src defer charset crossorigin integrity></script>async: Indicates that you should start downloading scripts immediately , But it can't stop other page actions ;
type
language: abandoned . Originally used to represent scripting languages in code blocks ( Such as "JavaScript"、"JavaScript 1.2" or "VBScript"). Most browsers ignore this property , It should no longer be used .
src
defer: Scripts can be delayed until the document is fully parsed and displayed , Only valid for external script files .
charset: Specifies the code character set
crossorigin: Configure cross site resource sharing settings , Parameter options :anonymous The configuration file does not have to set the credential flag ;use-credentials Set the credential flag
integrity: Optional . Allows comparison between received resources and specified encrypted signatures to verify the integrity of subresources (SRI,Subresource Integrity). If the signature of the received resource does not match the signature specified by this attribute , The page will report an error , Scripts don't execute . This property can be used to ensure that the content distribution network (CDN,Content Delivery Network) Will not provide malicious content .
边栏推荐
- Devops-1- introduction
- Webdypro layout control cannot be used_ SAP LIUMENG
- Tactile intelligent sharing-a133 application in laryngoscope
- PV operation daily question - single log bridge problem
- Fiddler模拟低速网络环境
- Chinese translation of Rilke's autumn with heartless sword
- Quickly understand the commonly used symmetric encryption algorithm, and no longer have to worry about the interviewer's thorough inquiry
- STOP在屏幕程序的应用_SAP刘梦_
- Come with me to understand gaussdb (for opengauss) [Gauss is not a mathematician this time]
- Learn actionchains through jianshu.com and Chapter 3 of selenium webdriver
猜你喜欢

DAO 是如何实现去中心化治理的?

From web2 to Web3, ideology also needs to change

Why do I need a thread pool? What is pooling technology?

What open source tools are actually used in the black cool monitoring interface?

Global and Chinese intelligent elderly care system industry 2 competition analysis and Investment Strategic Planning Research Report 022-2028

You have a ml.net quick reference manual to check!

嵌入式开发:使用MCU进行无线更新面临的5大挑战

Carry forward the past and forge ahead into the future, multiple residuals | densenet (I)
![ASP. Net core 6 framework unveiling example demonstration [12]: advanced usage of diagnostic trace](/img/29/72c04d86e48f9fa34e5e17c44b6bd9.jpg)
ASP. Net core 6 framework unveiling example demonstration [12]: advanced usage of diagnostic trace

How to realize the website dark mode
随机推荐
PV operation daily question 1 - single wooden bridge problem (variant 1)
New York financial regulators issue official guidelines for stable currency
卷起來,突破35歲焦慮,動畫演示CPU記錄函數調用過程,進互聯大廠如此簡單
MySQL如何修改字段类型和字段长度
What is the 100th trillion digit of PI decimal point? Google gives the answer with Debian server
Fiddler配置
51 timer initial value calculation
Li Ling: in six years, how did I go from open source Xiaobai to Apache top project PMC
[proteus simulation] ds18b20+ alarm temperature adjustable +lm016 display
顺应医改,积极布局——集采背景下的高值医用耗材发展洞察2022
PV operation daily question - orange apple question (advanced version variant)
Technology sharing | quick intercom, global intercom
STM32 printf garbled
Fiddler模拟低速网络环境
那年高考
[web security self-study] section 1 building of basic Web Environment
PHP wechat H5 payment demo
L1-069 tire pressure monitoring (15 points)
Why do I need a thread pool? What is pooling technology?
Web2 到 Web3,意识形态也需要发生改变