创建bootstrap项目
使用Bootstrap创建第一个网页 (Create First Webpage with Bootstrap)
In the previous article, we learned "how to setup bootstrap?" for a web project. If you haven’t gone through that, it is recommended to read it. Now, in this article, we will learn how to create the first responsive webpage using bootstrap? At any time, if you find any doubt just write it down in the comment section.
在上一篇文章中,我们为一个Web项目学习了“ 如何设置引导程序? ”。 如果您还没有经历过,建议阅读。 现在,在本文中,我们将学习如何使用bootstrap创建第一个响应式网页 ? 任何时候,如果您有任何疑问,请将其写下来。
创建HTML文档类型 (Create HTML doctype)
Always include html5 doctype from the beginning of the program. Also, include HTML starting and closing tag with lang attribute and set lang = "en". This ensures we are using the English language.
始终从程序开始处包含html5 doctype 。 另外,包括带有lang属性HTML开始和结束标记,并设置lang =“ en” 。 这样可以确保我们使用英语。
Example:
例:
<html lang="en">