Spring 2017 Developer Training - Week 1

Descripción

Computer Science Test sobre Spring 2017 Developer Training - Week 1, creado por Stefcho Stefchov el 14/04/2017.
Stefcho Stefchov
Test por Stefcho Stefchov, actualizado hace más de 1 año
Stefcho Stefchov
Creado por Stefcho Stefchov hace alrededor de 7 años
34
1

Resumen del Recurso

Pregunta 1

Pregunta
Please choose the description which best matches how the following HTML will render.

Pregunta 2

Pregunta
The anchor tag attribute "href" should contain a URI. This URI ...
Respuesta
  • must use fully qualified domain names.
  • should be relative to the anchor tag.
  • should be relative to the site root.
  • should be relative to the html page.
  • is case sensitive.

Pregunta 3

Pregunta
Character entity references allow designers to display special symbols in html. Please select the correct format for specifying these.
Respuesta
  • prefix with %, and optional : suffix
  • prefix with #, and optional ; suffix
  • prefix with &, and require ; suffix
  • prefix with %, and require ; suffix
  • prefix with & and #, and optional ; suffix

Pregunta 4

Pregunta
Which one of the following answers only contain valid semantic tags added in HTML5.
Respuesta
  • article, aside, details, figcaption, figure, footer, header, nav, section, summary, time
  • article, aside, figure, footer, header, main, mark, navigation, section, summary
  • article, header, navigation, section, sidebar, footer, summary, time
  • article, caption, details, figure, footer, header, main, mark, nav, section, sidebar, summary, time

Pregunta 5

Pregunta
What is the purpose of semantic tag elements?
Respuesta
  • To provide more meaning for the parser.
  • To make the HTML page render according to modern standards.
  • To sunset confusing markup standards.
  • To increase the number of tags available to write HTML with.

Pregunta 6

Pregunta
How many header and footer tags are allowed in an HTML5 page?
Respuesta
  • You should only have 1 header and 1 footer per page.
  • You should only have 1 header and 1 footer per section.
  • There is no limit to the number of headers and footers per page.
  • There is no limit to the of headers and footers per section.

Pregunta 7

Pregunta
You are working on a site which isn't rendering properly in Firefox and see the following code. What approach should you take to fix the problem?
Respuesta
  • Remove the comment because it is likely confusing the browser.
  • Remove the comment because it has no effect in Firefox.
  • Leave the comment because it only affects IE browsers.
  • Leave the comment because it is unknown what effect it has.
  • Edit the html5shiv.js and add an exception to fix the render bug in Firefox.

Pregunta 8

Pregunta
How is the id attribute of a tag different than the class attribute?
Respuesta
  • You can assign style by id or by class, so there is no difference.
  • You may only assign one style class to an id, but any number of CSS classes to the class tag.
  • It is an error to have a duplicate id assignments in an html page. But it is allowed to have duplicate class assignments.
  • The id attribute of a tag is primarily used for JavaScript and the class tag is used for styling, but a style can be assigned to an Id tag.

Pregunta 9

Pregunta
The CSS margin property of an element "margin: 20px 40px;" has the same meaning as "margin: 20px 40px 20px 40px;"
Respuesta
  • True
  • False

Pregunta 10

Pregunta
The CSS padding property of an element "padding: 10px 20px 30px 0;" is equivalent to "padding-top: 10px; padding-bottom: 30px; padding-left: 20px; padding-right: 0;"
Respuesta
  • True
  • False

Pregunta 11

Pregunta
What will be the actual rendered width of this box?
Respuesta
  • 100px
  • 110px
  • 140px
  • 150px
  • 125px
  • 70px

Pregunta 12

Pregunta
Which CSS selector should you use to mark only the text "Greetings!" in green?
Respuesta
  • #main > .greet > span
  • #main < .greet < span
  • #main div span
  • body > main > greet > span
  • #main > .greet span

Pregunta 13

Pregunta
Given the following CSS styles, what color will the word Greetings! appear in? #main .greet span { color: green; } #main .first span { color: blue; } div div span { color: red; }
Respuesta
  • Green
  • Blue
  • Red
  • Black
Mostrar resumen completo Ocultar resumen completo

Similar

Computing Hardware - CPU and Memory
ollietablet123
SFDC App Builder 2
Parker Webb-Mitchell
Data Types
Jacob Sedore
Intake7 BIM L1
Stanley Chia
Software Processes
Nurul Aiman Abdu
Design Patterns
Erica Solum
CCNA Answers – CCNA Exam
Abdul Demir
Abstraction
Shannon Anderson-Rush
Spyware
Sam2
HTTPS explained with Carrier Pigeons
Shannon Anderson-Rush
Data Analytics
anelvr