Join the AI Workshop and learn to build real-world apps with AI. A hands-on, practical program to level up your skills.
I previously mentioned that you can add information to the head tag of an HTML document.
The head tag contains special tags that define the document properties.
It’s always written before the body tag, right after the opening html tag:
<!DOCTYPE html>
<html>
<head>
...
</head>
...
</html>
We never use attributes on this tag.
And we don’t write content in it.
It’s just a container for other tags.
Inside it, we can have a wide variety of tags, depending on what you need to do:
titlescriptlinkstylemeta
We’ll see them in detail in the “More HTML” section.
Lessons in this unit:
| 0: | Introduction |
| 1: | Your first HTML page |
| 2: | Text tags |
| 3: | Attributes |
| 4: | Links |
| 5: | Images |
| 6: | Lists |
| 7: | ▶︎ Head tags |
| 8: | Container tags |
| 9: | Using CodePen |
| 10: | Using VS Code |
| 11: | What is the Doctype |