Which selector applies a rule to every data cell of a table?
MCQs — Programming Fundamentals
Practice questions for Computer Science.
Which CSS property changes the colour of text?
Which CSS property sets the type of font, such as Arial?
Which CSS property changes the size of the text?
Which selector should be used to apply a background colour to the whole page?
Which CSS rule centres all
headings on a page?
Which CSS rule gives a page a light grey background and black text?
Which CSS property is used to place a picture behind the content of a page?
Which HTML tag is used to add a video clip to a web page?
Which attribute of the
What does the controls attribute do in the
Which code adds the video file lesson.mp4 with play and pause buttons?
Which attributes set the size of the video display?
Which type of CSS is written inside the style attribute of an HTML tag?
Where is embedded CSS written?
Which type of CSS is stored in a separate file with the .css extension?
Which tag connects an external CSS file to an HTML page?
Why is external CSS useful for a website with many pages?
How does embedded CSS differ from inline CSS?
In which part of an HTML page is the tag for an external style sheet placed?
🎯 How to get the most out of these questions
- Attempt each question before revealing the answer.
- Read the explanation even when you answered correctly — it reinforces the concept.
- Note down any question you got wrong and revisit it the next day.
- Use the pagination below the list to work through every page — do not stop at page 1.
📌 MCQs — FAQs
Are the answers in this section verified?
Yes — every answer on this page has been verified. MCQs also include explanations where available.
Can I print these questions?
Yes — use your browser's print option (Ctrl+P / Cmd+P) to print or save the page as PDF.
How often are questions updated?
New questions are added regularly. If a paper pattern changes, existing questions are reviewed and updated.