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 quickly build ELK based on Docker

[Abstract] This article quickly builds a complete...

Implementation of form submission in html

Form submission code 1. Source code analysis <...

Use of Linux passwd command

1. Command Introduction The passwd command is use...

HTML table markup tutorial (2): table border attributes BORDER

By default, the border of the table is 0, and we ...

CSS horizontal progress bar and vertical progress bar implementation code

Sometimes it’s nice to see some nice scroll bar e...

How to recover data after accidentally deleting ibdata files in mysql5.7.33

Table of contents 1. Scenario description: 2. Cas...

How to perfectly implement the grid layout with intervals on the page

Typical layout examples As shown in the above pic...

js canvas realizes slider verification

This article example shares the specific code of ...

Web Design: The Accurate Location and Use of Massive Materials

Three times of memorization allows you to remembe...

What is flex and a detailed tutorial on flex layout syntax

Flex Layout Flex is the abbreviation of Flexible ...

JS realizes the front-end paging effect

This article example shares the specific code of ...

MySQL database operations (create, select, delete)

MySQL Create Database After logging into the MySQ...

Detailed explanation of how to enter and exit the Docker container

1 Start the Docker service First you need to know...