Question

In: Computer Science

Which of the following tags is NOT a container tag? <p> <span> <div> <img> <table> What...

  1. Which of the following tags is NOT a container tag?
    1. <p>
    2. <span>
    3. <div>
    4. <img>
    5. <table>
  2. What is the correct order for table tags
    1. <table><td><tr>
    2. <tr><td>
    3. <table><tr><td></tr></td></table>
    4. <table><tr><td></td></tr></table>
    5. <table><td><tr></tr></td></table>
  3. For the list shown below which of the following is the proper HTML5 code for the list.

1.         A

2.         B

3.         C

    1. <ul> <li> A <li> B <li> C </ul>
    2. <ul> <li> A </li> <li> B </li> <li> C </li> </ul>
    3. <ol> <li> A <li> B <li> C </ol>
    4. <ol> <li> A </li> <li> B </li> <li> C </li> </ol>
  1. Which method will send form data via the URL?
    1. get
    2. post
    3. action
    4. Only a and b
    5. None of the above
  2. Which one of the following defines a CSS class selector, RED:
    1. RED {…}
    2. #RED {…}
    3. .RED {…}
    4. all of the above
    5. none of the above
  3. The term ___________ refers to the ways in which a web page can be made more usable by people with visual disabilities.
    1. cascading
    2. standards
    3. accessibility
    4. usability
    5. unhandicapificationization

9. What is the correct JavaScript syntax to change the content of the HTML element below?

      <p id="demo">This is a demonstration.</p>

Top of Form

  1. document.getElementById("demo").innerHTML = "Hello World!";
  2. #demo.innerHTML = "Hello World!";
  3. document.getElement("p").innerHTML = "Hello World!";
  4. document.getElementByName("p").innerHTML = "Hello World!";

10. 4. What is the correct syntax for referring to an external script called "xxx.js"?

  1. <script src="xxx.js">
  2. <script href="xxx.js">
  3. <script name="xxx.js">

The following three questions will be in relation to the HTML code shown below and CSS:

  1. <h1>Down the Rabbit-Hole</h1>
  2. <div class="bb" >    
  3.    <p class="bb" >Alice was beginning to get very tired ...</p>
  4.    <br/>
  5.    <p> Alice </p>
  6. </div>
  7. <div id="aa">
  8.    <p>Down, down, down. Would the fall never come to an end</p>
  9.    <div> <p class="bb" >I wonder if I shall fall right …</p> </div>
  10. </div>
  1. Which of the following will uniquely select the div tag located on line 7
    1. div
    2. aa.div
    3. aa
    4. #aa
    5. .aa
  2. Which of the following will select all <p> tags of class bb
    1. .bb
    2. bb
    3. #bb
    4. p.bb
    5. bb p
  3. Which tags will be selected by the following selector:      #aa .bb { }
    1. The <p> tags on lines 3,5,8 and 9
    2. The <div> tag on line 9
    3. The <p> tag on line 9
    4. The <div> tags on lines 2 and 7 and the <p> tags on lines 3 and 9
    5. The <div> tag on line 2 and the <p> tags on lines 3 and 9
  4. Which is the generally preferred method for consistently using styles
    1. Defined in-line (within tag)
    2. embedded within HTML
    3. linked from external file
    4. It doesn't make any difference, all are equally-preferred.
  5. The ______ element is used to define column headings in a table.
    1. caption
    2. td
    3. th
    4. head
    5. headings

Solutions

Expert Solution

Which of the following is NOT a container tag?

Answer:- d. <img>

Explanation:-

<img> tag is not a container because of the following reasons:

  • It does not contain the closing tag.
  • This tag does not encloses any content.

What is the correct order for table tags?

Answer:- d. <table><tr><td></td></tr></table>

Explanation:-

  • The <table> </table> tag encloses the table.
  • The <tr> </tr> tag indicates table row.
  • The <td> </td> tag holds the actual data.

For the list shown below which of the following is the proper HTML5 code for the list.

1.         A

2.         B

3.         C

Answer:- d. <ol> <li> A </li> <li> B </li> <li> C </li> </ol>

Explanation:-

  • <ol> </ol> tag indicates the ordered list which includes numbers like 1,2,3,...
  • <li> </li> tag holds the actual data.

Which method will send form data via the URL?

Answer:- a. get

Explanation:-

METHOD="GET" is used to send data via the URL.

Which one of the following defines a CSS class selector, RED:

Answer:- c .RED {…}

Explanation:-

CSS supports different types of selectors. The class selector consists of the dot(.) followed by name.

The term ___________ refers to the ways in which a web page can be made more usable by people with visual disabilities.

Answer:- c. accessibility

Explanation:-

The accessibility provides various guides especially for the disabled ones.

9. What is the correct JavaScript syntax to change the content of the HTML element below?

      <p id="demo">This is a demonstration.</p>

Answer:- a. document.getElementById("demo").innerHTML = "Hello World!";

10. 4. What is the correct syntax for referring to an external script called "xxx.js"?

Answer:- b. <script src="xxx.js">

Explanation:- The external java-script is referred in the current page using the "src" attribute.

The ______ element is used to define column headings in a table.

Answer:- c. th

Explanation:-

<th> </th> tag is used to define the column headings in a table where the content appear in bold letters.


Related Solutions

The following HTML tags will be used to complete assignment below: · <table> · <tr> ·...
The following HTML tags will be used to complete assignment below: · <table> · <tr> · <td> Explore CSS and the various ways attributes can be manipulated to change the width and style of table borders in addition to the physical dimensions of the space that resides within each cell. Demonstrate mastery of the concepts of "absolute" vs. "relative" sizes when specifying table dimensions and create a traditional 12x12 multiplication table and a different HTML table on the same markup...
On a horizontal table there is a container standing frictionless, which is divided into two equal...
On a horizontal table there is a container standing frictionless, which is divided into two equal parts by a partition wall. In one part of the container there is oxygen, in the other part - nitrogen. The pressure of oxygen is twice as high as the pressure of nitrogen. By what distance does the container shift when the partition becomes permeable to both gases? The length of the container is l = 20 cm. Neglect the mass of the container...
Which of the following is the time span in which cash is paid for services and...
Which of the following is the time span in which cash is paid for services and goods which ar sold to customers from whom the business collects cash
Refer to following table, in which Qd is the quantity of yen demanded, P is the...
Refer to following table, in which Qd is the quantity of yen demanded, P is the dollar price of yen, Qs is the quantity of yen supplied in year 1, and Qs' is the quantity of yen supplied in year 2. All quantities are in billions. Qd P Qs Qs' 20 130 40 60 30 125 30 50 40 120 20 40 50 115 10 30 Assume that the exchange rate is fixed against the dollar at the equilibrium exchange...
Come up with a 2 x 2 contingency table for which p^1=p^2 , and for which...
Come up with a 2 x 2 contingency table for which p^1=p^2 , and for which the row and column totals are not the same. Now calculate χ2*. Are you surprised? Why or why not?
Which of the following vectors does not belong to span{ (2,0,3), (3,0,2) } ? a) (5,0,5)...
Which of the following vectors does not belong to span{ (2,0,3), (3,0,2) } ? a) (5,0,5) b) (1,0,-1) c) (3,2,0) d) (0,0,5)
Which of the following entries on Form 1099-DIV indicates long-term tax treatment, regardless of the amount...
Which of the following entries on Form 1099-DIV indicates long-term tax treatment, regardless of the amount of time a taxpayer actually owned shares of a mutual fund? Cash liquidation distributions. Noncash liquidation distributions. Nondividend distributions. Total capital gain distributions. A taxpayer must make an adjustment on Schedule B, Interest and Ordinary Dividends, and attach the form to their return if they receive which of the following? Interest from a certificate of deposit. Nominee interest. Tax-exempt interest. U.S. Savings Bond interest....
Consider the following endothermic equilibrium system in a closed container. In which direction will the equilibrium...
Consider the following endothermic equilibrium system in a closed container. In which direction will the equilibrium shift with each of the disturbances listed below? HCO3-(s) + HC2H3O2 (aq) ↔ C2H3O2-(aq) + H2O (aq) + CO2 (g) a. adding CO2 (g) . b. adding NaOH (aq) . c. adding H+ (aq) . d. placing it in an ice bath. e. opening the container.
What is the life span of a lab mouse? You measured the following life spans (in...
What is the life span of a lab mouse? You measured the following life spans (in days) for a certain standard inbred laboratory strain. 1062, 1285, 412, 828, 602, 602, 763, 854, 666, 489 You may assume for the following questions that the distribution of life span is normal. (a) Calculate the sample mean x¯.x¯. x¯=x¯= Answer (b) Calculate the sample standard deviation s.s. s=s= Answer (c) Calculate the critical value t⋆t⋆ for a 92 percent two-sided confidence interval. t⋆=t⋆=...
For what values of k (if any) do the following three vectors span (a) a line,...
For what values of k (if any) do the following three vectors span (a) a line, (b) a plane, or (c) all of R3? (1, 2, 3),(3, k, k + 3),(2, 4, k)
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT