Designing a Web Page with HTML and CSS :Programming Foundations with JavaScript, HTML and CSS (Java Programming and Software Engineering Fundamentals Specialization) Answers 2025
1. Question 1
Correct Answer: The table will display AAA and EEE in the first row, OOO and III in the second row.
✔️ Two-row table where first cell is header (th) and second cell is data (td).
2. Question 2
Correct Answer: h1 appears bigger than h2.
✔️ The page will show the h2 heading first, then the larger h1 heading.
3. Question 3
Correct Answer: The list will show nested bullets for CCC and EEE/FFF under their nearest parent.
✔️ Indentation reflects list nesting.
4. Question 4
Correct Answer: ✔️ There is an extra ending list item tag after “BBB.”
❌ Others are not the cause of blank bullet.
5. Question 5
Correct Answer: ✔️ The <th> tag bolds a table header item; <td> does not.
6. Question 6
Correct Answer: ✔️ id = styles ONE element; class = styles MANY elements.
7. Question 7
Correct Answer: ✔️ 65,536
Because two components (R & G) → 256 × 256 = 65,536.
8. Question 8
✔️ 3
✔️ C
❌ L
❌ –2
9. Question 9
Correct Answer: ❌ False
Only a few RGB colors have names.
10. Question 10
✔️ (8, 108, 208)
✔️ (0, 0, 0)
❌ (60, 85) → only 2 values
❌ (3, 30, 300) → 300 invalid (>255)
❌ (-50, 150, 50) → negative not allowed
📘 Summary Table
| Q | Correct Answer | ✔️/❌ |
|---|---|---|
| 1 | Table with 2 rows (AAA–EEE, OOO–III) | ✔️ |
| 2 | h2 then bigger h1 | ✔️ |
| 3 | Nested list indentation | ✔️ |
| 4 | Extra </li> after BBB |
✔️ |
| 5 | <th> bolds header, <td> normal |
✔️ |
| 6 | id = one element, class = many | ✔️ |
| 7 | 65,536 | ✔️ |
| 8 | 3, C | ✔️ |
| 9 | False | ✔️ |
| 10 | (8,108,208), (0,0,0) | ✔️ |