Worksheet On Django ORM, HTML & CSS

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 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?

You might also like