This document contains a 20 question multiple choice worksheet about Django ORM, HTML, and CSS. The questions cover topics like Django template rendering shortcuts, HTML tags for headings, tables, embedding CSS, Django template features, database setup in Django, Django views, CSS properties, and various HTML and CSS attributes.
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
63 views
Worksheet On Django ORM, HTML & CSS
This document contains a 20 question multiple choice worksheet about Django ORM, HTML, and CSS. The questions cover topics like Django template rendering shortcuts, HTML tags for headings, tables, embedding CSS, Django template features, database setup in Django, Django views, CSS properties, and various HTML and CSS attributes.
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2
Worksheet on Django ORM, HTML & CSS
Multiple Choice Questions
Name:- ………………………………………………………..……………………….. Region……………………..…..…………….. Name of Kendriya Vidyalaya:-…………………………………………………………….. 1. What is the Django shortcut method to more easily render an html response? A. render_to_html B. render_to_response C. response_render D. render 2. What is the Django shortcut method to more easily render an html response? A. render_to_html B. render_to_response C. response_render D. render 3. What is the Django shortcut method to more easily render an html response? A. render_to_html B. render_to_response C. response_render D. render 4. What is the Django shortcut method to more easily render an html response? A. render_to_html B. render_to_response C. response_render D. render 5. What is the Django shortcut method to more easily render an html response? A. render_to_html B. render_to_response C. response_render D. render 6. Choose the correct tag for the largest heading in HTML. a) h6 b) heading c) h1 d) head 7. Which of the following are table tags? a) table, thead, tr, td b) colspan, table, tr c) table, tt, tr, td d) thead, colspan, td, tr 8. In css, “color:red” can be called as _____________ a) Selector b) Rule c) Declaration d) Value 9. n CSS, “font-size” can be called as ________ a) Selector b) Rule c) Property d) Property-Name 10. Which of the following tag is used to embed css in html page? a) <script> b) <style> c) <css> d) <!DOCTYPE html> 11. What Constitutes Django Templates? 12. How Can You Set Up The Database In Djanago? 13. What Are The Features Available In Django Web Framework? 14. Write a view function that can process a GET request and display “main.html” as template. Required files(s) and method(s) are already imported. 15. How Do You Use Views In Django? 16. How to specify the column properties of each column within a colgroup element? 17. How to embed audio in a HTML document? 18. How to center the alignments for one of the items inside a flexible element 19. How to set the background-attachment property whether a background image is fixed or scrolls with the rest of the page? 20. How to set the style of the top border?