w3.css_mcq_AI
w3.css_mcq_AI
A) A programming language
B) A web framework
C) A database management system
D) An operating system
Answer: B
W3.css intro
What is W3.CSS?
A) A programming language
B) A web framework
C) A database management system
D) An operating system
Answer: B
W3.CSS Colors
Which color class is used to set the background color of an element to red?
A) .w3-red
B) .w3-green
C) .w3-blue
D) .w3-yellow
Answer: A
Which color class is used to set the text color of an element to green?
A) .w3-text-red
B) .w3-text-green
C) .w3-text-blue
D) .w3-text-yellow
Answer: B
Which color class is used to set the border color of an element to blue?
A) .w3-border-red
B) .w3-border-green
C) .w3-border-blue
D) .w3-border-yellow
Answer: C
Which color class is used to set the hover color of an element to yellow?
A) .w3-hover-red
B) .w3-hover-green
C) .w3-hover-blue
D) .w3-hover-yellow
Answer: D
Which color class is used to set the background color of a container to light gray?
A) .w3-container-gray
B) .w3-container-light-gray
C) .w3-container-dark-gray
D) .w3-container-text-gray
Answer: B
Which color class is used to set the background color of a panel to light green?
A) .w3-panel-green
B) .w3-panel-light-green
C) .w3-panel-dark-green
D) .w3-panel-text-green
Answer: B
Which color class is used to set the text color of a button to white?
A) .w3-button-white
B) .w3-button-black
C) .w3-button-text-white
D) .w3-button-text-black
Answer: A
Which color class is used to set the background color of a button to yellow?
A) .w3-button-yellow
B) .w3-button-orange
C) .w3-button-text-yellow
D) .w3-button-text-orange
Answer: A
Which color class is used to set the background color of a navigation bar to blue?
A) .w3-navbar-blue
B) .w3-navbar-light-blue
C) .w3-navbar-dark-blue
D) .w3-navbar-text-blue
Answer: A
Which color class is used to set the background color of a dropdown menu to gray?
A) .w3-dropdown-gray
B) .w3-dropdown-light-gray
C) .w3-dropdown-dark-gray
D) .w3-dropdown-text-gray
Answer: A
Which color class is used to set the background color of a table to light blue?
A) .w3-table-blue
B) .w3-table-light-blue
C) .w3-table-dark-blue
D) .w3-table-text-blue
Answer: B
Which color class is used to set the border color of a table to light green?
A) .w3-table-green
B) .w3-table-light-green
C) .w3-table-dark-green
D) .w3-table-text-green
Answer: B
Which color class is used to set the background color of a form to yellow?
A) .w3-form-yellow
B) .w3-form-orange
C) .w3-form-light-yellow
D) .w3-form-dark-yellow
Answer: A
What is the default font color in W3.CSS?
A) #000000
B) #ffffff
C) #ff0000
D) #00ff00
Answer: A
W3.CSS Containers
Which of the following classes defines a container that fills the entire width of the screen?
A) w3-container
B) w3-container-fluid
C) w3-panel
D) w3-card
Answer: B
Which of the following classes centers the content within a container in W3.CSS?
A) w3-center
B) w3-padding
C) w3-margin
D) w3-container
Answer: A
Which of the following classes makes the content of a container scrollable in W3.CSS?
A) w3-scrollable
B) w3-card
C) w3-panel
D) w3-container
Answer: A
Which of the following classes allows a container to have a fixed height in W3.CSS?
A) w3-height
B) w3-fixed-height
C) w3-container-height
D) w3-panel-height
Answer: B
Which of the following is the class used to create a container in W3.CSS?
A) .container
B) .wrap
C) .box
D) .content
Answer: A
Which of the following classes can be used to create a fixed-width container in W3.CSS?
A) .container
B) .container-small
C) .container-medium
D) .container-large
Answer: D
Which of the following classes can be used to create a full-width container in W3.CSS?
A) .container-full
B) .container-fluid
C) .container-100
D) .container-wide
Answer: B
Which of the following classes can be used to center the content of a container horizontally in W3.CSS?
A) .container-center
B) .container-hcenter
C) .container-middle
D) .container-align-center
Answer: B
Which of the following classes can be used to center the content of a container vertically in W3.CSS?
A) .container-middle
B) .container-vcenter
C) .container-center
D) .container-align-middle
Answer: A
Which of the following classes can be used to create a container with a specific background color in
W3.CSS?
A) .bg-color
B) .container-bg
C) .container-color
D) .bg-container
Answer: B
Which of the following classes can be used to create a container with rounded corners in W3.CSS?
A) .container-rounded
B) .container-curved
C) .container-corner
D) .container-radius
Answer: A
Which of the following classes can be used to create a container with a shadow in W3.CSS?
A) .container-shadow
B) .container-depth
C) .container-haze
D) .container-glow
Answer: A
Which of the following classes can be used to create a container with a border in W3.CSS?
A) .container-bordered
B) .container-border
C) .container-outline
D) .container-boxed
Answer: A
Which of the following classes can be used to create a container with a specific width in W3.CSS?
A) .container-fixed
B) .container-width
C) .container-size
D) .container-box
Answer: B
Which of the following classes can be used to create a container with a specific height in W3.CSS?
A) .container-height
B) .container-tall
C) .container-size
D) .container-box
Answer: A
Which of the following classes can be used to create a container with a minimum height in W3.CSS?
A) .container-min-height
B) .container-short
C) .container-limited
D) .container-minimize
Answer: A
Which of the following classes can be used to create a container with a maximum height in W3.CSS?
A) .container-max-height
B) .container-tall
C) .container-limited
D) .container-height-max
Answer: A
Which of the following classes can be used to create a container with padding in W3.CSS?
A) .container-padding
B) .container-pad
C) .container-space
D) .container-gap
Answer: B
Which of the following classes can be used to create a container with margin in W3.CSS?
A) .container-margin
B) .container-space
C) .container-pad
D) .container-gap
Answer: A
W3.css panel
Which of the following classes can be used to add a header to a panel in W3.CSS?
A) .panel-header
B) .panel-heading
C) .panel-title
D) .panel-top
Answer: B
Which of the following classes can be used to add a footer to a panel in W3.CSS?
A) .panel-footer
B) .panel-bottom
C) .panel-end
D) .panel-close
Answer: A
Which of the following classes can be used to create a border around a panel in W3.CSS?
A) .panel-border
B) .panel-box
C) .panel-outline
D) .panel-frame
Answer: C
Which of the following classes can be used to create a panel with rounded corners in W3.CSS?
A) .panel-rounded
B) .panel-curved
C) .panel-corner
D) .panel-radius
Answer: A
Which of the following classes can be used to create a panel with a shadow in W3.CSS?
A) .panel-shadow
B) .panel-depth
C) .panel-haze
D) .panel-glow
Answer: A
Which of the following classes can be used to create a collapsible panel in W3.CSS?
A) .panel-collapse
B) .panel-collapsible
C) .panel-toggle
D) .panel-expand
Answer: B
Which of the following classes can be used to add a close button to a panel in W3.CSS?
A) .panel-close
B) .panel-dismiss
C) .panel-remove
D) .panel-exit
Answer: A
Which of the following classes can be used to add a title to a panel in W3.CSS?
A) .panel-title
B) .panel-heading
C) .panel-header
D) .panel-top
Answer: A
Which of the following classes can be used to create a panel with a specific background color in
W3.CSS?
A) .bg-color
B) .panel-bg
C) .panel-color
D) .bg-panel
Answer: B
Which of the following classes can be used to create a panel with a specific width in W3.CSS?
A) .panel-fixed
B) .panel-width
C) .panel-size
D) .panel-box
Answer: B
Which of the following classes can be used to create a panel with a specific height in W3.CSS?
A) .panel-height
B) .panel-tall
C) .panel-size
D) .panel-box
Answer: A
Which of the following classes can be used to create a panel with padding in W3.CSS?
A) .panel-padding
B) .panel-pad
C) .panel-space
D) .panel-gap
Answer: B
Which of the following classes can be used to create a panel with margin in W3.CSS?
A) .panel-margin
B) .panel-space
C) .panel-pad
D) .panel-gap
Answer: A
Which of the following classes can be used to create a panel with a horizontal scroll bar in W3.CSS?
A) .panel-scroll
B) .panel-horizontal
C) .panel-scrollbar
D) .panel-scroll-x
Answer: D
Which of the following classes is used to create a panel header in W3.CSS?
A) .panel-heading
B) .panel-header
C) .panel-title
D) .panel-top
Answer: A
Which of the following classes can be used to create a panel with a specific background color in
W3.CSS?
A) .bg-panel
B) .panel-color
C) .panel-bg
D) .panel-background
Answer: C
Which of the following classes is used to create a panel with a shadow in W3.CSS?
A) .panel-shadow
B) .panel-depth
C) .panel-haze
D) .panel-glow
Answer: A
Which of the following classes can be used to create a panel with rounded corners in W3.CSS?
A) .panel-rounded
B) .panel-curved
C) .panel-corner
D) .panel-radius
Answer: A
Which of the following classes can be used to create a panel with a border in W3.CSS?
A) .panel-bordered
B) .panel-border
C) .panel-outline
D) .panel-boxed
Answer: A
Which of the following classes can be used to create a panel with a specific width in W3.CSS?
A) .panel-fixed
B) .panel-width
C) .panel-size
D) .panel-box
Answer: B
Which of the following classes can be used to create a panel with a specific height in W3.CSS?
A) .panel-height
B) .panel-tall
C) .panel-size
D) .panel-box
Answer: A
Which of the following classes can be used to create a panel with a minimum height in W3.CSS?
A) .panel-min-height
B) .panel-short
C) .panel-limited
D) .panel-minimize
Answer: A
Which of the following classes can be used to create a panel with a maximum height in W3.CSS?
A) .panel-max-height
B) .panel-tall
C) .panel-limited
D) .panel-height-max
Answer: A
Which of the following classes can be used to create a panel with padding in W3.CSS?
A) .panel-padding
B) .panel-pad
C) .panel-space
D) .panel-gap
Answer: B
Which of the following classes can be used to create a panel with margin in W3.CSS?
A) .panel-margin
B) .panel-space
C) .panel-pad
D) .panel-gap
Answer: A
Which of the following classes can be used to create a panel with a specific font size in W3.CSS?
A) .panel-font-size
B) .panel-size
C) .panel-text
D) .panel-text-size
Answer: A
Which of the following classes can be used to create a panel with a specific text color in W3.CSS?
A) .panel-color
B) .panel-text-color
C) .panel-text
D) .panel-font-color
Answer: B
W3.CSS Borders
Which of the following properties is used to set the border style in W3.CSS?
A) border-size
B) border-style
C) border-width
D) border-color
Answer: B
Which of the following values can be used for the border-style property in W3.CSS to create a dotted
border?
A) dashed
B) solid
C) double
D) dotted
Answer: D
Which of the following values can be used for the border-style property in W3.CSS to create a dashed
border?
A) dashed
B) solid
C) double
D) dotted
Answer: A
Which of the following values can be used for the border-style property in W3.CSS to create a double
border?
A) dashed
B) solid
C) double
D) dotted
Answer: C
Which of the following properties is used to set the border color in W3.CSS?
A) border-size
B) border-style
C) border-color
D) border-width
Answer: C
Which of the following values can be used for the border-color property in W3.CSS to create a red
border?
A) red
B) #ff0000
C) rgb(255,0,0)
D) All of the above
Answer: D
Which of the following properties is used to set the border width in W3.CSS?
A) border-size
B) border-style
C) border-color
D) border-width
Answer: D
Which of the following values can be used for the border-width property in W3.CSS to create a thin
border?
A) thin
B) medium
C) thick
D) All of the above
Answer: A
Which of the following values can be used for the border-width property in W3.CSS to create a
medium border?
A) thin
B) medium
C) thick
D) All of the above
Answer: B
Which of the following values can be used for the border-width property in W3.CSS to create a thick
border?
A) thin
B) medium
C) thick
D) All of the above
Answer: C
Which of the following properties is used to set the border radius in W3.CSS?
A) border-radius
B) border-corner
C) border-curve
D) border-angle
Answer: A
Which of the following values can be used for the border-radius property in W3.CSS to create a
rounded border?
A) rounded
B) curve
C) circle
D) All of the above
Answer: A
Which of the following values can be used for the border-radius property in W3.CSS to create a
circular border?
A) rounded
B) curve
C) circle
D) All of the above
Answer: C
Which of the following values can be used for the border-radius property in W3.CSS to create a curved
border?
A) rounded
B) curve
C) circle
D) All of the above
Answer: B
Which of the following properties is used to set the border image in W3.CSS?
A) border-image
B) border-style
C) border-color
D) border-width
Answer: A
Which of the following values can be used for the border-image property in W3.CSS to set the source
of the border image?
A) url(image.jpg)
B) #ff0000
C) dashed
D) None of the above
Answer: A
Which of the following classes is used to add a border to an element in W3.CSS?
A) .border
B) .bordered
C) .border-style
D) .bordered-element
Answer: A
Which of the following classes is used to add a border to all sides of an element in W3.CSS?
A) .border-all
B) .border-each
C) .border-sides
D) .border-every
Answer: A
Which of the following classes is used to add a border to the top of an element in W3.CSS?
A) .border-top
B) .border-up
C) .border-head
D) .border-high
Answer: A
Which of the following classes is used to add a border to the right of an element in W3.CSS?
A) .border-right
B) .border-r
C) .border-east
D) .border-side-r
Answer: A
Which of the following classes is used to add a border to the bottom of an element in W3.CSS?
A) .border-bottom
B) .border-down
C) .border-foot
D) .border-low
Answer: A
Which of the following classes is used to add a border to the left of an element in W3.CSS?
A) .border-left
B) .border-l
C) .border-west
D) .border-side-l
Answer: A
Which of the following classes is used to remove the border from an element in W3.CSS?
A) .border-none
B) .border-remove
C) .borderless
D) .border-off
Answer: A
Which of the following classes is used to add a specific width to an element's border in W3.CSS?
A) .border-width
B) .border-size
C) .border-thick
D) .border-girth
Answer: A
Which of the following classes is used to add a specific color to an element's border in W3.CSS?
A) .border-color
B) .border-paint
C) .border-shade
D) .border-tint
Answer: A
Which of the following classes is used to add a specific style to an element's border in W3.CSS?
A) .border-style
B) .border-pattern
C) .border-type
D) .border-design
Answer: A
Which of the following classes is used to add a rounded border to an element in W3.CSS?
A) .border-rounded
B) .border-curved
C) .border-radius
D) .border-shape
Answer: C
Which of the following classes is used to add a dotted border to an element in W3.CSS?
A) .border-dotted
B) .border-dot
C) .border-points
D) .border-splotches
Answer: A
Which of the following classes is used to add a dashed border to an element in W3.CSS?
A) .border-dashed
B) .border-dash
C) .border-lines
D) .border-stripes
Answer: A
Which of the following classes is used to add a double border to an element in W3.CSS?
A) .border-double
B) .border-two
C) .border-twin
D) .border-both
Answer: A
W3.css font
Which of the following classes is used to change the font size in W3.CSS?
A) .font-size
B) .font-weight
C) .font-style
D) .font-scale
Answer: A
Which of the following classes is used to change the font family in W3.CSS?
A) .font-family
B) .font-set
C) .font-type
D) .font-choice
Answer: A
Which of the following classes is used to change the color of text in W3.CSS?
A) .text-color
B) .color
C) .font-color
D) .text-style
Answer: B
Which of the following classes is used to change the background color of text in W3.CSS?
A) .text-bgcolor
B) .bgcolor
C) .font-bgcolor
D) .text-background
Answer: A
Which of the following classes is used to align text to the left in W3.CSS?
A) .text-left
B) .left-align
C) .align-left
D) .text-align-left
Answer: A
Which of the following classes is used to align text to the center in W3.CSS?
A) .text-center
B) .center-align
C) .align-center
D) .text-align-center
Answer: A
Which of the following classes is used to align text to the right in W3.CSS?
A) .text-right
B) .right-align
C) .align-right
D) .text-align-right
Answer: A
Which of the following classes is used to add letter spacing to text in W3.CSS?
A) .letter-spacing
B) .text-spacing
C) .font-spacing
D) .spacing-letter
Answer: A
Which of the following classes is used to add word spacing to text in W3.CSS?
A) .word-spacing
B) .text-word-spacing
C) .font-word-spacing
D) .spacing-word
Answer: A
Which of the following classes is used to add line height to text in W3.CSS?
A) .line-height
B) .text-line-height
C) .font-line-height
D) .height-line
Answer: A
Which of the following classes is used to set the font size in W3.CSS?
A) .font-size
B) .font-style
C) .font-height
D) .font-large
Answer: A
Which of the following classes is used to set the font family in W3.CSS?
A) .font-family
B) .font-type
C) .font-kind
D) .font-face
Answer: A
Which of the following classes is used to set the font color in W3.CSS?
A) .font-color
B) .text-color
C) .color-text
D) .text-style
Answer: B
Which of the following classes is used to set the text alignment in W3.CSS?
A) .text-align
B) .align-text
C) .text-position
D) .position-text
Answer: A
Which of the following classes is used to set the text indentation in W3.CSS?
A) .text-indent
B) .indent-text
C) .text-offset
D) .offset-text
Answer: A
Which of the following classes is used to set the text decoration in W3.CSS?
A) .text-decoration
B) .deco-text
C) .text-ornament
D) .ornament-text
Answer: A
Which of the following classes is used to set the letter spacing in W3.CSS?
A) .letter-spacing
B) .spacing-letter
C) .letter-position
D) .position-letter
Answer: A
Which of the following classes is used to set the word spacing in W3.CSS?
A) .word-spacing
B) .spacing-word
C) .word-position
D) .position-word
Answer: A
Which of the following classes is used to set the text transform in W3.CSS?
A) .text-transform
B) .transform-text
C) .text-conversion
D) .conversion-text
Answer: A
Which of the following classes is used to set the text shadow in W3.CSS?
A) .text-shadow
B) .shadow-text
C) .text-outline
D) .outline-text
Answer: A
Which of the following classes is used to set the line height in W3.CSS?
A) .line-height
B) .height-line
C) .line-position
D) .position-line
Answer: A
Which of the following classes is used to set the text overflow in W3.CSS?
A) .text-overflow
B) .overflow-text
C) .text-wrap
D) .wrap-text
Answer: A
W3.CSS Text
Which of the following classes is used to set the text color in W3.CSS?
A) .text-color
B) .font-color
C) .color-text
D) .text-style
Answer: B
Which of the following classes is used to set the background color of text in W3.CSS?
A) .text-background
B) .background-text
C) .text-bgcolor
D) .bgcolor-text
Answer: A
Which of the following classes is used to set the size of the first letter in a paragraph in W3.CSS?
A) .first-letter
B) .letter-first
C) .initial-letter
D) .letter-initial
Answer: A
Which of the following classes is used to set the text direction in W3.CSS?
A) .text-direction
B) .direction-text
C) .text-flow
D) .flow-text
Answer: A
Which of the following classes is used to set the text alignment in W3.CSS?
A) .text-align
B) .align-text
C) .text-position
D) .position-text
Answer: A
Which of the following classes is used to set the text indentation in W3.CSS?
A) .text-indent
B) .indent-text
C) .text-offset
D) .offset-text
Answer: A
Which of the following classes is used to set the letter spacing in W3.CSS?
A) .letter-spacing
B) .spacing-letter
C) .letter-position
D) .position-letter
Answer: A
Which of the following classes is used to set the word spacing in W3.CSS?
A) .word-spacing
B) .spacing-word
C) .word-position
D) .position-word
Answer: A
Which of the following classes is used to set the text decoration in W3.CSS?
A) .text-decoration
B) .deco-text
C) .text-ornament
D) .ornament-text
Answer: A
Which of the following classes is used to set the text transform in W3.CSS?
A) .text-transform
B) .transform-text
C) .text-conversion
D) .conversion-text
Answer: A
Which of the following classes is used to set the text shadow in W3.CSS?
A) .text-shadow
B) .shadow-text
C) .text-outline
D) .outline-text
Answer: A
Which of the following classes is used to set the line height in W3.CSS?
A) .line-height
B) .height-line
C) .line-position
D) .position-line
Answer: A
Which of the following classes is used to set the text overflow in W3.CSS?
A) .text-overflow
B) .overflow-text
C) .text-wrap
D) .wrap-text
Answer: A
Which of the following classes is used to set the text wrapping in W3.CSS?
A) .text-wrap
B) .wrap-text
C) .text-overflow
D) .overflow-text
Answer: A
Which of the following classes is used to set the text orientation in W3.CSS?
A) .text-orientation
B) .orientation-text
C) .text-writing-mode
D) .writing-mode-text
Answer: A
Which of the following classes is used to set the text color in W3.CSS?
A) .text-color
B) .color-text
C) .font-color
D) .text-style
Answer: B
Which of the following classes is used to set the background color of text in W3.CSS?
A) .text-bg-color
B) .background-text
C) .bg-color-text
D) .text-background-color
Answer: D
Which of the following classes is used to set the font size in W3.CSS?
A) .font-size
B) .text-size
C) .size-font
D) .text-style
Answer: A
Which of the following classes is used to set the font family in W3.CSS?
A) .font-family
B) .text-family
C) .family-font
D) .text-style
Answer: A
Which of the following classes is used to set the text alignment in W3.CSS?
A) .text-align
B) .align-text
C) .text-position
D) .position-text
Answer: A
Which of the following classes is used to set the text indentation in W3.CSS?
A) .text-indent
B) .indent-text
C) .text-offset
D) .offset-text
Answer: A
Which of the following classes is used to set the text decoration in W3.CSS?
A) .text-decoration
B) .deco-text
C) .text-ornament
D) .ornament-text
Answer: A
Which of the following classes is used to set the letter spacing in W3.CSS?
A) .letter-spacing
B) .spacing-letter
C) .letter-position
D) .position-letter
Answer: A
Which of the following classes is used to set the word spacing in W3.CSS?
A) .word-spacing
B) .spacing-word
C) .word-position
D) .position-word
Answer: A
Which of the following classes is used to set the text transform in W3.CSS?
A) .text-transform
B) .transform-text
C) .text-conversion
D) .conversion-text
Answer: A
Which of the following classes is used to set the text shadow in W3.CSS?
A) .text-shadow
B) .shadow-text
C) .text-outline
D) .outline-text
Answer: A
Which of the following classes is used to set the line height in W3.CSS?
A) .line-height
B) .height-line
C) .line-position
D) .position-line
Answer: A
W3.CSS Tables
Which of the following is a correct way to set the width of a table in W3.CSS?
a) Use the width attribute in the table tag
b) Use the width property in CSS
c) Use the w3-table class
d) None of the above
Answer: b) Use the width property in CSS
Which of the following is a correct way to add a background color to a table in W3.CSS?
a) Use the background-color property in CSS
b) Use the bgcolor attribute in the table tag
c) Use the w3-bg class
d) All of the above
Answer: a) Use the background-color property in CSS
Which of the following is a correct way to set the text alignment of a table cell in W3.CSS?
a) Use the align attribute in the td tag
b) Use the text-align property in CSS
c) Use the w3-center class
d) All of the above
Answer: b) Use the text-align property in CSS
W3.CSS List
Which of the following is a valid w3.css class for creating a navigation bar?
A. w3-card
B. w3-dropdown
C. w3-bar
D. w3-section
Answer: C
Which of the following is a valid w3.css class for creating a responsive image?
A. w3-container
B. w3-image
C. w3-row
D. w3-panel
Answer: B
Which of the following is a valid w3.css class for creating a progress bar?
A. w3-panel
B. w3-progress
C. w3-dropdown
D. w3-cell
Answer: B
Which of the following is a valid w3.css class for creating a modal dialog box?
A. w3-modal
B. w3-dropdown
C. w3-section
D. w3-container
Answer: A
Which of the following classes can be used to create a custom bullet for a list item?
A. w3-bullet
B. w3-circle
C. w3-square
D. All of the above
Answer: D
Which of the following w3.css classes can be used to create a responsive navigation menu?
A. w3-bar
B. w3-dropdown
C. w3-sidebar
D. All of the above
Answer: D
Which of the following w3.css classes can be used to create a responsive image gallery?
A. w3-display-container
B. w3-image-container
C. w3-gallery
D. w3-container
Answer: C
Which of the following w3.css classes can be used to create a responsive table?
A. w3-table
B. w3-container
C. w3-display-table
D. w3-grid
Answer: A
Which of the following w3.css classes can be used to create a progress bar?
A. w3-progress
B. w3-bar
C. w3-container
D. w3-meter
Answer: A
W3.css image
Which of the following w3.css classes can be used to create a responsive image?
A. w3-image
B. w3-img
C. w3-picture
D. w3-graphics
Answer: A
Which of the following w3.css classes can be used to create a thumbnail image?
A. w3-thumbnail
B. w3-image-thumbnail
C. w3-img-thumbnail
D. w3-picture-thumbnail
Answer: A
Which of the following w3.css classes can be used to create a slideshow of images?
A. w3-slideshow
B. w3-gallery
C. w3-carousel
D. w3-image-slider
Answer: C
What is the syntax for adding an image to an HTML document using w3.css?
A. <img src="image.jpg" class="w3-image">
B. <img class="w3-image" src="image.jpg">
C. <div class="w3-image"><img src="image.jpg"></div>
D. <img src="image.jpg" w3-class="image">
Answer: B
Which of the following w3.css classes can be used to create a responsive image?
A. w3-image
B. w3-picture
C. w3-container
D. w3-img
Answer: A
How can you make an image in w3.css take up 50% of its container's width?
A. Use the class "w3-half-width"
B. Use the class "w3-col-6"
C. Use the CSS property "width: 50%;"
D. Use the class "w3-image-half"
Answer: A
Which of the following w3.css classes can be used to add a border to an image?
A. w3-border
B. w3-image-border
C. w3-img-border
D. w3-picture-border
Answer: A
Which of the following w3.css classes can be used to create a circular image?
A. w3-circle
B. w3-image-circle
C. w3-img-circle
D. w3-round-image
Answer: A
Which of the following w3.css classes can be used to add a shadow to an image?
A. w3-shadow
B. w3-image-shadow
C. w3-img-shadow
D. w3-picture-shadow
Answer: A
W3.css grid
Which of the following w3.css classes can be used to set the number of columns in a grid container?
A. w3-cols
B. w3-grid-cols
C. w3-container-cols
D. w3-grid-columns
Answer: A
How can you set the gap between grid items in w3.css?
A. Use the class "w3-gap"
B. Use the class "w3-item-gap"
C. Use the CSS property "grid-gap: 20px;"
D. Use the class "w3-grid-gap"
Answer: C
Which of the following w3.css classes can be used to create a grid item that spans multiple rows?
A. w3-row-span
B. w3-grid-row-span
C. w3-item-row-span
D. w3-grid-item-row-span
Answer: B
How can you make a grid item take up all available space in its column?
A. Use the class "w3-col"
B. Use the class "w3-grid-col"
C. Use the class "w3-auto-col"
D. Use the class "w3-col-auto"
Answer: A
Which of the following w3.css classes can be used to create a grid item that spans multiple columns?
A. w3-col-span
B. w3-grid-col-span
C. w3-item-col-span
D. w3-grid-item-col-span
Answer: A
How can you create a grid layout with three columns using w3.css?
A. Use the class "w3-cols-3"
B. Use the class "w3-grid-cols-3"
C. Use the CSS property "grid-template-columns: 1fr 1fr 1fr;"
D. Use the class "w3-grid-3cols"
Answer: C
Which of the following w3.css classes can be used to set the alignment of grid items within their
container?
A. w3-align-items
B. w3-grid-align-items
C. w3-item-align-items
D. w3-grid-item-align-items
Answer: A
How can you create a grid layout with a fixed column width of 200px using w3.css?
A. Use the class "w3-cols-200"
B. Use the class "w3-grid-cols-200"
C. Use the CSS property "grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));"
D. Use the class "w3-grid-200cols"
Answer: C
Which of the following w3.css classes can be used to set the justification of grid items within their
container?
A. w3-justify-items
B. w3-grid-justify-items
C. w3-item-justify-items
D. w3-grid-item-justify-items
Answer: A
What is the W3.CSS class used to create a grid container?
A. w3-container
B. w3-grid
C. w3-row
D. w3-col
Answer: B