WEBMANIA

Beschreibung

This Quiz contains questions from HTML, CSS, JavaScript.
Verge 2k17
Quiz von Verge 2k17, aktualisiert more than 1 year ago
Verge 2k17
Erstellt von Verge 2k17 vor mehr als 6 Jahre
59
0

Zusammenfassung der Ressource

Frage 1

Frage
Assume that code: p { color: red; padding: 10px 5px; background: black;} .fancy {font-family: Cursive; background: red; color: green;} .plain {font-family: Times, Serif; color: black; } <p class="plain fancy">Hi </p> What color font is used to display "Hi" ?
Antworten
  • red
  • green
  • black
  • browser default

Frage 2

Frage
In the following code snippet, what value is given for the right margin? code: margin: 5px 10px 3px 8px;
Antworten
  • 3px
  • 8px
  • 10px
  • 5px

Frage 3

Frage
Which of the following would be used to create class called button which has a width of 750px, a height of 30px, and the color of the text is black ?
Antworten
  • .button { height: 30px; width: 750px; text: black; }
  • #button { height: 30px; width: 750px; color: black; }
  • .button { height: 30px; width: 750px; color: black; }
  • #button { height: 30px; width: 750px; text: black; }

Frage 4

Frage
How much width will this div occupy ? code: div { width: 100px; padding: 10px; margin-left: 5px; border: 2px; }
Antworten
  • 117px
  • 100px
  • 129px
  • 124px

Frage 5

Frage
What is default font size of the h1 tag ?
Antworten
  • 40px
  • 24px
  • 16px
  • 32px

Frage 6

Frage
Which key word used to make animation in HTML code ?
Antworten
  • @keyframe
  • @animation
  • @keyframes
  • @html-animation

Frage 7

Frage
Assume that code: <html> <head> <style> div { margin-right:15px; float: left; } .a { width: 100px; color: #ff00ff; } .b { width: 100px; margin-right: 15px; float: right;} <style> <head> <body> <div class="a">It is a division A</div> <div class="b">It is a division B</div> </body> </html> Total width of the body is 1000px. What is the starting point of division B ?
Antworten
  • 115px
  • 101px
  • 885px
  • 900px

Frage 8

Frage
Assume the following rule is the only one that styles the body element: code: body { font-family: Cursive, Helvetica, Verdana; } What happens if the browser doesn't support any of the following font families ?
Antworten
  • The text will not be displayed
  • The text will be displayed in Cursive
  • The text will be displayed in the default browser font-family
  • None of the above

Frage 9

Frage
Which of these elements are all <table> elements ?
Antworten
  • <thead><body><tr>
  • <table><tr><td>
  • <table><tr><tt>
  • <table><head><tfoot>

Frage 10

Frage
The external JavaScript file must contain the <script> tag.
Antworten
  • True
  • False

Frage 11

Frage
What is the correct way to write a JavaScript array?
Antworten
  • var colors = (1:"red", 2:"green", 3:"blue")
  • var colors = 1=("red"), 2=("green"), 3=("blue")
  • var colors = "red","green","blue"
  • var colors = ["red","green","blue"]

Frage 12

Frage
JavaScript is the same as Java.
Antworten
  • True
  • False

Frage 13

Frage
What will the following code return: Boolean(10<9)
Antworten
  • True
  • False
  • NaN

Frage 14

Frage
What is the correct HTML for making a drop-down list ?
Antworten
  • <input type="list">
  • <list>
  • <select>
  • <input type="dropdown">

Frage 15

Frage
What is the correct html for adding a background color ?
Antworten
  • <body bg="yellow">
  • <background> Yellow </background>
  • <body style="background-color: yellow;">
  • <body bg-color: yellow">

Frage 16

Frage
How can you make a numbered list ?
Antworten
  • <ul>
  • <ol>
  • <dl>
  • <list>

Frage 17

Frage
Which is the correct css syntax ?
Antworten
  • { body: color=black; }
  • { body; color: black; }
  • body { color: black; }
  • body: color=black;

Frage 18

Frage
How do you add a background color for all <h1> elements
Antworten
  • all.h1 {background-color: #ffffff; }
  • h1 {background-color: #ffffff; }
  • h1.all {background-color: #ffffff; }
  • *h1 {background-color: #ffffff; }

Frage 19

Frage
How do you display hyperlinks without an underline ?
Antworten
  • a {underline: none;}
  • a {decoration: no-underline; }
  • a {text-decoration: none;}
  • a {text-decoration: no-underline; }

Frage 20

Frage
How do you display a border like this: the top border = 10 pixels the bottom border = 5 pixels the left border = 20 pixels the right border = 1 pixels
Antworten
  • border-width: 10px 5px 20px 1px;
  • border-width: 10px 20px 5px 1px;
  • border-width: 10px 1px 5px 20px;
  • border-width: 5px 20px 10px 1px;
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

Sehenswürdigkeiten Deutschlands
Natalia Romanova
VL 11 Synapse & Peripheres Nervensystem
jules2004
Klausurfragen aktuell
Anne Malten
LEK 1-1
tobifant
Zivilrecht - Handelsrecht Streitigkeiten
myJurazone
[Geschichte] Nachkriegsdeutschland - Die Stunde null
Marcel Pabst
GPSY SOPS
Simon Wirsching
EVA - Vorbereitung MC Teil
hans urst
Vetie: Geflügelkrankheiten 2018
Johanna Tr
Vetie - Fleisch 2016
Kim Langner