Home >Web Front-end >Bootstrap Tutorial >How are the files starting with bootstrap imported?

How are the files starting with bootstrap imported?

(*-*)浩
(*-*)浩Original
2019-07-18 16:56:532086browse

The

tag defines the relationship between the document and external resources. The most common use of the tag is to link style sheets.

How are the files starting with bootstrap imported?

#Note: The link element is an empty element, it only contains attributes. (Recommended learning: Bootstrap video tutorial)

Note: This element can only exist in the head part, but it can appear any number of times

Example:

<!-- 新 Bootstrap 核心 CSS 文件 --> 
<link rel="stylesheet" href="//bootstrap/3.3.5/css/bootstrap.min.css"> 
   
<!-- 可选的Bootstrap主题文件(一般不用引入) --> 
<link rel="stylesheet" href="//bootstrap/3.3.5/css/bootstrap-theme.min.css"> 
   
<!-- jQuery文件。务必在bootstrap.min.js 之前引入 --> 
<script src="//jquery/1.11.3/jquery.min.js"></script> 
   
<!-- 最新的 Bootstrap 核心 JavaScript 文件 --> 
<script src="//bootstrap/3.3.5/js/bootstrap.min.js"></script>

It should be noted that:

bootstrap.min.css 
jquery.mis.js
bootstrap.min.js

The order in which these three files are introduced must not be wrong.

For more technical articles related to Bootstrap, please visit the Bootstrap Tutorial column to learn!

The above is the detailed content of How are the files starting with bootstrap imported?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn