写第一个bootstrap程序

2024-11-01 21:41:24

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

写第一个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程序

4、将.txt改为.html

写第一个bootstrap程序

5、编码选择UTF-8

写第一个bootstrap程序

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

写第一个bootstrap程序
猜你喜欢