Categories
Tags
a Accessibility Advanced Algorithms Alias API Design Authentication Bash bash Basics Beginners Best Practices Big O bun cat cd CLI Cloudflare Comments Container Elements Container Queries cp css CSS Data Structures Delta deno DevOps Doctype Download Editors Error Examples Features figure File Watching Filesystem fish Fish Shell footer frontend Guide Hardware Upgrade header Hello World History Homebrew HTML HTML5 humor img javascript JavaScript Laptop Review Learning less Links linux Linux Linux Drivers ls macOS Media Queries meta Mobile-First mv Netcat Networking Node.js npm Open Source Package Manager picture pm2 Privacy Productivity programming Programming pwd Quill Remote Access Responsive Design Responsive Images Rich Text Editor rmdir Runes Scalability section Security Self-hosting Semantic HTML shell Shell Shell Script Shells srcset State Management Structure Svelte Svelte 5 Svelte Store SvelteKit svg Tables tail Tech Journey Text Formatting Tools touch Troubleshooting Tunnel Tutorial TypeScript Ubuntu Unix ux Video Processing Vim web development Web Development web-development webdev WiFi
106 words
1 minutes
Formatting Text with HTML Tags
Formatting Text with HTML Tags
HTML provides various tags for formatting text. This guide covers common HTML tags used for text formatting.
Basic Text Formatting
Bold Text
Use the <b>
or <strong>
tag to make text bold:
<b>Bold Text</b>
<strong>Bold Text</strong>
Italic Text
Use the <i>
or <em>
tag to italicize text:
<i>Italic Text</i>
<em>Italic Text</em>
Underlined Text
Use the <u>
tag to underline text:
<u>Underlined Text</u>
Lists
Unordered Lists
Use the <ul>
and <li>
tags to create unordered lists:
<ul>
<li>Item 1</li>
<li>Item 2</li>
</ul>
Ordered Lists
Use the <ol>
and <li>
tags to create ordered lists:
<ol>
<li>Item 1</li>
<li>Item 2</li>
</ol>
Conclusion
By using these HTML tags, you can format text effectively on your webpages. Proper text formatting enhances readability and user experience.
Formatting Text with HTML Tags
https://zxce3.net/posts/formatting-text-with-html-tags/