Egypt › Secondary › First Secondary Grade › Programming and Artificial Intelligence › Unit ١٣: Generative AI

Lesson ٢: Creating and Editing a Static Web Page (HTML and CSS)

First Secondary GradeProgramming and Artificial IntelligenceSecond Termالدرس ٢٣٠ دقيقة

فيديو الشرح

الفيديو قيد الإنتاج، وسيظهر هنا فور اعتماده.

ماذا ستتعلم؟

اختبر استعدادك أولًا

١. In the question "What does HTML stand for?" the options are: ١) HyperText Markup Language ٢) High Tech Modern Language ٣) Home Tool Markup Language ٤) Hyper Transfer Machine Link. What is the number of the correct answer?
٢. In the question "What is HTML used for?" the options are: ١) Styling colors only ٢) Building the structure and content of web pages ٣) Playing music ٤) Charging devices. What is the number of the correct answer?
٣. In the question "What is a tag in HTML?" the options are: ١) A price label ٢) A virus ٣) A mark that tells the browser what a part of the page is ٤) A cable. What is the number of the correct answer?

الشرح خطوة بخطوة

Level ١: We explore together

Lesson topic: Creating and Editing a Static Web Page (HTML and CSS). Every web page you visit is built with a language called HTML.

The story: HTML uses tags to mark the parts of a page: headings, paragraphs, images and links. A static web page shows fixed content that does not change while the visitor watches. CSS is the language that styles the page: colors, fonts, sizes and layout. HTML builds the structure and CSS adds the beauty, like walls and paint in a house. In this lesson we learn what HTML and CSS are and how a simple static page is made and edited.

أخطاء شائعة وتصحيحها

أمثلة محلولة متدرجة

Easy · مثال ١

What is HTML used for?

  1. نقرأ السؤال معًا بهدوء.
  2. Structure of pages.
الإجابة: Building the structure and content of web pages
Easy · مثال ٢

What is CSS used for?

  1. نقرأ السؤال معًا بهدوء.
  2. Looks and style.
الإجابة: Styling the page: colors, fonts, sizes and layout
Easy · مثال ٣

What is a static web page?

  1. نقرأ السؤال معًا بهدوء.
  2. Fixed content.
الإجابة: A page with fixed content that does not change while the visitor is viewing
Medium · مثال ٤

Explain the house analogy for HTML and CSS.

  1. نقرأ السؤال معًا بهدوء.
  2. Walls then paint.
الإجابة: HTML builds the structure like walls and rooms, and CSS adds the look like paint, colors and decoration
Medium · مثال ٥

A page shows plain black text with no colors or layout. What is probably missing?

  1. نقرأ السؤال معًا بهدوء.
  2. The styling layer.
الإجابة: The CSS styling is missing or broken, so the browser shows the raw structure only
Medium · مثال ٦

List the steps to create and edit a simple static page.

  1. نقرأ السؤال معًا بهدوء.
  2. Write, save, open, edit.
الإجابة: Write the HTML code in an editor, save the file, open it in a browser, then edit the code and refresh to see changes
Medium · مثال ٧

Why do we keep structure (HTML) separate from style (CSS)?

  1. نقرأ السؤال معًا بهدوء.
  2. Change looks without rebuilding.
الإجابة: Because we can restyle the whole site by editing one style file without touching the page content
Advanced · مثال ٨

Plan a personal profile page: list three parts you would include, which language builds each part, and one style choice.

  1. نقرأ السؤال معًا بهدوء.
  2. Heading, paragraph, image.
الإجابة: Example: a heading with my name (HTML), a paragraph about me (HTML), a photo (HTML), and a calm color theme with readable fonts (CSS)
Error analysis · مثال ٩

Your friend says: "CSS builds the content of the page and HTML paints it." Is this correct?

  1. نقرأ السؤال معًا بهدوء.
  2. Who builds and who paints?
الإجابة: Wrong, HTML builds the structure and content, and CSS styles it

الخريطة الذهنية

Creating and Editing a Static Web Page (HTML and CSS)Unit ١٣: Generative AI
▼
HyperText Markup LanguageWhat does HTML stand for?
Building the structure and content of web pagesWhat is HTML used for?
A mark that tells the browser what a part of the page isFrom the lesson questions
A page with fixed content that does not change while viewingWhat is a static web page?

إنفوجرافيك: Lesson map: words of the day

Lesson map: words of the day
اضغط على أي صف لترى الفكرة.
The key ideas of the lesson in order
We review the questions after one day, then after three days

تدريبات متنوعة مع الإجابات والتفسير

اكتب الإجابة أو اختر ثم اضغط. بعد كل سؤال يظهر الحل مع التفسير.

A) I choose the answer

١. The answer "No, pages cannot be edited" to the question "Is editing a static page done by changing its code?" is correct.
٢. The answer "Printing paper" to the question "What is CSS used for?" is correct.
٣. From the lesson explanation: HTML uses tags to mark the parts of a page: headings, paragraphs, images and links.
٤. The answer "Battery tags" to the question "Which tag-level part marks a big heading and a paragraph?" is correct.
٥. The answer "Code Simple Structure" to the question "What does CSS stand for?" is correct.
٦. The answer "Charging devices" to the question "What is HTML used for?" is correct.
٧. The answer "Writing network protocols" to the question "What is CSS used for?" is correct.
٨. The answer "A virus" to the question "What is a tag in HTML?" is correct.

B) I practice and answer

١. The answer "Yes, we edit the HTML or CSS code and save" to the question "Is editing a static page done by changing its code?" is correct.
٢. The answer "Styling colors only" to the question "What is HTML used for?" is correct.
٣. From the lesson explanation: Every web page you visit is built with a language called HTML.
٤. The answer "Printer tags" to the question "Which tag-level part marks a big heading and a paragraph?" is correct.
٥. Which question has the answer "A page with fixed content that does not change while viewing"?
٦. From the lesson explanation: HTML builds the structure and CSS adds the beauty, like walls and paint in a house.
٧. From the lesson explanation: What does HTML stand for?
٨. The answer "Cascading Style Sheets" to the question "What does CSS stand for?" is correct.

C) I review and play

١. Which question has the answer "Heading tags and a paragraph tag"?
٢. The answer "DNS" to the question "To change the color of all headings, which tool do we use?" is correct.
٣. The answer "Roof and sky" to the question "HTML and CSS are like what in a house?" is correct.
٤. The answer "A page that talks" to the question "What is a static web page?" is correct.
٥. The answer "High Tech Modern Language" to the question "What does HTML stand for?" is correct.
٦. The answer "A mark that tells the browser what a part of the page is" to the question "What is a tag in HTML?" is correct.
٧. From the lesson explanation: CSS is the language that styles the page: colors, fonts, sizes and layout.
٨. The answer "Creative Screen Setup" to the question "What does CSS stand for?" is correct.

ملخص صوتي وقارئ الدرس

قارئ تجريبي يعمل بصوت جهازك (مجاني). ليس تسجيلًا احترافيًا، وجودة الصوت العربي تختلف من جهاز لآخر. التسجيل الصوتي الاحترافي لم يُنتج بعد.

Lesson topic: Creating and Editing a Static Web Page (HTML and CSS). Every web page you visit is built with a language called HTML.

We review the key points of the lesson: What does HTML stand for? -> HyperText Markup Language; What is HTML used for? -> Building the structure and content of web pages.

We apply what we learned by answering these questions: What does HTML stand for? -> HyperText Markup Language; What is HTML used for? -> Building the structure and content of web pages; What is a tag in HTML? -> A mark that tells the browser what a part of the page is.

مسار المراجعة للامتحان

  1. Day one (١٠ minutes): We read levels ١ to ٣ together, then solve exercises (A).
  2. Day two (١٠ minutes): We play the level ٤ games and solve exercises (B).
  3. Day three (١٠ minutes): Exercises (C), then the Level One test.
  4. Before the school exam: We repeat the Level Three test and look at the common mistakes.

اختبارات بثلاثة مستويات

Level One Test: The Basics

٨ أسئلة. اجب ثم اضغط «أنهِ الاختبار» لترى درجتك.

١. The answer "A moving robot" to the question "What is a static web page?" is correct.
٢. The answer "Styling the page: colors, fonts, sizes and layout" to the question "What is CSS used for?" is correct.
٣. Which question has the answer "Styling the page: colors, fonts, sizes and layout"?
٤. Which question has the answer "Walls and paint"?
٥. The answer "A cable" to the question "What is a tag in HTML?" is correct.
٦. From the lesson explanation: What is a static web page?
٧. From the lesson explanation: To change the color of all headings, which tool do we use?
٨. The answer "Home Tool Markup Language" to the question "What does HTML stand for?" is correct.

المصادر والحقوق

رمز QR هذه الصفحة. يفتح درس «Lesson ٢: Creating and Editing a Static Web Page (HTML and CSS)» نفسه.