Question: Can you answer these questions for HTML and CSS 1) When using the rgba() method of specifying a color for the browser to render, what

Can you answer these questions for HTML and CSS

1) When using the rgba() method of specifying a color for the browser to render, what is the alpha value that will make the color totally transparent?

0

There is no way to make a color transparent in CSS using rgba().

none

1

2) Which of the following is the CSS property used to set how large the browser renders letters?

text-size

size

letter-size

font-size

3) What is the most appropriate semantic HTML tag for the "Mona's profile" text?

strong

div

h1

h2

4) When using the setting "border-box" for box-sizing, the width of which of the following are added together to calculate the total width of the element?

Left and right padding and borders

top and bottom borders and margins

The container's padding

Left and right margins

5) Which of the following is the default value for the CSS position property for HTML elements?

static

block

float

hidden

6) Which one of the following HTML blocks contains an element that would be selected by div > a[href]

Link

Link

Link

Link

7) Which of the following settings for the CSS position property will remove the element from the normal page flow?

relative

float

static

absolute

8) Which of the following CSS selectors would apply to all LI tags that do not have the "selected" class?

li:without(.selected)

li:not(.selected)

li:not(li.selected)

li:except(.selected)

9) The CSS border property is a short-hand property that allows you to set 3 properties of an element's border. Which of the following cannot be applied to the CSS border property?

width

line style

shadow

color

10) Which of the following suffixes can you use with margin, padding, and border to apply settings to a specific side of the element?

-top, as in margin-top or border-top

-down, as in margin-down or padding-down

-inside, as in padding-inside or border-inside

-upper, as in margin-upper or padding-upper

11) Identify the option that is an absolute unit of measurement defined by CSS.

pt

%

vh

vw

12) What is the most appropriate semantic HTML tag for the "Biography" text?

h2

h1

div

strong

13) If you want to add four pixels of space between the content of an element and its border, what property would you set?

padding

border-inset

margin

display

14) What is the most appropriate semantic HTML tag for the list of hobbies?

ol

i

ul

em

a

bullet

15) Identify the option that is a relative units of measurement defined by CSS.

px

cm

in

em

16) What is the most appropriate semantic HTML tag for the "Leonardo da Vinci" text?

span

link

i

em

a

17) Which of the following HTML blocks contains an element that would be selected by div#main a.current?

Link

Link

Link

Link

18) What is the correct CSS property for setting the color of the letters rendered by the browser?

text-color

color

font-color

background-color

19) Which of the following CSS selectors has the highest specificity?

ul li a

ul.nav li.selected a

ul li a.selected

*

20) What is the biggest design flaw in this screenshot?

semantic HTML tags

font choice

whitespace

serifs

21) Identify each of the selections which are serif fonts.

Selection B and Selection C

Selection A and Selection D

Selection A and Selection B

Selection A and Selection C

22) Which of the following is not a generic name for a font family defined by the CSS standard?

sans-serif

serif

typewriter

cursive

23) Of the options listed, which one of the following has the highest level of specificity with regards to how CSS determines rule application?

Rules that target an id

Rules that target a class

Rules that target a tag name

Rules that target a pseudo-selector

24) What is the most appropriate semantic HTML tag for the profile image?

link

jpg

img

a

25) Which options would CSS would interpret as the color solid black.

black

#000000

rgb(0, 0, 0)

All of the options above will be interpreted as solid black

rgba(0, 0, 0, 1)

26) What is the most appropriate semantic HTML tag for the block of biography text?

p

div

block

span

27) Which of the following is the CSS property used to set how bold (or light or normal) the browser renders letters?

font-weight

weight

boldness

text-weight

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!