WEBMANIA

Beschreibung

This Quiz contains questions from HTML, CSS, and JavaScript.
prabu .G
Quiz von prabu .G, aktualisiert more than 1 year ago
prabu .G
Erstellt von prabu .G vor fast 7 Jahre
1097
0

Zusammenfassung der Ressource

Frage 1

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

Frage 2

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 3

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

Frage 4

Frage
Assume that this code is linked together correctly 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
  • green
  • red
  • black
  • browser default

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 the following rule is the only one that styles the body element: body { font-family: Cursive, Helvetica, Verdana; } What happens if the browser doesn't support any of these 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 8

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 9

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;

Frage 10

Frage
How do you select all p elements inside a div element ?
Antworten
  • div+p
  • div.p
  • div p
  • all.p
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

Web Designing & Development Full Tutorial
Nandkishor Dhekane
7 Elements of Good Design
Micheal Heffernan
Design Tips for Non-Designers
Micheal Heffernan
HTML + CSS
Justina Sadikova
User experience: Jeff Johnson's principles
Martha Mathews
7. People See Cues That Tell Them What To Do With An Object
Samuel Fuentes
What is Responsive Design?
Martha Mathews
HTML + CSS 2
Ian Simpson
How does SEO help your business?
Mason argyle
User experience and responsive design
Martha Mathews
7. People See Cues That Tell Them What To Do With An Object
Tasha Frisbee