placeholder image to represent content

Q2_SUMMATIVE_WEBDEV

Quiz by Renee Roseller Grafilon

Our brand new solo games combine with your quiz, on the same screen

Correct quiz answers unlock more play!

New Quizalize solo game modes
30 questions
Show answers
  • Q1

    Which tag is used for images?

    [alt]

    [img]

    [name]

    [src]

    30s
  • Q2

    Which idea best describes the importance of using src attribute?

    It indicates the file name, format and where the image will come from

    It complements the [img] tag

    It provides the image to be inserted

    It tells the format of the image to be used

    30s
  • Q3

    If you want to use a specific image as a backgroundfor your page? What will be the attribute to be used?

    src

    background      

    bgcolor

    altimage          

    30s
  • Q4

    Which of the following is the correct code for a page with a PNG background image with a file name beach3?

    [bodybackground=“beach3.png”][/body]

    [bodybgcolor=“beach3.png][/body]

    [bodybgcolor=“src beach3.png][/body]

    [bodybackground=“img src beach3.png][/body]

    30s
  • Q5

    How are you going to insert an alternative text that appears when the mouse hovers the image when the image cannot be displayed?

    By giving a name to an image using name attribute

    By using alt attribute then followed by a value with any text you want to appear

    By using src attribute to indicate the image

     By indicating lowsrc attribute.

    30s
  • Q6

    Image plays a vital role in a website. Which idea shows the correctelement to be used when inserting an image to a web page, if the image to beused is saved in a different folder?

    [imgsrc=“fodername/filename.fileextension name”]

    [imgbackground=“filename.fileextension name”][/img]

    [imgsrc=“filename.fileextension name” ][/img]

    [imgbackground=“fodername/filename.fileextension name”]

    30s
  • Q7

    What tool will you used if you want to arrange and organize the contents of your webpage in columns and rows?

    Table

    Style Sheets     

    Boxes

    Cell     

    30s
  • Q8

    You are using a table in your webpage. In what case will you use the NOWRAP value for the WRAP attribute?

    When 2 or more cells will be combined to fit the content

    When the cell is too narrow for the content

    When you want to inhibit the word wrapping in a cell

    When you want to wrap the text in each cell

    30s
  • Q9

    Ana is arranging the content of her web page using table. However, she inserted 2table data in the first row and 3 table data in the second row. She used rowspan to merge cells. Is Ana’s action, correct?

    Yes, because she is combining 2 cells in a row

    Yes, because rowspan can be used to merge multiple table data in a row

    No, she should use leave the table as is

    No, she should use colspan because she is merging 2 table data which is equivalent to 2 columns

    30s
  • Q10

    What is the easiest way to create a table with cells that are apart from each other?

    A.   Use align attribute

    Use cellspacing attribute

    Use margin attribute

    Use cellpadding attribute

    30s
  • Q11

    What is the best way to create equal number of cells per row?

    Delete cells with no data or content

    Make sure to insert equal content on each cell

    Add background color to cells with no content

    Merge cells that need to be combined

    30s
  • Q12

     Which table attributes indicates the distance between the contents of the cells and border around it in pixels?

    margin

    cellpadding

    align

    cellspacing

    30s
  • Q13

    What will be the correct code for a table with 2 rows, wherein the first row has 2cells and the second row has 3 cells?

    [tr]

               [td][/td]

                       [td][/td]

          [/tr]

          [tr]

                        [td][/td]

                         [td rowspan=”2”][/td]

                          [td][/td]

           [/tr]

      [tr]

               [td][/td]

                       [td rowspan=”2”][/td]

          [/tr]

          [tr]

                        [td][/td]

                         [td][/td]

                         [td][/td]

           [/tr]

    [tr]

               [td][/td]

                       [td][/td]

          [/tr]

          [tr]

                        [td][/td]

                         [td colspan=”2”][/td]

                          [td][/td]

           [/tr]

    [tr]

               [td][/td]

                       [td colspan=”2”][/td]

          [/tr]

          [tr]

                        [td][/td]

                         [td][/td]

                          [td][/td]

           [/tr]

    30s
  • Q14

    Which of the following is the correct code for adding background color to table rows?

    [tr bgcolor=”value”][[/tr]

    [td color=”value”][/td]

    [tdbgcolor=”value”][/td]

    [tr background=”value”][/tr]

    30s
  • Q15

    How will you add a title “NAME” to a table?

    [table][title]Names[/title][/table]

    [table][th]Names[/th][/table]

    [table][caption]Names[/caption][/table]

    [caption]Names[/caption]

    30s

Teachers give this quiz to your class