|
| 1 | +--- |
| 2 | +audio: false |
| 3 | +generated: true |
| 4 | +image: false |
| 5 | +lang: en |
| 6 | +layout: post |
| 7 | +model: openai/gpt-5.1 |
| 8 | +title: Web Design Exam 30 Practice Questions |
| 9 | +translated: false |
| 10 | +type: note |
| 11 | +--- |
| 12 | + |
| 13 | +Below are **30 multiple-choice exam questions** for the **National Higher Education Self-Study Examination (自学考试)** course **“Web Design and Production” (网页设计与网站建设, 14352)** in China. |
| 14 | +Each question has **one correct option**, but **answers are intentionally not provided**. |
| 15 | + |
| 16 | +--- |
| 17 | + |
| 18 | +**1. Which of the following is the primary function of HTML?** |
| 19 | +A. To control page behavior |
| 20 | +B. To define page structure and content |
| 21 | +C. To process server-side data |
| 22 | +D. To optimize network transmission |
| 23 | + |
| 24 | +**2. Which HTML tag is used to define a hyperlink?** |
| 25 | +A. `<link>` |
| 26 | +B. `<href>` |
| 27 | +C. `<a>` |
| 28 | +D. `<url>` |
| 29 | + |
| 30 | +**3. In HTML5, which tag is used to represent navigation content?** |
| 31 | +A. `<section>` |
| 32 | +B. `<article>` |
| 33 | +C. `<nav>` |
| 34 | +D. `<header>` |
| 35 | + |
| 36 | +**4. Which CSS property is used to change the text color of an element?** |
| 37 | +A. `font-style` |
| 38 | +B. `text-color` |
| 39 | +C. `color` |
| 40 | +D. `background-color` |
| 41 | + |
| 42 | +**5. Which CSS box model component controls the space between the border and the content?** |
| 43 | +A. Margin |
| 44 | +B. Padding |
| 45 | +C. Border |
| 46 | +D. Outline |
| 47 | + |
| 48 | +**6. Which unit is relative to the font size of the parent element?** |
| 49 | +A. px |
| 50 | +B. % |
| 51 | +C. em |
| 52 | +D. cm |
| 53 | + |
| 54 | +**7. Which selector has the highest priority in CSS?** |
| 55 | +A. Element selector |
| 56 | +B. Class selector |
| 57 | +C. ID selector |
| 58 | +D. Universal selector |
| 59 | + |
| 60 | +**8. Which HTML attribute is used to uniquely identify an element?** |
| 61 | +A. class |
| 62 | +B. name |
| 63 | +C. id |
| 64 | +D. type |
| 65 | + |
| 66 | +**9. What is the default display value of a `<div>` element?** |
| 67 | +A. inline |
| 68 | +B. inline-block |
| 69 | +C. block |
| 70 | +D. none |
| 71 | + |
| 72 | +**10. Which CSS layout model is mainly used for one-dimensional layouts?** |
| 73 | +A. Float |
| 74 | +B. Grid |
| 75 | +C. Flexbox |
| 76 | +D. Position |
| 77 | + |
| 78 | +**11. Which JavaScript keyword is used to declare a constant variable?** |
| 79 | +A. var |
| 80 | +B. let |
| 81 | +C. const |
| 82 | +D. static |
| 83 | + |
| 84 | +**12. Which event is triggered when a user clicks an element?** |
| 85 | +A. onload |
| 86 | +B. onchange |
| 87 | +C. onclick |
| 88 | +D. onfocus |
| 89 | + |
| 90 | +**13. Which method is used to get an element by its ID in JavaScript?** |
| 91 | +A. getElement() |
| 92 | +B. getElementByClass() |
| 93 | +C. getElementById() |
| 94 | +D. queryElements() |
| 95 | + |
| 96 | +**14. Which symbol is used for single-line comments in JavaScript?** |
| 97 | +A. `<!-- -->` |
| 98 | +B. `/* */` |
| 99 | +C. `//` |
| 100 | +D. `##` |
| 101 | + |
| 102 | +**15. Which image format supports transparency and lossless compression?** |
| 103 | +A. JPG |
| 104 | +B. GIF |
| 105 | +C. PNG |
| 106 | +D. BMP |
| 107 | + |
| 108 | +**16. Which protocol is mainly used to transfer web pages?** |
| 109 | +A. FTP |
| 110 | +B. SMTP |
| 111 | +C. HTTP |
| 112 | +D. TCP |
| 113 | + |
| 114 | +**17. Which tag is used to embed JavaScript code in an HTML document?** |
| 115 | +A. `<js>` |
| 116 | +B. `<javascript>` |
| 117 | +C. `<script>` |
| 118 | +D. `<code>` |
| 119 | + |
| 120 | +**18. Which of the following improves website accessibility?** |
| 121 | +A. Using large images |
| 122 | +B. Adding alt text to images |
| 123 | +C. Using only color to convey meaning |
| 124 | +D. Removing headings |
| 125 | + |
| 126 | +**19. Which technology is commonly used to create responsive web layouts?** |
| 127 | +A. Fixed-width design |
| 128 | +B. Media queries |
| 129 | +C. Bitmap fonts |
| 130 | +D. Frames |
| 131 | + |
| 132 | +**20. Which HTML tag is used to define a form?** |
| 133 | +A. `<input>` |
| 134 | +B. `<label>` |
| 135 | +C. `<form>` |
| 136 | +D. `<fieldset>` |
| 137 | + |
| 138 | +**21. Which input type is used to hide user-entered text?** |
| 139 | +A. text |
| 140 | +B. hidden |
| 141 | +C. password |
| 142 | +D. secure |
| 143 | + |
| 144 | +**22. Which HTTP method is mainly used to submit form data securely?** |
| 145 | +A. GET |
| 146 | +B. POST |
| 147 | +C. PUT |
| 148 | +D. DELETE |
| 149 | + |
| 150 | +**23. Which file extension is commonly used for external CSS files?** |
| 151 | +A. .html |
| 152 | +B. .js |
| 153 | +C. .css |
| 154 | +D. .style |
| 155 | + |
| 156 | +**24. Which tool is commonly used to inspect and debug web pages in browsers?** |
| 157 | +A. Task Manager |
| 158 | +B. Command Prompt |
| 159 | +C. Developer Tools |
| 160 | +D. File Explorer |
| 161 | + |
| 162 | +**25. Which principle focuses on making pages easy to understand and use?** |
| 163 | +A. Compatibility |
| 164 | +B. Usability |
| 165 | +C. Scalability |
| 166 | +D. Portability |
| 167 | + |
| 168 | +**26. Which CSS property controls element stacking order?** |
| 169 | +A. float |
| 170 | +B. position |
| 171 | +C. z-index |
| 172 | +D. overflow |
| 173 | + |
| 174 | +**27. Which of the following is a client-side scripting language?** |
| 175 | +A. PHP |
| 176 | +B. Java |
| 177 | +C. Python |
| 178 | +D. JavaScript |
| 179 | + |
| 180 | +**28. Which tag is used to display tabular data?** |
| 181 | +A. `<list>` |
| 182 | +B. `<table>` |
| 183 | +C. `<grid>` |
| 184 | +D. `<data>` |
| 185 | + |
| 186 | +**29. Which practice helps improve website loading speed?** |
| 187 | +A. Using large uncompressed images |
| 188 | +B. Minimizing CSS and JavaScript files |
| 189 | +C. Increasing animation effects |
| 190 | +D. Embedding all resources inline |
| 191 | + |
| 192 | +**30. Which standard is used to ensure web pages work across different browsers?** |
| 193 | +A. Browser extensions |
| 194 | +B. Private APIs |
| 195 | +C. Web standards |
| 196 | +D. Proprietary plugins |
| 197 | + |
| 198 | +--- |
| 199 | + |
| 200 | +If you want, I can also: |
| 201 | + |
| 202 | +* Adjust the **difficulty level** (easy / medium / exam-level) |
| 203 | +* Create **mock tests** matching official 自考 style |
| 204 | +* Generate **practice questions by chapter** |
| 205 | +* Provide **separate answer sheets** for teachers or self-checking |
0 commit comments