WorksheetsWEB DESIGN PART 1 QUIZ
Total questions: 21
Worksheet time: 21mins
What does CSS stand for?
Cascading Style Sheets
Creative Style Sheets
Colorful Style Sheets
Computer Style Sheets
Which CSS method is used to apply a unique style to a single HTML element?
Embedded CSS
Inline CSS
Internal CSS
External CSS
What property defines the text color to be used in CSS?
color
background-color
font-family
font-size
Which attribute of the element is the most important for defining the link's destination?
rel
href
target
hreflang
What does the target attribute with value '_blank' do in HTML links?
Opens the document in the full body of the window
Opens the document in the parent frame
Opens the document in a new window or tab
Opens the document in the same window/tab
How can you add a background image to an HTML element?
Using the background-color property in CSS
Using the
Using the
Using the background-image property in CSS
What property is used to define a border around an HTML element?
border-color
border-width
border-style
border
How can you avoid having double borders in a table in HTML?
Set border-collapse property to initial
Set border-collapse property to separate
Set border-collapse property to collapse
Set border-collapse property to inherit
Which tag is used to define a row in an HTML table?
10. What property is used to change the font size of text in CSS? a) font-size b) text-size c) font-style d) text-style 11. Which CSS property is used to change the spacing between lines of text? a) line-height b) text-spacing c) line-spacing d) text-height 12. What does the CSS property 'display: none;' do? a) It hides the element without affecting the layout b) It removes the element from the DOM c) It makes the element transparent d) It shows the element with a border 13. What property is used to change the background color of an HTML element in CSS? a) background-color b) color c) text-color d) bg-color 14. What does the CSS property 'text-decoration: underline;' do? a) It makes the text bold b) It adds an underline to the text c) It changes the font style d) It aligns the text to the center 15. Which HTML tag is used to create a hyperlink? a) <a> b) <link> c) <href> d) <url> 16. What does HTML stand for? a) Hyper Text Markup Language b) Highly Technical Markup Language c) Home Tool Markup Language d) Hyperlink and Text Markup Language 17. Which HTML tag is used to define the structure of a webpage? a) <body> b) <head> c) <title> d) <html> 18. What is the correct way to comment out code in HTML? a) <!-- This is a comment --> b) // This is a comment // c) /* This is a comment */ d) # This is a comment # 19. What property is used to change the font style of text in CSS? a) font-style b) text-style c) font-weight d) text-weight 20. Which HTML tag is used to create an unordered list? a) <ul> b) <ol> c) <li> d) <list> 21. What does the CSS property 'text-align: center;' do? a) It aligns the text to the left b) It aligns the text to the right c) It aligns the text to the center d) It justifies the text 100 % Similar Resources on Wayground20 questions Text me! Worksheet • University 16 questions E-Commerce Worksheet • University - Professi... 19 questions Revision : Chapter 1 Worksheet • University 20 questions YAY! Fridate with ComSSA (Network 101) Worksheet • University 17 questions Pengantar Teknologi Informasi 8 Worksheet • University 20 questions Name The Disney Animation Films Worksheet • KG - University 19 questions DBMS - Fundamentals Worksheet • University 20 questions C++ Assesment 1 Worksheet • University |
