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 the Marquee tag in XHTML code

In the forum, I saw netizen jeanjean20 mentioned h...

Detailed explanation of the usage of scoped slots in Vue.js slots

Table of contents No slots Vue2.x Slots With slot...

Implementation example of video player based on Vue

When the existing video player cannot meet the ne...

Use the more, less, and cat commands in Linux to view file contents

In Linux, the commands cat, more, and less can al...

How to install ionCube extension using pagoda

1. First install the pagoda Installation requirem...

Handwriting implementation of new in JS

Table of contents 1 Introduction to the new opera...

Windows Server 2016 Standard Key activation key serial number

I would like to share the Windows Server 2016 act...

Docker implements re-tagging and deleting the image of the original tag

The docker image id is unique and can physically ...

CSS3 countdown effect

Achieve results Implementation Code html <div ...

The difference between float and position attributes in CSS layout

CSS Layout - position Property The position attri...

Detailed explanation of Redis master-slave replication practice using Docker

Table of contents 1. Background 2. Operation step...

Vue component organization structure and component registration details

Table of contents 1. Component Organization 2. Co...

Summary of Operator Operations That Are Very Error-Prone in JavaScript

Table of contents Arithmetic operators Abnormal s...