Spring 2017 Developer Training - Week 1

Descrição

Computer Science Quiz sobre Spring 2017 Developer Training - Week 1, criado por Stefcho Stefchov em 14-04-2017.
Stefcho Stefchov
Quiz por Stefcho Stefchov, atualizado more than 1 year ago
Stefcho Stefchov
Criado por Stefcho Stefchov aproximadamente 7 anos atrás
34
1

Resumo de Recurso

Questão 1

Questão
Please choose the description which best matches how the following HTML will render.

Questão 2

Questão
The anchor tag attribute "href" should contain a URI. This URI ...
Responda
  • 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.

Questão 3

Questão
Character entity references allow designers to display special symbols in html. Please select the correct format for specifying these.
Responda
  • 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

Questão 4

Questão
Which one of the following answers only contain valid semantic tags added in HTML5.
Responda
  • 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

Questão 5

Questão
What is the purpose of semantic tag elements?
Responda
  • 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.

Questão 6

Questão
How many header and footer tags are allowed in an HTML5 page?
Responda
  • 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.

Questão 7

Questão
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?
Responda
  • 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.

Questão 8

Questão
How is the id attribute of a tag different than the class attribute?
Responda
  • 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.

Questão 9

Questão
The CSS margin property of an element "margin: 20px 40px;" has the same meaning as "margin: 20px 40px 20px 40px;"
Responda
  • True
  • False

Questão 10

Questão
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;"
Responda
  • True
  • False

Questão 11

Questão
What will be the actual rendered width of this box?
Responda
  • 100px
  • 110px
  • 140px
  • 150px
  • 125px
  • 70px

Questão 12

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

Questão 13

Questão
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; }
Responda
  • Green
  • Blue
  • Red
  • Black

Semelhante

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