VOOZH about

URL: https://www.geeksforgeeks.org/bootstrap/bootstrap-5-reboot/

⇱ Bootstrap Reboot - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

Bootstrap Reboot

Last Updated : 23 Jul, 2025

Bootstrap Reboot is used to reboot all the styles of some specific elements. It normalizes HTML elements with opinionated styles, sets better defaults for <html> and <body> elements, optimizes text rendering with native font stacks, and resets margins, paddings, and other styles for consistency across devices and browsers.

Bootstrap 5 Reboot:

FeatureDescription
RebootNormalize HTML elements with opinionated styles using only element selectors.
Page defaultsSet better page-wide defaults for <html> and <body> elements.
Native font stackUse the "native font stack" or "system font stack" for optimal text rendering on all devices.
Headings and paragraphsRemove the default margin for HTML header tags (margin-bottom: .5rem) and paragraphs (margin-bottom: 1rem).
ListsReset padding-left on <ul> and <ol> elements.
Inline codeWrap code in <code> tags.
Code blocksPlace code inside <pre> tags, avoiding angle brackets.
VariablesReboot var tag elements.
User inputStyle input typically entered via keyboard.
Sample outputIndicate sample output from a program using <samp> tag.
TablesReboot table borders, padding, and more.
FormsReset form elements to base styles, removing inherited styles.
Misc elementsReset browser defaults for various tags.
HTML5 [hidden] attributeUse [hidden] attribute to hide sections from rendering on the webpage.

Examples of Bootstrap Reboot

Example 1: In this example, we Bootstrap 5 to create a container with centered text. It includes headings, an address, and a blockquote, styled with Bootstrap classes for text color and alignment.

Output:

👁 Bootstrap-Reboot
Bootstrap Reboot Example Output

Example 2: In this example, we showcases various Bootstrap 5 Reboot miscellaneous elements within a centered container. It includes headings, an address, and a blockquote, styled with Bootstrap classes for text color and alignment.

Output:

👁 Bootstrap-Reboot-Example
Bootstrap Reboot Example output


Reference:https://getbootstrap.com/docs/5.0/content/reboot/

Comment
Article Tags:
Article Tags:

Explore