Web Design Exam 30 Practice Questions | Generated by AI

Home 2026.01

Below are 30 multiple-choice exam questions for the National Higher Education Self-Study Examination (自学考试) course “Web Design and Production” (网页设计与网站建设, 14352) in China. Each question has one correct option, but answers are intentionally not provided.


1. Which of the following is the primary function of HTML?

2. Which HTML tag is used to define a hyperlink?

3. In HTML5, which tag is used to represent navigation content?

4. Which CSS property is used to change the text color of an element?

5. Which CSS box model component controls the space between the border and the content?

6. Which unit is relative to the font size of the parent element?

7. Which selector has the highest priority in CSS?

8. Which HTML attribute is used to uniquely identify an element?

9. What is the default display value of a <div> element?

10. Which CSS layout model is mainly used for one-dimensional layouts?

11. Which JavaScript keyword is used to declare a constant variable?

12. Which event is triggered when a user clicks an element?

13. Which method is used to get an element by its ID in JavaScript?

14. Which symbol is used for single-line comments in JavaScript?

15. Which image format supports transparency and lossless compression?

16. Which protocol is mainly used to transfer web pages?

17. Which tag is used to embed JavaScript code in an HTML document?

18. Which of the following improves website accessibility?

19. Which technology is commonly used to create responsive web layouts?

20. Which HTML tag is used to define a form?

21. Which input type is used to hide user-entered text?

22. Which HTTP method is mainly used to submit form data securely?

23. Which file extension is commonly used for external CSS files?

24. Which tool is commonly used to inspect and debug web pages in browsers?

25. Which principle focuses on making pages easy to understand and use?

26. Which CSS property controls element stacking order?

27. Which of the following is a client-side scripting language?

28. Which tag is used to display tabular data?

29. Which practice helps improve website loading speed?

30. Which standard is used to ensure web pages work across different browsers?


If you want, I can also:


Back Donate