Level Navigation: 0 | 1 | Current Level: 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
Practice creating paragraphs, headings, images, and links with Emmet shortcuts.
p + [TAB]
h1 + [TAB]
What happened? Click to see.
The `p` created a paragraph element `
`, and `h1` created a heading element ``. Emmet automatically adds the opening and closing tags for you!✅ Commit Reminder:
git add .
git commit -m "Add paragraph and heading with Emmet"
git push
🔄 Workflow Reminder: Remember to save (
Ctrl + S
) and refresh (Ctrl + R
) as you make changes!
img + [TAB]
What happened? Click to see.
This created a self-closing image tag ``. Notice how Emmet automatically added the `src` and `alt` attributes that images typically need!
✅ Commit Reminder:
git add .
git commit -m "Add image element with Emmet"
git push
🔄 Workflow Reminder: Remember to save (
Ctrl + S
) and refresh (Ctrl + R
) as you make changes!
a + [TAB]
What happened? Click to see.
✅ Commit Reminder:
git add .
git commit -m "Add link element with Emmet"
git push
🔄 Workflow Reminder: Remember to save (
Ctrl + S
) and refresh (Ctrl + R
) as you make changes!
You learned how to:
p
h1
img
(including src and alt attributes)a
(including href attribute)These are the foundation shortcuts for creating basic HTML elements!
Level Navigation: 0 | 1 | Current Level: 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |