Complete the code to align the text to the center using Tailwind CSS.
<p class="text-[1]">This text is centered.</p>
text-left or text-right instead of text-center.text- prefix.The class text-center aligns text to the center horizontally.
Complete the code to align the text to the right using Tailwind CSS.
<div class="[1]">Right aligned text here.</div>
text-center when right alignment is needed.text-justify which spreads text evenly.The class text-right aligns text to the right side.
Fix the error in the code to justify the paragraph text using Tailwind CSS.
<p class="text-[1]">This paragraph is justified.</p>
text-center or text-right instead of text-justify.text- prefix.The class text-justify makes the text spread evenly across the line width.
Fill both blanks to create a heading with left-aligned text and bold font using Tailwind CSS.
<h1 class="[1] [2]">Welcome to the site!</h1>
text-center instead of text-left.font-light instead of font-bold.The class text-left aligns text to the left, and font-bold makes the text bold.
Fill all three blanks to create a paragraph with right-aligned, italic, and gray text using Tailwind CSS.
<p class="[1] [2] [3]">This is a styled paragraph.</p>
font-bold instead of italic.text-left instead of text-right.text-right aligns text to the right, italic makes text italic, and text-gray-500 colors the text gray.