Title: Introduction to HTML
Grade Level: 9th-12th grade
Objective: - Students will understand the basic structure and syntax of HTML. - Students will be able to create a simple webpage using HTML tags. - Students will learn how to link external CSS stylesheets to their HTML documents.
Materials: - Computers with internet access - Text editor software (e.g., Notepad++, Sublime Text, Visual Studio Code) - Projector or smartboard for demonstrations
Duration: 2 class periods (90 minutes each)
Lesson Plan:
Day 1:
Introduction (10 minutes): 1. Begin the lesson by discussing the importance of HTML in web development and its role in creating webpages. 2. Show examples of different websites and explain how HTML is used to structure their content.
HTML Basics (30 minutes): 1. Introduce the basic structure of an HTML document: <!DOCTYPE html>, <html>, <head>, and <body> tags. 2. Explain the purpose of each tag and their hierarchical relationship. 3. Demonstrate how to create a simple HTML document using a text editor. 4. Discuss the concept of HTML tags and their attributes.
HTML Elements and Tags (30 minutes): 1. Introduce common HTML elements such as headings, paragraphs, lists, links, images, and tables. 2. Explain the syntax and attributes associated with each element. 3. Demonstrate how to use these elements in an HTML document. 4. Encourage students to experiment with different tags and attributes to create their own webpage.
Lab Activity (20 minutes): 1. Divide students into pairs or small groups. 2. Provide a list of specific HTML elements and ask students to create a webpage using those elements. 3. Encourage creativity and experimentation with different tags and attributes. 4. Allow students to share their webpages with the class.
Day 2:
CSS and Styling (30 minutes): 1. Review the concept of CSS (Cascading Style Sheets) and its role in styling HTML documents. 2. Explain the benefits of separating content (HTML) from presentation (CSS). 3. Demonstrate how to link an external CSS stylesheet to an HTML document using the tag. 4. Show examples of CSS properties and how they can be used to style HTML elements.
Lab Activity (40 minutes): 1. Instruct students to enhance their previously created webpages by adding CSS styles. 2. Encourage students to experiment with different CSS properties, such as font styles, colors, backgrounds, and margins. 3. Remind students to link their CSS stylesheet to their HTML document. 4. Allow students to share their enhanced webpages with the class.
Conclusion (10 minutes): 1. Recap the key concepts covered in the lesson, including HTML structure, tags, elements, and CSS styling. 2. Discuss the importance of clean and organized HTML code for web development. 3. Encourage students to continue exploring HTML and CSS on their own.
Assessment: - Observe students’ participation and engagement during class discussions and activities. - Evaluate students’ understanding of HTML by reviewing their created webpages and CSS styles. - Assign a short quiz or project where students have to create a webpage from scratch using HTML and CSS.
Loading...