HTML Text Formatting & Lists
HTML Text Formatting & Lists
& Lists
An In-Depth Overview Presentation
Introduction to HTML
HTML (HyperText Markup Language) is the standard language for creating web
pages and web applications. It uses tags to structure content.
Basic HTML Tags
Common tags include:
• <html>, <head>, <body>
• <p> for paragraphs
• <h1> to <h6> for headings
Text Formatting
Text formatting tags include:
• <b> or <strong> for bold text
• <i> or <em> for italics
• <u> for underlined text
• <mark> for highlighted text
HTML Headings
Headings help structure your page:
• <h1> is the highest level
• <h2> to <h6> indicate decreasing importance
Paragraphs and Line Breaks
Use the <p> tag to create paragraphs. Use <br> to insert line breaks within text.
Unordered Lists
An unordered list is created with the <ul> tag and list items with <li> tags.
Example:
<ul>
<li>Item One</li>
<li>Item Two</li>
</ul>
Ordered Lists
An ordered list is created with the <ol> tag.
Each list item is still marked by <li>, and items are automatically numbered.
Example:
<ol>
<li>Step One</li>
<li>Step Two</li>
</ol>
Nested & Definition Lists
Nested lists can be created by placing one list inside another.
Thank you for exploring HTML text formatting and list elements!