Working with Text and Links
10 minutes
Working with Text and Links
Text Elements
HTML provides various elements for text content:
<h1> to <h6> - Headings<p> - Paragraphs<strong> - Bold/important text<em> - Italic/emphasized textCreating Links
Links are created with the anchor element:
html
<a href="https://example.com">Click here</a>
Link Attributes
href - The URL destinationtarget="_blank" - Open in new tabtitle - Tooltip textPractice Exercise
Create a simple page with a heading, paragraph, and link to your favorite website.