search results:

    Get started License Playground Services Free hosting Community
    • + D
    • Light
    • Dark
    Tailwind Elements
    • Getting started
      • Quick start
      • Dark mode
      • Theming
      • Changelog
      • Contribute
    • Integrations
      • Angular
      • Django
      • Express
      • Laravel
      • Next
      • Nuxt
      • React
      • Svelte
      • Vue
    • Content & styles
      • Animations
      • Colors
      • Dividers
      • Figures
      • Headings
      • Hover effects
      • Icons
      • Images
      • Mask
      • Shadows
      • Typography
    • Navigation
      • Breadcrumbs
      • Footer
      • Headers
      • Mega menu
      • Navbar
      • Offcanvas
      • Pagination
      • Pills
      • Scrollspy
      • Sidenav
      • Tabs
    • Components
      • Accordion
      • Alerts
      • Avatar
      • Badges
      • Button group
      • Buttons
      • Cards
      • Carousel
      • Chips
      • Collapse
      • Dropdown
      • Gallery
      • Jumbotron
      • Link
      • List group
      • Modal
      • Notifications
      • Paragraphs
      • Placeholders
      • Popover
      • Progress
      • Rating
      • Scroll back to top button
      • Social buttons
      • Spinners
      • Stepper
      • Testimonials
      • Timeline
      • Toast
      • Tooltip
      • Video
      • Video carousel
    • Forms
      • Checkbox
      • Datepicker
      • File input
      • Form templates
      • Input Group
      • Inputs
      • Login form
      • Radio
      • Range
      • Registration form
      • Search
      • Select
      • Switch
      • Textarea
      • Timepicker
    • Data
      • Charts
      • Tables
    • Methods
      • Ripple
    • Design Blocks
      • Banners
      • Contact
      • Content
      • CTA
      • FAQ
      • Features
      • Headers
      • Hero / Intro sections
      • Logo clouds
      • Mega menu
      • News
      • Newsletter
      • Pricing
      • Projects
      • Stats
      • Team
      • Testimonials
    • Coming Soon
      • Angular
      • Builder
      • React
      • Templates
      • Vue

    Paragraphs

    Tailwind CSS Paragraphs

    Use responsive paragraphs component with helper examples for lead, quote, small, inline text elements & more. Free download, open-source license.


    Basic

    Paragraphs are defined with the

    tag. Paragraph tag is a very basic and typically the first tag you will need to publish your text on the web pages.

    A paragraph always starts on a new line, and browsers automatically add some white space (a margin) before and after a paragraph.

    Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nobis, libero iste quod quibusdam maxime recusandae odit eveniet, aspernatur culpa provident error molestiae vitae corporis in vero est! Beatae, ipsum voluptatibus.

    • HTML
            
                
          <p class="mt-0 mb-4 text-base font-light leading-relaxed">
            Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nobis, libero
            iste quod quibusdam maxime recusandae odit eveniet, aspernatur culpa
            provident error molestiae vitae corporis in vero est! Beatae, ipsum
            voluptatibus.
          </p>
          
            
        

    Hey there 👋 we want to make Tailwind Elements a community-driven project. It's open source and free, and we would like it to stay that way. If you enjoy it, help the project grow by sharing it with your peers. Every share counts, thank you!

    Share via Dev.to Share via Twitter Share via Facebook Share via Pinterest Share via Reddit Share via StumbleUpon Share via Vkontakte Share via Weibo Share via HackerNews Share via Gmail Share via Email

    Lead

    Make a paragraph stand out by adding .text-xl.

    Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nobis, libero iste quod quibusdam maxime recusandae odit eveniet, aspernatur culpa provident error molestiae vitae corporis in vero est! Beatae, ipsum voluptatibus.

    • HTML
            
                
          <p class="mt-6 mb-4 text-xl font-light leading-relaxed">
            Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nobis, libero
            iste quod quibusdam maxime recusandae odit eveniet, aspernatur culpa
            provident error molestiae vitae corporis in vero est! Beatae, ipsum
            voluptatibus.
          </p>
          
            
        

    Quote

    Use a quotation on your website adding .text-base.

    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

    - Someone famous in Source Title
    • HTML
            
                
          <p class="mt-0 mb-0 text-base font-light leading-relaxed">
            Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere
            erat a ante.
          </p>
          <footer class="block text-neutral-600 dark:text-neutral-400">
            - Someone famous in <cite>Source Title</cite>
          </footer>
          
            
        

    Small

    Use .text-normal class to make text small.

    Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nobis, libero iste quod quibusdam maxime recusandae odit eveniet, aspernatur culpa provident error molestiae vitae corporis in vero est! Beatae, ipsum voluptatibus.
    • HTML
            
                
          <small class="mt-0 mb-4 font-normal leading-normal">
            Lorem ipsum dolor sit amet, consectetur adipisicing elit. Nobis, libero
            iste quod quibusdam maxime recusandae odit eveniet, aspernatur culpa
            provident error molestiae vitae corporis in vero est! Beatae, ipsum
            voluptatibus.
          </small>
          
            
        

    Inline text elements

    Styling for common inline HTML5 elements.

    You can use the mark tag to highlight text.

    This line of text is meant to be treated as deleted text.

    This line of text is meant to be treated as no longer accurate.

    This line of text is meant to be treated as an addition to the document.

    This line of text will render as underlined.

    This line of text is meant to be treated as fine print.

    This line rendered as bold text.

    This line rendered as italicized text.

    • HTML
            
                
          <p>
            You can use the mark tag to
            <mark class="bg-primary-200">highlight</mark> text.
          </p>
          <p>
            <del>This line of text is meant to be treated as deleted text.</del>
          </p>
          <p>
            <s>This line of text is meant to be treated as no longer accurate.</s>
          </p>
          <p>
            <ins
              >This line of text is meant to be treated as an addition to the
              document.</ins
            >
          </p>
          <p><u>This line of text will render as underlined.</u></p>
          <p>
            <small>This line of text is meant to be treated as fine print.</small>
          </p>
          <p><strong>This line rendered as bold text.</strong></p>
          <p><em>This line rendered as italicized text.</em></p>
          
            
        

    Related resources

    Textarea Text Animations How to make text responsive in Bootstrap How to center text in Bootstrap Paragraphs Bootstrap Typography Tutorial

    If you are looking for more advanced options, try Bootstrap Typography from MDBootstrap.

    • Basic example
    • Lead
    • Quote
    • Small
    • Inline text elements
    • Related resources
    Get useful tips & free resources directly to your inbox along with exclusive subscriber-only content.
    Join our mailing list now
    © 2023 Copyright: MDBootstrap.com