Class 9 · Computer Science · Domain C · Topic 1 of 6

Static website in HTML/CSS

VerifiedNot started

0 key concepts · 0 learning outcomes · 0 simulations mapped · 108 Federal-board questions in this chapter

Verification: Verified — FBISE / NBF document · Source: FBISE Assessment Framework + Model Question Paper, Computer Science Grade IX (mail.fbise.edu.pk, read in full).

1Learn

The full explanation for this topic — being added from the NBF book

It is being added from the NBF book (Federal NEW edition). The verified structure below — what you will learn and the key concepts — is already here; nothing is filled in by guesswork in the meantime.

What you will learn

No learning outcomes are recorded for this topic yet.

2Key concepts

No key-concept list is verified for this topic yet. Key concepts come from the NBF book's own structure and are added only once verified — never guessed.

3Diagram

The interactive diagram for this topic — being added from the NBF book

No simulation is mapped to this chapter yet, so there is no interactive diagram for this topic. The diagram appears here automatically once a simulation is mapped.

4Explore this concept

Explore this concept — being added from the NBF book

No simulation is mapped to this chapter yet. Simulations are added per chapter from the verified sims mapping — nothing is linked by guesswork.

5Worked example

From this chapter's Federal-board questions · 5 marks

Write a complete HTML page for a student profile containing a heading, a paragraph, an image and a link. Explain each tag used.

طالب علم کی پروفائل کے لیے ایک مکمل ایچ ٹی ایم ایل صفحہ لکھیں جس میں ایک سرخی، ایک پیراگراف، ایک تصویر اور ایک لنک ہو۔ استعمال ہونے والے ہر ٹیگ کی وضاحت کریں۔

Model solution

Step 1: Write the page: <!DOCTYPE html> <html> <head> <title>My Profile</title> </head> <body> <h1>Ali Raza</h1> <p>I am a Class 9 student who loves computer science.</p> <img src="ali.jpg" alt="Ali photo"> <a href="https://school.edu">My School</a> </body> </html> Step 2: <html> is the root element enclosing the whole page; <head> holds unseen page information. Step 3: <title> sets the text shown on the browser tab. Step 4: <h1> creates the main heading with the student's name. Step 5: <p> defines a paragraph of text. Step 6: <img> embeds a picture; src gives the file and alt gives alternate text. Step 7: <a> creates a hyperlink; href holds the destination address.

6Try it yourself

  1. Step 1 — Read the practice questions in section 7 and try them with the answers covered.
  2. Step 2 — Say this topic's main idea in your own words, without looking at section 1.
  3. Step 3 — Attempt the practice questions in section 7. Check the answers only after you have tried each one.

7Practice questions

Multiple choice

  1. 1. A program is

    ایک پروگرام ہے۔

    1. A.an input device / ایک ان پٹ ڈیوائس
    2. B.a type of virus / وائرس کی ایک قسم
    3. C.a set of instructions written to perform a specific task / کسی خاص کام کو انجام دینے کے لیے لکھی گئی ہدایات کا ایک مجموعہ
    4. D.a hardware device / ایک ہارڈ ویئر ڈیوائس
    Show answer

    a set of instructions written to perform a specific task / کسی خاص کام کو انجام دینے کے لیے لکھی گئی ہدایات کا ایک مجموعہ

  2. 2. A programming language is

    ایک پروگرامنگ زبان ہے۔

    1. A.a storage device / ایک ذخیرہ کرنے والا آلہ
    2. B.a language used to write instructions for a computer / کمپیوٹر کے لیے ہدایات لکھنے کے لیے استعمال ہونے والی زبان
    3. C.a spoken human language / ایک بولی جانے والی انسانی زبان
    4. D.a hardware component / ہارڈ ویئر کا ایک جزو
    Show answer

    a language used to write instructions for a computer / کمپیوٹر کے لیے ہدایات لکھنے کے لیے استعمال ہونے والی زبان

  3. 3. Machine language consists of

    Machine language پر مشتمل ہے۔

    1. A.flowchart symbols / flowchart علامات
    2. B.decimal numbers / اعشاریہ نمبر
    3. C.binary digits 0 and 1 / بائنری ہندسے 0 اور 1
    4. D.English words / انگریزی الفاظ
    Show answer

    binary digits 0 and 1 / بائنری ہندسے 0 اور 1

  4. 4. Machine language is also called

    Machine language بھی کہا جاتا ہے۔

    1. A.high-level language / high-level language
    2. B.assembly language / assembly language
    3. C.query language / query زبان
    4. D.low-level language / low-level language
    Show answer

    low-level language / low-level language

  5. 5. An advantage of machine language is

    machine language کا ایک فائدہ ہے۔

    1. A.it executes very fast / یہ بہت تیزی سے کام کرتا ہے
    2. B.it is easy to debug / debug کرنا آسان ہے۔
    3. C.it is portable / یہ پورٹیبل ہے
    4. D.it is easy to learn / یہ سیکھنا آسان ہے
    Show answer

    it executes very fast / یہ بہت تیزی سے کام کرتا ہے

Short questions

  1. 1. What is HTML?

    ایچ ٹی ایم ایل کیا ہے؟

    Show answer

    HTML (HyperText Markup Language) is the standard language used to create and structure web pages. / Biodiversity Earth پر زندگی کی تنوع ہے۔ اس کی تین سطحیں ہیں genetic تنوع ، species تنوع اور ecosystem تنوع۔

  2. 2. Write the basic structure of an HTML page.

    ایچ ٹی ایم ایل صفحے کی بنیادی ساخت لکھیں۔

    Show answer

    The basic structure is: <!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <body> Page content goes here. </body> </html> / A′ = {1, 3, 5, 7, 8}۔

  3. 3. What is the purpose of the <a> tag? Give an example.

    ایچ ٹی ایم ایل میں <a> ٹیگ کا کیا مقصد ہے؟ ایک مثال دیں۔

    Show answer

    The <a> (anchor) tag creates a hyperlink to another page or resource. Example: <a href="https://example.com">Visit site</a>. / یہ بین الاقوامی قوانین سائنسی ناموں کو uniform اور ہر زبان اور ہر کتاب میں فوری طور پر قابل شناخت بناتے ہیں۔

From the Federal-board question bank for this chapter (108 questions mapped). Answers stay hidden until you choose to reveal them.

8Common mistakes

Common mistakes for this topic — being added from the NBF book

They are being added from the NBF book — the mistakes students most often make on this topic, with the correction. Nothing is filled in by guesswork.

9Real-life application

Prescribed practicals for Computer Science

Subject level — the FBISE PBA booklets do not split practicals by topic.

  • Section ACSSText styling, colours, spacing, borders, positioning, backgrounds, hover.
  • Section AHTMLFormatting/anchor/image/list/table tags; build blog, portfolio, personal, business, home, contact, about and product pages.
  • Section AJavaScriptVariables, I/O, sequencing, conditionals, loops, simple functions, debugging; arithmetic problems, area/volume, comparisons, factorial, series, tables, largest/smallest, searching, sorting.
  • Section BBusiness plan using a digital toolPrepare a business plan using a digital tool.

See all Computer Science practicals →

10Quick revision

Topic
Static website in HTML/CSS
Chapter
Programming Fundamentals
Key concepts
No key-concept list verified yet.
You should be able to
No learning outcomes recorded yet.
Simulations
0 mapped to this chapter
Bank questions
108 Federal-board questions in this chapter

11Check understanding

Three more questions from this chapter — try them before revealing the answers.

  1. 1. Assembly language uses

    Assembly language استعمال کرتا ہے۔

    1. A.only 0s and 1s / صرف 0s اور 1s
    2. B.mnemonics instead of binary code / بائنری کوڈ کے بجائے mnemonics
    3. C.English sentences / انگریزی جملے
    4. D.flowchart symbols / flowchart علامات
    Show answer

    mnemonics instead of binary code / بائنری کوڈ کے بجائے mnemonics

  2. 2. An example of an assembly mnemonic is

    اسمبلی mnemonic کی ایک مثال ہے۔

    1. A.ADD / ADD
    2. B.COMPILE / COMPILE
    3. C.PRINT / PRINT
    4. D.DEBUG / DEBUG
    Show answer

    ADD / ADD

  3. 3. Assembly language programs must be translated by a

    Assembly language پروگراموں کا ترجمہ a کے ذریعے کیا جانا چاہیے۔

    1. A.debugger / ڈیبگر
    2. B.interpreter / interpreter
    3. C.compiler / compiler
    4. D.assembler / assembler
    Show answer

    assembler / assembler

Say it in your own words: Explain this topic in 2–3 sentences without looking, then compare with section 1 above. (Progress tracking arrives in a later phase — your answer is not recorded anywhere yet.)

We use cookies (including Google cookies for ads and analytics) to improve your experience. See our Privacy Policy.