Bootstrap 5 OtherLesson 50Free preview
BS5 Basic Template
This lesson is part of Bootstrap · All levels
Summary
The built-in Bootstrap 5 template provides a starting point for pages that already contain basic HTML structures, meta viewports, and CSS and JS links. There's a regular template starter, a dark mode starter, and a dark mode starter with RTL support. Use this template to make the initial configuration consistent and free of misplacement.
Key points
- The starter template contains a charset, a viewport, a CSS link, and a JS bundle.
- There is a starter variant available for dark mode and RTL support.
- Put the script bundle at the end of the body so the DOM is available.
- Templates save the initial configuration time of the project.
- Add <title> and attribute to the page as needed.
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.