WITH ACCURATE SOLUTIONS
1. Which of the following is not good advice concerning the use of graphics
on a web page?
Graphics should help to guide the viewers' focus to the important
content on the page.
Graphics should complement, not replace, visual effects that are
possible with CSS.
Good graphics should fit in with the purpose, organization, and
style of the page.
Large graphics are better than smaller ones because they
reduce loading time.
2. What CSS3 property should you use if you want to apply a shadow effect
behind characters in a Web document?
The text-emphasis property
The box-shadow property
The text-shadow property
The text-overflow property
3. When creating a Web form, which of the following should you use to
create a scrolling text field into which users can enter multiple lines of
text?
The <select> tag
The <form> tag
The <textarea> tag
,The <input> tag
,4. What is the purpose of the 'alt' attribute in HTML?
To indicate the accessibility level of a webpage.
To specify the source of an image.
To provide alternative text for images.
To define the text color in CSS.
5. What is the correct CSS property used to apply transformations such as
rotation and scaling to an element?
display
list-style-type
transition
transform
6. Why is a single-column layout considered a best practice for mobile web
design?
A single-column layout is preferred for desktop web design.
A single-column layout allows for more images to be displayed.
A single-column layout enhances readability and usability on
smaller screens.
A single-column layout is easier to code than a multiple-column
layout.
7. What is the measure of the quality of a user's experience when interacting
with a website?
universal design
assistive technology
accessibility
, usability
8. What is the CSS property that changes the amount of spacing within an
element?
border
padding
spacing
margin
9. In which part of the HTML metadata is contained?
body tag
title tag
head tag
html tag
10. Describe the role of selectors and declarations in a CSS rule.
Selectors define the layout of the page, and declarations control
the page's structure.
Selectors identify the HTML elements to style, while
declarations specify the styles to apply to those elements.
Selectors are used for JavaScript interactions, and declarations
are for HTML attributes.
Selectors and declarations are interchangeable terms in CSS.
11. If you were designing a feedback form for a mobile website, which form
control would you choose for user comments and why?
textbox, because it is the most common form control.
select list, because it simplifies user choices.