24 Questions
There are four types of positioning in CSS 1. Static Positioning : This is a bydefault position for HTML elements. It is not affected by the top, bottom, left and right properties. 2. ______ Positioning : This property helps to put the text fixed on the browser. The FIXED property forces an element into a fixed position relative to the browser window. The fixed element will not move, even when the page is scrolled
Fixed
There are four types of positioning in CSS 1. Static Positioning : This is a bydefault position for HTML elements. It is not affected by the top, bottom, left and right properties. 2. Fixed Positioning : This property helps to put the text fixed on the browser. The FIXED property forces an element into a fixed position relative to the browser window. The fixed element will not move, even when the page is scrolled 3. ______ Positioning : The relative positioning property is used to set the element relative to its normal position.
Relative
There are four types of positioning in CSS 1. Static Positioning : This is a bydefault position for HTML elements. It is not affected by the top, bottom, left and right properties. 2. Fixed Positioning : This property helps to put the text fixed on the browser. The FIXED property forces an element into a fixed position relative to the browser window. The fixed element will not move, even when the page is scrolled 3. Relative Positioning : The relative positioning property is used to set the element relative to its normal position. 4. ______ Positioning : This property sets an element in a specific location and it is not affected by the flow of the page.
Absolute
There are four types of positioning in CSS 1. Static Positioning : This is a bydefault position for HTML elements. It is not affected by the top, bottom, left and right properties. 2. Fixed Positioning : This property helps to put the text fixed on the browser. The FIXED property forces an element into a fixed position relative to the browser window. The fixed element will not move, even when the page is scrolled 3. Relative Positioning : The relative positioning property is used to set the element relative to its normal position. 4. ______ Positioning : This property positions the element at the specified coordinates relative to your screen top-left corner.
Absolute
Which type of positioning in CSS is not affected by the top, bottom, left, and right properties?
Static Positioning
Which type of positioning in CSS forces an element into a fixed position relative to the browser window?
Fixed Positioning
Which type of positioning in CSS is used to set the element relative to its normal position?
Relative Positioning
Which type of positioning in CSS sets an element in a specific location and is not affected by the flow of the page?
Absolute Positioning
Which API in HTML5 allows web pages to store large amounts of data in the browser with no size limitations?
window.localStorage
What type of storage in HTML5 stores data temporarily and makes the data unavailable after the browser is closed?
Session Storage
What does the 'Local Storage' method do in HTML5?
Stores data with no expiration date
What is the key feature of 'Session Storage' in HTML5?
Stores data temporarily
Which type of positioning in CSS forces an element into a fixed position relative to the browser window?
Fixed Positioning
What does 'Relative Positioning' do in CSS?
Sets an element relative to its normal position
What are the new form controls introduced by HTML5?
search
, tel
, datetime-local
, number
Which HTML5 element is used to embed video files into web pages?
``
What type of positioning in CSS is used to set the element relative to its normal position?
Static Positioning
Which attribute of HTML5 makes it easier for developers to create forms that are more user-friendly and accurate?
required
What does the `` element in HTML5 allow you to embed into web pages?
Streaming audio
Which type of positioning in CSS positions the element at the specified coordinates relative to the screen's top-left corner?
Absolute Positioning
Which of the following is NOT one of the new form controls introduced by HTML5?
color
What attribute of HTML5 can be used to specify a pattern that the input must follow?
pattern
Which type of positioning in CSS forces an element into a fixed position relative to the browser window?
position: fixed
What is the purpose of the clear
method in web development?
To clear form data from local storage
Test your knowledge of CSS positioning types with this quiz. Learn about static, fixed, and relative positioning properties and their effects on HTML elements.
Make Your Own Quizzes and Flashcards
Convert your notes into interactive study material.
Get started for free