Question 15
Consider the following HTML document.
<!DOCTYPE html><html lang="en"><head> <title>Document</title> <style> p { background-color: yellow; color: red; display: inline-block; } #id { border: 2px solid purple; color:blue ; } .class1 { background-color: aqua; color: red; } .class2{ background-color: lightgreen; color: darkgreen; } </style></head><body> <p class="class1" id="id">Code 1</p> <p class="class1 class2" >Code 2</p> <p class="class1">Code 3</p> <p >Code 4</p></body></html>How will the browser render above HTML file?