search results:

    • Standard
    • React
    Pricing Learn Community
    • + D
    • Light
    • Dark
    • System
    logo TW Elements
    • Getting started
      • Quick start
      • Tutorials
      • Design system
      • Local installation
      • Optimization
      • Dark mode
      • Theming
      • Changelog
      • Migrating to v2
      • Internationalization guide
      • Class customization
      • Icons Integration
    • CommercialNew
      • Pricing
      • License
      • Installation
      • Git & repository
      • Premium Support
    • Integrations
      • Angular
      • ASP.NET
      • Django
      • Express
      • Laravel
      • Next
      • Nuxt
      • Qwik
      • React
      • Remix
      • Solid
      • Svelte
      • SvelteKit
      • Vue
    • Content & styles
      • Animations
      • Animations Extended
      • 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
      • Lightbox
      • Link
      • List group
      • Modal
      • Notifications
      • Paragraphs
      • Placeholders
      • Popconfirm
      • Popover
      • Progress
      • Rating
      • Scroll back to top button
      • Social buttons
      • Spinners
      • Stepper
      • Testimonials
      • Timeline
      • Toast
      • Tooltip
      • Video
      • Video carousel
    • Forms
      • Autocomplete
      • Checkbox
      • Datepicker
      • Datetimepicker
      • File input
      • Form templates
      • Input Group
      • Inputs
      • Login form
      • Multi range slider
      • Radio
      • Range
      • Registration form
      • Search
      • Select
      • Switch
      • Textarea
      • Timepicker
      • Validation
    • Data
      • Charts
      • Charts advanced
      • Datatables
      • Tables
    • Methods
      • Clipboard
      • Infinite scroll
      • Lazy loading
      • Loading management
      • Ripple
      • Scrollbar
      • Smooth scroll
      • Sticky
      • Touch
    • Design Blocks
      • Admin Charts
      • Admin Complex
      • Admin Forms
      • Admin Maps
      • Admin Navigation
      • Admin tables
      • Banners
      • Contact
      • Content
      • CTA
      • FAQ
      • Features
      • Headers
      • Hero / Intro sections
      • Logo clouds
      • Mega menu
      • News
      • Newsletter
      • Pricing
      • Projects
      • Stats
      • Stats admin
      • Team
      • Testimonials
    • Tools
      • Button generator
      • Card generator
      • Flexbox generator
      • Footer generator
      • Form builder
      • Grid generator
      • Icon generator
      • Instagram Filters generator
      • Logo generator
      • Table generator
      • Typography generator
    • Coming Soon
      • Angular
      • Builder
      • Templates
      • Vue
    • Resources
      • Playground
      • YouTube Channel
      • Private FB Group
      • Newsletter
      • UI Design course New
      • UI / UX tips

    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 <p></p> 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="mb-4 mt-0 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're excited about TW elements and want to see it grow! If you enjoy it, help the project grow by sharing it with your peers. Every share counts, thank you!

    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="mb-4 mt-6 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="mb-0 mt-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="mb-4 mt-0 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

    Tutorials:

    colors flexbox text spacing lists cards sizing forms footer

    Extended Docs:

    figures headings hover effects typography scrollspy link list group center text display flex gradient text letter spacing paragraph spacing position spacing text bold text color text decoration text ellipsis text shadow text size text truncate text wrap

    Generators and builders:

    Form drag & drop Typography SVG icon Instagram Filters button card table flexbox logo grid footer

    Design System (Figma):

    introduction size matters lowering contrast low contrast vs low aesthetics let it breathe do not start with the roof secondary questions project personality design system plan the process principles tips and tricks
    • 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
    © 2024 Copyright: MDBootstrap.com

    Access restricted

    To view this section you must have an active PRO account

    Log in to your account or purchase an TWE subscription if you don't have one.

    Buy TWE PRO