Advanced Placement Exam – Webpages with HTML/CSSStep 1 of 520%Thanks for your taking the introduction to programming (HTML/CSS) placement exam. The test should take about 1-hour to complete. Please take the test in one sitting. Good luck.Student Name* First Last Parent Name* First Last Parent Email*Parent Phone*1. When we open a web page in browser, why does it sends requests to the server?Because server has the code of the webpage.Because server reads the code sent by the browser.Because server assists the browser to read the code file.Because it will show up the webpage the browser requested.2. What does HTML stand for?3. Which of the following statements is true?Code shows up on the webpage front-endContent shows up on the webpage front-endBoth code and content show up on the webpage front-endTags show up on the webpage front-end4. Write the opening and closing tags of the paragraph element.5. In an HTML document, which of the following statements is true?Content is written in angular bracketsCode is written in angular bracketsContent is written in circular bracketsNone of the above6. Where is the title tag placed in an HTML document?Nested in the body tagNested in the head tagNested in the div tagNested in the p tag7. Make a simple HTML structure. Write the header tag, 'h2', nested inside the body tag.8. Add an image with the filename 'cat.jpg' in your web page using the img tag. Make sure it shows some alternative text in case the image does not exist.9. Which attribute is used to indicate a link’s destination in an anchor tag?srclinkhrefrel10. How does one add comments in an HTML document?/* Comment here */// Comment here<! Comment here >><!-- Comment here -->11. Which of the following is a self-closing tag in HTML?imgdivpbody12. Create a link to https://google.com using an anchor tag in your HTML document. Make sure it opens the Google webpage in another tab of your browser when clicked on.13. Write HTML code to add a video with the filename 'minions.mp4'. Ensure that the video plays automatically when the page loads.14. Add an image named 'ball.jpg' which resides in a folder named 'images'. Give the image a width of 100px.15. How can we make an image clickable?By adding the 'link' attributeBy enclosing it in an anchor tagBy moving it inside the head tagNone of the above16. Write some text using the paragraph tag and make the text color red using inline styling.17. What does CSS stand for?18. The _______ tag is used to add an external css file to our web pagecsslinkstylehead19. Use CSS to italicize the text in a paragraph tag.20. Give the paragraph tag two classes, 'class1' and 'class2'.21. Give an h1 and paragraph tag a class named 'red' and make their text color red using CSS.22. Give the paragraph tag a style to make its text bold using CSS.23. Give a div tag with the class 'box' a border and background color.24. Give a div tag with the class 'box' a width of 100px and a height of 300px.25. How can we get three divs to display horizontally instead of vertically?By reducing the width of divsBy using the property display: blockBy using the property div: inline-blockBy using the property display: inline-block26. Create a div with the class 'box' and style it to create a spacing of 10px outside the div.27. Create a div with the class 'box' and style it to create a spacing of 10px inside the div.28. Create a div with the class 'borderBox' and style it to have a black dashed border of 5px.29. Create a div with the class 'box' and style it to have rounded corners.30. Which value for margin will make div align at the center?100%centerauto50%31. Create an h3 heading that says, "Hello Everyone"32. Create a paragraph tag with the class 'heading' and style it to make the text bold.33. Create a div with the class 'box' and give it a padding of 50px above the div.34. Create a paragraph tag and give it a left margin of 10%.35. Create a div with the class 'box' and give it a box-shadow property.36. What border-radius should be given to a box to make it a circle?100%50%50px100px37. Create a paragraph tag and style it to give the text a size of 18px.38. Create an anchor tag and style it so that a box-shadow appears when hovered over.39. Create an image tag and style it so that it increases its width from 100px to 120px when hovered over.40. Create a button and style it so that the background color of the button turns red when hovering over it.