Modern Application Development I, Quiz 1
What will be the output of the following HTML code?
<!DOCTYPE html><html><head> <title>Test List</title></head><body> <dl> <dt>Flask</dt> <dd>A Python web framework.</dd> <dt>SQLAlchemy</dt> <dd>A database toolkit for Python.</dd> </dl></body></html>What will be the output of the following HTML code? <!DOCTYPE html> <html> <head> <title>Test List</title> </head> <body> <dl> <dt>Flask</dt> <dd>A Python web framework.</dd> <dt>SQLAlchemy</dt> <dd>A database toolkit for Python.</dd> </dl> </body> </html> Figure from the original question paper Consider the following HTML code snippet. filename: index.html <!DOCTYPE html> <html lang="en"> <head> <title>CSS Document</title> <style> .container p.highlight { background-color: red; } .content .special { background-color: blue; } span.highlight { background-color: green; } </style> </head> <body> <div class="container"> <p class="highlight">Welcome to our site</p> <div class="content"> <p>This is regular content</p> <p class="highlight special">Important information</p> <span class="highlight">Notice</span> </div> <p class="highlight">Footer text</p> </div> <p class="highlight">Welcome to our site</p> </body> </html> Which elements from the above document will have a **red** background color?