Kursusindhold
HTML Essentials
HTML Essentials
2. HTML Fundamentals
Challenge: Applying Special Text Markup
Task
Create an HTML document with tags for text formatting, links, and a button.
index.html
Task
Step 1: Use
<strong>
tag to emphasize important text.Step 2: Use
<em>
tag to add emphasis by italicizing text.Step 3: Use
<u>
tag to underline text for visual clarity.Step 4: Use
<s>
tag to add a strikethrough effect to text.Step 5: Add
<a>
tags to create links. Specify appropriatehref
values for different types of links.For URL use
href="https://codefinity.com/
;For telephone use
href="tel:+987654321"
;For email use
href="mailto:example@example.com"
.
Step 6: Use the
<button>
tag with thetype="button"
attribute to create a clickable button.
index.html
Var alt klart?
Tak for dine kommentarer!
Sektion 2. Kapitel 6