写第一个bootstrap程序

2025-12-19 04:54:48

1、右键在桌面新建一个文本文档

写第一个bootstrap程序

写第一个bootstrap程序

2、将以下代码复制到记事本当中

<!doctype html>

<html lang="en">

<head>

<title>Title</title>

<meta charset="utf-8">

<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.2/css/bootstrap.min.css" integrity="sha384-Smlep5jCw/wG7hdkwQ/Z5nLIefveQRIY9nfy6xoR1uRYBtpZgI6339F5dgvm/e9B" crossorigin="anonymous">

</head>

<body>

<div class="container">

hello world!

</div>

</body>

</html>

写第一个bootstrap程序

3、点击文件再点击另存为

写第一个bootstrap程序

4、将.txt改为.html

写第一个bootstrap程序

写第一个bootstrap程序

5、编码选择UTF-8

写第一个bootstrap程序

6、保存。此时桌面多了一个HTML文件

写第一个bootstrap程序

7、双击打开它,这就是第一个bootstrap文件

写第一个bootstrap程序

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢