In: Computer Science
1 Which of the following overflow values clips all content that extends beyond the containing element’s dimensions?
Group of answer choices
a overflow: hidden;
b overflow: visible;
c overflow: scroll;
d overflow: auto;
2 Which statement best describes the padding of an element?
Group of answer choices
a Padding enforces a minimum distance between two HTML elements’ borders.
b Padding is the distance between the border and other HTML elements.
c Padding enforces a minimum distance between the HTML element’s content and other HTML elements’ content.
d Padding is the distance between the HTML element’s content and border.
3 Which statement best describes the margin of an element?
Group of answer choices
a Margin is the distance between the HTML element’s content and border.
b Margin enforces a minimum distance between two HTML elements’ borders.
c Margin enforces a minimum distance between the HTML element’s content and other HTML elements’ content.
d Margin is the distance between the border and other HTML elements.
3 What is the purpose of the clear attribute?
Group of answer choices
a Clears the styling from this element.
b Clears the padding between two elements.
c Clears the float between two elements.
d Clears the margin between two elements.
4 What do media types and media queries enable?
Group of answer choices
a Allows you to query the device configuration (e.g. screen resolution, screen size, etc).
b Allows you to query the types of media this device can play (e.g. MP4, MP3, etc.).
c Allows you to redirect the page to a different version of the website based on the user’s device.
d Allows you to load different versions of media based on the user’s device (e.g. MP4, MP3, etc.).
5 What is a JavaScript keyword?
Group of answer choices
a A container to store data in.
b Text that has special meaning to JavaScript.
c A piece of JavaScript code to execute.
d An operation that is performed on data.
Question#1
Answer: A , B
Reason: As in overflow property of CSS all the content that extends beyond the containing element’s dimensions is that if we want to do it without the scroll bar then we should use the overflow:hidden other wise if we want to show the scroll bar then we will use the overflow:visible
Question#2
Answer: A,B,D
Reason:
As the padding is the element in HTML and in CSS that is been used to generate the space around the the elements,.The options A B and D best describes it.
Question#3
Answer: C, D
Reason:
As the clear property in HTML and CSS is been used to make a border for the floating points as so that the floating points that are not allowed to float on a particular area should not float there.
Question#4
Answer: A
Reason:
The media queries that are been enables in cSS and HTML are to set the screen size and resolution.
Question#5
Answer: B,C,D
Reason:
The keyword in JAVA SCRIPT are basically used to call a particular operations such as to break a loop we can use keyword "break" if you want to delete any values you can use the keyword "Delete"
PLEASE GIVE A THUMBS UP!!!! DONT GIVE A THUMBS DOWN IF YOU HAVE ANY QUERY SO COMMENT DOWN I WILL CLEAR IT FOR YOU!!!