Lesson start ideas | Give a creative idea how to begin a lesson |
Which subject | Computer science |
What age group | Year or Grade 9 |
What topic | HTML |
Quantity | 1 |
Any other preferences |
Ask the students to close their eyes and think of the scariest, most hair-raising website they've ever seen.
Now, open your eyes. Did any of you picture a website with text that looked like it was from the 90s, bland colors, and outdated formatting? Chances are, that website was constructed using HTML (Hypertext Markup Language).
In this lesson, we'll be learning about HTML - what it is, and how it's used to build the web pages we see today.
HTML is the foundation of web design, providing the framework for displaying text, images, and other media on a webpage. It's a markup language, meaning it uses tags to display content in a visually-pleasing way. Think of HTML as the skeleton of a webpage, providing the structure for everything on the page.
Let's take a look at an example of HTML in action:
\<html> \<head> \<title>My Webpage\</title> \</head> \<body> \<h1>Welcome to My Webpage\</h1> \<p>This is some text on my webpage.\</p> \</body> \</html>
In this example, we have a basic HTML document with a title, header, and body. The \<h1> tag denotes a header, while the \<p> tag represents a paragraph.
In summary, HTML is the backbone of web design and is used to create visually-striking websites. In the next lesson, we'll dive deeper into HTML's structure and learn more about the tags used to create amazing web pages.