0% found this document useful (0 votes)
11 views2 pages

Web Design Objective Questions

The document contains a series of objective questions and answers related to web design, covering topics such as HTML, CSS, JavaScript, and responsive design. Key concepts include the use of various HTML tags, CSS properties, and the functionality of JavaScript in web development. It serves as a quick reference for fundamental web design knowledge.

Uploaded by

bockarietumbay
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views2 pages

Web Design Objective Questions

The document contains a series of objective questions and answers related to web design, covering topics such as HTML, CSS, JavaScript, and responsive design. Key concepts include the use of various HTML tags, CSS properties, and the functionality of JavaScript in web development. It serves as a quick reference for fundamental web design knowledge.

Uploaded by

bockarietumbay
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Objective Questions and Answers on

Web Design
1. 1. Which of the following is used to create web pages?
Answer: A. HTML
2. 2. What does CSS stand for?
Answer: B. Cascading Style Sheets
3. 3. Which HTML tag is used to display images?
Answer: B. <img>
4. 4. Which tag is used to create a hyperlink in HTML?
Answer: C. <a>
5. 5. In CSS, how do you select an element with ID 'header'?
Answer: A. #header
6. 6. Which of the following is a correct HTML5 doctype declaration?
Answer: B. <!DOCTYPE HTML>
7. 7. What is the main purpose of JavaScript in web design?
Answer: C. Adding interactivity
8. 8. Which of these is a front-end web development language?
Answer: C. JavaScript
9. 9. Which HTML tag is used to define a table row?
Answer: B. <tr>
10. 10. Responsive web design aims to:
Answer: B. Make websites mobile-friendly
11. 11. What does HTML stand for?
Answer: B. Hyper Text Markup Language
12. 12. Which tag is used to insert a line break in HTML?
Answer: C. <br>
13. 13. Which CSS property controls the text size?
Answer: C. font-size
14. 14. The correct HTML tag for the largest heading is:
Answer: B. <h1>
15. 15. Which tag is used for inserting an unordered list?
Answer: B. <ul>
16. 16. Which attribute is used to provide a tooltip in HTML?
Answer: B. title
17. 17. The default alignment of text in a paragraph tag is:
Answer: D. Left
18. 18. Which of the following is used to apply styles to HTML elements?
Answer: C. CSS
19. 19. The <div> tag is mainly used for:
Answer: B. Grouping content
20. 20. In CSS, which property is used to change the background color?
Answer: B. background-color
21. 21. Which symbol is used to define a class in CSS?
Answer: C. .
22. 22. What is the purpose of the <form> tag in HTML?
Answer: B. To create forms for user input
23. 23. What is the correct HTML tag to make a text bold?
Answer: D. Both B and C
24. 24. Which input type allows users to select only one option?
Answer: B. radio
25. 25. What is JavaScript mainly used for in web design?
Answer: D. Interactivity
26. 26. Which HTML element is used to play audio files?
Answer: C. <audio>
27. 27. How do you write a comment in HTML?
Answer: C. <!-- comment -->
28. 28. What does the <title> tag do?
Answer: C. Sets the browser tab title
29. 29. Which HTML tag is used for inserting a horizontal line?
Answer: B. <hr>
30. 30. Which of the following is a correct CSS syntax?
Answer: C. body {color: black;}
31. 31. What does WYSIWYG stand for in web design?
Answer: B. What You See Is What You Get
32. 32. Which is the correct HTML tag for inserting a checkbox?
Answer: A. <input type="checkbox">
33. 33. Which tool is commonly used to inspect elements in a web page?
Answer: B. Chrome DevTools
34. 34. What is the latest version of HTML?
Answer: C. HTML5
35. 35. The z-index property in CSS is used to:
Answer: B. Control stacking of elements
36. 36. Which tag is used to define a footer in HTML5?
Answer: C. <footer>
37. 37. The CSS display: none; rule is used to:
Answer: C. Hide an element
38. 38. Which unit is used in CSS to make text size relative to the parent element?
Answer: C. em
39. 39. Which method is used in JavaScript to display a message box?
Answer: C. alert()
40. 40. Which HTML tag is used to embed a video file?
Answer: D. <video>

You might also like