Web Fundamentals and UX Design (CS1308) Midterm 2026 Question Paper
RV University Midterm exam for Web Fundamentals and UX Design (CS1308), held 2026, semester 1, with 9 questions. Also searched as WEB, UX, HTML. Last updated 2026-11-14.
Questions
1. Which property is used to stop wrapping around a floated element?a) float b) display c)clear
2. Which position type keeps the element in the normal flow but allows top, left, right, bottom offsets?a) absolute b)relative c)fixed
3. Which of the following statements about CSS ID and Class selectors is correct?a) An ID selector is defined with a dot and a Class selector with a hash. b) Multiple elements on a page can have the same ID. c) An element can have multiple classes but only one unique ID. d) Both ID
4. What is the default value of background-repeat?a) repeat-x b) repeat c)no-repeat
5. Which property is used to add a background image to an element?a) bg-img b)background-img c) background-image
6. You are creating a website with a navigation menu. The HTML code for the links is as follows:HomeAbout
7. You are designing a profile for a user on a webpage. The HTML structure is:YanWeb DeveloperYou are required to style the profile card as follows:Add a border of 2px solid black around the card.Add 20px padding inside the card.Add 15px margin around the card.Set the width of the d
8. Explain in detail the three different methods of adding CSS to a HTML document. Describe each method with its syntax and example.
9. Explain the different data types in JavaScript. Write a JavaScript code snippet that declares appropriate variables using different data types to represent the below information.You are developing a student information system where details of each student are stored using JavaScr