Exit to Dashboard
75% complete

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 text
  • Creating Links

    Links are created with the anchor element:

    html
    <a href="https://example.com">Click here</a>

    Link Attributes

  • href - The URL destination

  • target="_blank" - Open in new tab

  • title - Tooltip text
  • Practice Exercise

    Create a simple page with a heading, paragraph, and link to your favorite website.