Question

In: Computer Science

1.What are the THREE (3) types of CSS? a) Internal, External and Online Style Sheets b)...

1.What are the THREE (3) types of CSS?

a) Internal, External and Online Style Sheets

b) Embedded, Outsider and Inline Style Sheets

c) Embedded, Linking and Inline Style Sheets

2. The width, src and border are examples of an ______. *

a) entity

b) element

c) attribute

d) operation

d) Internal, External and Inline Style Sheets

3. Which of the following codes best represents inserting image from folder named images?

a) <p>Image:</p> <img src="/chrome/images.gif" alt="Google Chrome" width="33" height="32" />

b) <p>Image:</p><img src="file://images/chrome.gif" alt="Google Chrome" width="33" height="32" />

c) <p>Image:</p><img src="/images/chrome.gif" alt="Google Chrome" width="33" height="32" />

d) <p>Image:</p><img src="folder: images image file name: chrome.gif" alt="Google Chrome" width="33" height="32" />

4.Which of the following is the CORRECT HTML tag to start JavaScript?

a) <script>

b) <js>

c) <javascript>

d) <scripting>

5. How can you add a comment in JavaScript? *

a) <!--This is a comment-->

b) //This is a comment

c) "This is a comment"

d) <--! This is a comment -->

6. Select the correct HTML statement in referring to an external style sheet.

a) <link rel="stylesheet" type="text/css" href="mystyle.css">

b) <stylesheet>mystyle.css</stylesheet>

c) <style src="mystyle.css">

d) <link rel=”style" type="text/css" href="mystyle.css">

Solutions

Expert Solution

1.) What are three types of CSS.

Answer -- option D) Internal, External and Inline Style Sheets.

  • Explaination -- the internal stylesheet is added <style> tag in the <head> section in html documnet.
  • In external stylesheet, you can link your webpages to an external .css file. and this is most efficient method.
  • Inline stylesheet - It is used to specific HTML element, you just need to add style attribute to each HTML tag.

2.) The width, src and border are an example of an --

Answer -- Option C) Attribute

  • Explaination -- src attribute - specify URL location of external resources.  
  • Border attribute -- this property allows you to set border, width , color of element's border.

3.) Which of the following code best represent inserting image from folder named images --

Answer -- Option C)  <p>Image:</p><img src="/images/chrome.gif" width="33" height="32" />

4.) Which of the following is CORRECT HTML tag to start javascript--

Answer -- Option A) <script>

  • Explaination -- The <script> tag is used to define client side script. this tag contains either script statements or point to external script file using src attribute.

5.) How can you add comment in javascript --

Answer -- Ooption A)   <!--This is a comment-->

  • Explaination -- The line of the code which is commented out will not be interpreted by javascript engine.

6.) Select correct HTML statement in referring to an external style sheet --

Answer -- Option A)  <link rel="stylesheet" type="text/css" href="mystyle.css">

  • Explaination -- Using external css we can include the file of css which is on other folder while designing website.the css/mystyle.css, it means the file mystyle.css is saved in the css folder.

Related Solutions

What does it mean that the style sheets are cascading? What is the order of priority of CSS?
What does it mean that the style sheets are cascading? What is the order of priority of CSS? List 5 things you can do with CSS, which cannot be done easily in HTML?
What are the two types of internal interference? Whatare the two types of external interference?...
What are the two types of internal interference? What are the two types of external interference? Can you think of an example of each in your own life?
List three (3) internal stakeholders and three (3) external stakeholders that may be involved in developing...
List three (3) internal stakeholders and three (3) external stakeholders that may be involved in developing programs and describe how could facilitate their input in program development.
Use an external CSS & JS file, no internal or inline styles & scripts Please comment...
Use an external CSS & JS file, no internal or inline styles & scripts Please comment your JS to break down your understanding of what is happening You can use a CDN link for your jQuery (Links to an external site.) library reference Create a web page that includes these HTML 5 semantic elements: <article> <aside> <figcaption> <figure> <footer> <header> <nav> <section> Your web page should have at least 3 images and they should all use the figure/fig caption elements...
What are inline styles, embedded styles, and external style sheets? Which would you use to define...
What are inline styles, embedded styles, and external style sheets? Which would you use to define a design for an entire Web site and why? Please type out in text so I can read. Also please be as detailed as possible. Thank you in advance!!!
1. Which tag do you use to access an external style sheet? * a) <a> b)...
1. Which tag do you use to access an external style sheet? * a) <a> b) <head> c) <style> d) <link> 2. Which of the following CSS properties below specifies the name of the font to use? * a) font-face b) font-type c) font-family d) font-use 3. Choose the INVALID value for the area element’s shape attribute. * a) square b) rect c) circle d) poly 4. Which of these CSS properties DOES NOT have the top, right, left, and...
Auditors can be classified under four types: (1) external auditors, (2) internal auditors, (3) government auditors,...
Auditors can be classified under four types: (1) external auditors, (2) internal auditors, (3) government auditors, and (4) forensic auditors. Explain?
3. The human body responds to both external and internal signals of all types including light,...
3. The human body responds to both external and internal signals of all types including light, pressure, sound, temperature, and chemical signals. The human nervous system depends on a network of neurons to transmit information from one area of the body to another. a. Describe how the body detects such a wide variety of external and internal signals. b. Describe how information moves through a single neuron starting with the dendrite and ending at the synapse.
1. What are communication satellites.? (b) State and write about the three (3) types of communication...
1. What are communication satellites.? (b) State and write about the three (3) types of communication satellites you have studied and the zones they occupy in space.
What are the main advantages and disadvantages of MBRs? Compare submerged (internal) versus external types of...
What are the main advantages and disadvantages of MBRs? Compare submerged (internal) versus external types of MBRs. and what are the important parameters to be considered in the design of ASP or MBRs?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT