JS, CSS style reference writing

JS, CSS style reference writing
CSS:
1.

<link type="text/css" href="<%=ResolveUrl("~/css/css.css")%>" rel="stylesheet"/> asp.net relative server path
<link type="text/css" href="/css/css.css" rel="stylesheet"/>
2.
<style type="text/css">
.txtClass {
font-size: 12px;
}
</style>
JS: Tags cannot be abbreviated, must be <script></script>
1.
<script type="text/javascript" src="<%=ResolveUrl("~/js/jquery-1.4.2.mini.js")%>" ></script> asp.net relative server path
<script type="text/javascript" src="/js/jquery-1.4.2.mini.js" ></script>

2.
<script language="javascript" type="text/javascript">
function check_up_message(text)
{
}
</script>

<<:  Solution for Docker Swarm external verification load balancing not taking effect

>>:  Web Design: Script Materials Reconstruct User Experience

Recommend

How to use dl(dt,dd), ul(li), ol(li) in HTML

HTML <dl> Tag #Definition and Usage The <...

CSS achieves colorful and smart shadow effects

background Ever wondered how to create a shadow e...

How to add color mask to background image in CSS3

Some time ago, during development, I encountered ...

Vue uses v-model to encapsulate the entire process of el-pagination components

Use v-model to bind the paging information object...

Several common CSS layouts (summary)

Summary This article will introduce the following...

Tutorial on how to deploy LNMP and enable HTTPS service

What is LNMP: Linux+Nginx+Mysql+(php-fpm,php-mysq...

4 ways to implement routing transition effects in Vue

Vue router transitions are a quick and easy way t...

Introduction to generating Kubernetes certificates using OpenSSL

Kubernetes supports three types of authentication...

Detailed analysis of MySQL optimization of like and = performance

introduction Most people who have used databases ...

Database query optimization: subquery optimization

1. Case Take all employees who are not the head o...

Bootstrap 3.0 study notes CSS related supplement

The main contents of this article are as follows:...

Example code of how to create a collapsed header effect using only CSS

Collapsed headers are a great solution for displa...

Mac VMware Fusion CentOS7 configuration static IP tutorial diagram

Table of contents Install CentOS7 Configuring Sta...

Extract specific file paths in folders based on Linux commands

Recently, there is a need to automatically search...