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

Free tool to verify that HTML, CSS and RSS feeds are correct

One trick for dealing with this type of error is t...

MySQL data types full analysis

Data Type: The basic rules that define what data ...

Introduction to MySQL role functions

Table of contents Preface: 1. Introduction to rol...

Vue.js implements timeline function

This article shares the specific code of Vue.js t...

A simple LED digital clock implementation method in CSS3

This should be something that many people have do...

Docker installation Nginx tutorial implementation illustration

Let’s install Nginx and try it out. Please note t...

5 common scenarios and examples of JavaScript destructuring assignment

Table of contents Preface 1. Extract data 2. Alia...

Pure CSS to achieve candle melting (water droplets) sample code

Achieve results Implementation ideas The melting ...

Detailed explanation of the steps to create a web server with node.js

Preface It is very simple to create a server in n...

How to install SVN server under Linux

1. Yum installation yum install subversion 2. Con...

PHP scheduled backup MySQL and mysqldump syntax parameters detailed

First, let's introduce several common operati...

Mysql stores tree structure through Adjacency List (adjacency list)

The following content introduces the process and ...

JavaScript implementation of classic snake game

This article shares the specific code of JavaScri...