






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







Which 0 of 0 the 0 following 0 statements 0 about 0 HTML5 0 is 0 true? 0 - 0 ans✔HTML5 0 does 0 not 0 require 0 third-party 0 plug-ins 0 for 0 video 0 and 0 audio 0 content What 0 is 0 the 0 purpose 0 of 0 using 0 the 0 0 element 0 in 0 a 0 Web 0 form? 0 - 0 ans✔It 0 displays 0 the 0 result 0 of 0 a 0 calculation 0 in 0 the 0 form Why 0 are 0 syntax 0 errors 0 so 0 common 0 when 0 writing 0 JavaScript 0 code? 0 - 0 ans✔Because 0 JavaScript 0 is 0 case-specific What 0 CSS3 0 property 0 can 0 be 0 used 0 to 0 create 0 rounded 0 corners 0 on 0 an 0 image 0 or 0 other 0 el ement? 0 - 0 ans✔border-radius What 0 type 0 of 0 JavaScript 0 expression 0 evaluates 0 to 0 true 0 or 0 false? 0 - 0 ans✔Logical Which 0 statement 0 is 0 true 0 about 0 JavaScript? 0 - 0 ans✔JavaScript 0 is 0 widely 0 used 0 for 0 client- side 0 and 0 server-side 0 scripts You 0 have 0 created 0 a 0 Web 0 page 0 using 0 the 0 HTML5 0 0 structural 0 element 0 to 0 define 0 a 0 navigation 0 area. 0 Consider 0 the 0 following 0 external 0 style 0 sheet 0 code: nav 0 { float:left; width:165px; background:#d8d8d8 0 url(background.gif) 0 top 0 right; height:662px; } Where 0 on 0 the 0 page 0 will 0 the 0 image 0 (background.gif) 0 appear? 0 - 0 ans✔At 0 the 0 top 0 right 0 of 0 the 0 nav 0 section Kate 0 has 0 created 0 a 0 complex 0 script 0 that 0 she 0 wants 0 to 0 attach 0 to 0 multiple 0 HTML 0 files, 0 bu t 0 she 0 also 0 wants 0 to 0 add 0 a 0 simple 0 script 0 to 0 only 0 certain 0 sections 0 of 0 one 0 page. 0 What 0 m ust 0 she 0 do 0 to 0 apply 0 both 0 scripts? 0 - 0 ans✔She 0 must 0 use 0 separate 0 Vivi 0 is 0 creating 0 a 0 Web 0 page 0 that 0 will 0 allow 0 her 0 employees 0 to 0 upload 0 their 0 timesheets 0 t o 0 the 0 company 0 intranet. 0 What 0 HTML5 0 API 0 can 0 she 0 use 0 to 0 restrict 0 uploads 0 to 0 a 0 specifi c 0 file 0 type? 0 - 0 ans✔The 0 File 0 API Which 0 method 0 of 0 form 0 input 0 validation 0 is 0 sometimes 0 referred 0 to 0 as 0 "pogo- sticking" 0 and 0 may 0 lead 0 to 0 users 0 becoming 0 frustrated 0 or 0 impatient 0 with 0 the 0 form? 0 - 0 ans✔Requiring 0 users 0 to 0 click 0 Submit 0 before 0 validation 0 occurs Which 0 HTML5 0 attribute 0 can 0 help 0 users 0 input 0 valid 0 form 0 data 0 in 0 the 0 To 0 allow 0 several 0 files 0 to 0 be 0 selected 0 at 0 once 0 with 0 the 0 File 0 API, 0 use 0 the: 0 - 0 ans✔multiple 0 attribute Which 0 scripting 0 language 0 is 0 most 0 commonly 0 used 0 within 0 Microsoft's 0 proprietary 0 progra ms, 0 such 0 as 0 Word 0 and 0 Excel? 0 - 0 ans✔VBScript In 0 an 0 article 0 about 0 using 0 inline 0 validation 0 in 0 HTML5 0 forms, 0 Maik 0 reads 0 that 0 users 0 typic ally 0 find 0 these 0 forms 0 to 0 be 0 easier 0 and 0 faster 0 to 0 complete. 0 What 0 feature 0 on 0 inline 0 valid ation 0 would 0 cause 0 this 0 result 0 from 0 form 0 users? 0 - 0 ans✔Users 0 can 0 resolve 0 errors 0 as 0 they 0 go 0 along 0 and 0 submit 0 the 0 completed, 0 validated 0 form 0 just 0 once What 0 is 0 the 0 term 0 for 0 a 0 relatively 0 small 0 application 0 developed 0 exclusively 0 for 0 mobile 0 de vices? 0 - 0 ans✔App Which 0 of 0 the 0 following 0 methods 0 returns 0 a 0 value 0 in 0 the 0 form 0 of 0 a 0 text 0 string? 0 - 0 ans✔prompt() You 0 want 0 to 0 create 0 a 0 simple 0 click-to- call 0 link 0 on 0 your 0 mobile 0 Web 0 page, 0 so 0 that 0 users 0 can 0 easily 0 make 0 a 0 phone 0 call 0 with 0 o ne 0 click. 0 Which 0 line 0 of 0 code 0 will 0 add 0 this 0 feature? 0 - 0 ans✔ 0 Call 0 Us 0 Now 0 Consider 0 the 0 following 0 Cascading 0 Style 0 Sheets 0 (CSS) 0 rule: body 0 {color: 0 #008080;} Which 0 is 0 the 0 "declaration" 0 portion 0 of 0 this 0 rule? 0 - 0 ans✔The 0 portion 0 inside 0 the 0 curly 0 braces What 0 is 0 the 0 purpose 0 of 0 using 0 the 0 CSS3 0 h3 0 ~ 0 p 0 selector? 0 - 0 ans✔To 0 select 0 all 0
0 elements 0 that 0 are 0 preceded 0 by 0 an 0
0 element Many 0 markup 0 code 0 validators 0 exist, 0 but 0 the 0 most 0 authoritative 0 is 0 the 0 W3C 0 Markup 0 Val idation 0 Service. 0 How 0 does 0 the 0 W3C 0 Markup 0 Validation 0 Service 0 determine 0 to 0 what 0 HT ML 0 standard 0 to 0 validate 0 your 0 code? 0 - 0 ans✔It 0 reads 0 the 0 0 declaration 0 on 0 an 0 HTML 0 page 0 and 0 validates 0 according 0 to 0 the 0 specified 0 D TD To 0 change 0 the 0 position 0 of 0 a 0 transformed 0 element 0 in 0 CSS3, 0 you 0 use 0 the: 0 - 0 ans✔transform-origin 0 property To 0 position 0 an 0 element 0 behind 0 another 0 element, 0 you 0 can 0 assign 0 a 0 negative 0 value 0 to: 0 - 0 ans✔the 0 Z-index 0 propertyConsider 0 the 0 following 0 code: var 0 yearBirth 0 = 0 "1956"; What 0 variable 0 data 0 type 0 does 0 this 0 snippet 0 of 0 code 0 represent? 0 - 0 ans✔String Which 0 statement 0 about 0 modern 0 Web 0 design 0 is 0 true? 0 - 0 ans✔The 0 design 0 of 0 mobile 0 Web 0 pages 0 requires 0 some 0 differences 0 from 0 pages 0 design ed 0 for 0 desktop 0 computers You 0 are 0 creating 0 a 0 Web- based 0 mapping 0 application. 0 What 0 information 0 can 0 you 0 obtain 0 by 0 using 0 the 0 HTML5 0 Ge olocation 0 API 0 in 0 your 0 application? 0 - 0 ans✔The 0 latitude 0 and 0 longitude 0 of 0 a 0 user's 0 device What 0 will 0 occur 0 if 0 you 0 define 0 all 0 your 0 functions 0 in 0 the 0 0 section 0 of 0 your 0 HTML 0 p age? 0 - 0 ans✔The 0 functions 0 will 0 load 0 when 0 the 0 browser 0 reaches 0 the 0 script 0 point 0 in 0 the 0 page 0 o r 0 when 0 the 0 appropriate 0 user 0 event 0 occurs How 0 can 0 you 0 override 0 a 0 particular 0 style 0 in 0 an 0 HTML 0 element 0 if 0 the 0 HTML 0 document 0 i s 0 linked 0 to 0 a 0 style 0 sheet? 0 - 0 ans✔By 0 applying 0 an 0 inline 0 CSS 0 style 0 attribute 0 to 0 the 0 element 0 whose 0 style 0 you 0 want 0 t o 0 override Responsive 0 Web 0 Design 0 uses 0 three 0 main 0 techniques 0 to 0 develop 0 responsive 0 pages. 0 W hich 0 technique 0 allows 0 you 0 to 0 specify 0 CSS 0 styles 0 based 0 on 0 viewport 0 size? 0 - 0 ans✔Media 0 queries What 0 is 0 the 0 name 0 for 0 Microsoft's 0 implementation 0 of 0 JavaScript? 0 - 0 ans✔JScript Which 0 example 0 is 0 a 0 valid 0 variable 0 name 0 in 0 JavaScript? 0 - 0 ans✔_firstName Consider 0 the 0 following 0 code:
Which 0 choice 0 correctly 0 describes 0 two 0 benefits 0 of 0 Cascading 0 Style 0 Sheets 0 (CSS)? 0 - 0 ans✔CSS 0 provides 0 a 0 consistent 0 look 0 and 0 feel 0 to 0 site 0 pages, 0 and 0 simplifies 0 change 0 m anagement 0 issues What 0 Geolocation 0 API 0 method 0 is 0 used 0 to 0 retrieve 0 the 0 current 0 geographic 0 location 0 of 0 t he 0 user? 0 - 0 ans✔getCurrentPosition() Consider 0 the 0 following 0 code: var 0 myVar 0 = 0 2; myVar 0 += 0 "3"; What 0 is 0 the 0 value 0 of 0 myVar 0 after 0 execution? 0 - 0 ans✔The 0 value 0 will 0 be: 023 Which 0 HTML 0 element 0 allows 0 you 0 to 0 specify 0 a 0 pre- defined 0 list 0 of 0 options 0 for 0 an 0 input 0 element? 0 - 0 ans✔datalist Which 0 CSS3 0 property 0 can 0 be 0 used 0 to 0 apply 0 a 0 delay 0 effect 0 when 0 an 0 element 0 changes 0 from 0 one 0 style 0 to 0 another, 0 such 0 as 0 when 0 a 0 user 0 hovers 0 over 0 an 0 element? 0 - 0 ans✔transition You 0 are 0 using 0 some 0 graphics 0 that 0 require 0 WebGL 0 for 0 important 0 functionality 0 on 0 your 0 mobile 0 site. 0 Which 0 statement 0 describes 0 the 0 support 0 you 0 can 0 expect 0 or 0 provide 0 for 0 this ? 0 - 0 ans✔You 0 can 0 provide 0 users 0 with 0 a 0 link 0 to 0 test 0 for 0 WebGL 0 support 0 and 0 obtain 0 a 0 supp orting 0 browser JavaScript 0 is 0 a 0 scripting 0 language. 0 Scripting 0 languages: 0 - 0 ans✔interpret 0 and 0 automate 0 a 0 list 0 of 0 tasks 0 that 0 would 0 otherwise 0 be 0 executed 0 one-at- a-time 0 by 0 a 0 person Which 0 of 0 the 0 following 0 statements 0 about 0 validating 0 markup 0 is 0 true? 0 - 0 ans✔If 0 a 0 code 0 validator 0 finds 0 an 0 error, 0 the 0 remaining 0 code 0 on 0 the 0 page 0 may 0 fail 0 valid ation, 0 even 0 if 0 the 0 remaining 0 code 0 is 0 actually 0 valid What 0 type 0 of 0 data 0 can 0 be 0 returned 0 by 0 the 0 XMLHttpRequest 0 object? 0 - 0 ans✔Any 0 type 0 of 0 textual 0 data What 0 three 0 technologies 0 used 0 together 0 provide 0 Web 0 pages 0 that 0 easily 0 adapt 0 to 0 smart phones, 0 tablets, 0 gaming 0 devices 0 and 0 smart 0 TVs, 0 as 0 well 0 as 0 to 0 traditional 0 computers? 0 - 0 ans✔HTML5, 0 Cascading 0 Style 0 Sheets 0 (CSS) 0 and 0 JavaScript
Where 0 can 0 you 0 find 0 information 0 about 0 the 0 latest 0 status 0 of 0 HTML5 0 and 0 CSS3 0 browser 0 support? 0 - 0 ans✔On 0 third-party 0 Web 0 sites 0 such 0 as 0 CanIUse.com 0 and 0 Wufoo.com Consider 0 the 0 following 0 code:
What 0 is 0 the 0 expected 0 result 0 when 0 this 0 script 0 is 0 run 0 in 0 the 0 browser? 0 - 0 ans✔Two 0 alert 0 boxes, 0 both 0 displaying 0 the 0 message 0 Green Consider 0 the 0 following 0 code:
What 0 is 0 the 0 expected 0 result 0 when 0 this 0 script 0 is 0 run 0 in 0 the 0 browser? 0 - 0 ans✔Two 0 alert 0 boxes, 0 both 0 displaying 0 the 0 message 0 Green When 0 you 0 load 0 a 0 page 0 containing 0 your 0 JavaScript 0 code 0 into 0 a 0 browser, 0 how 0 can 0 you 0 ensure 0 that 0 your 0 functions 0 will 0 be 0 available 0 before 0 any 0 user 0 event 0 can 0 occur 0 that 0 mig ht 0 call 0 a 0 function? 0 - 0 ans✔Define 0 all 0 your 0 functions 0 in 0 the 0 0 section 0 of 0 your 0 HTML 0 page The 0 DOM 0 is 0 a 0 standard 0 that 0 enables 0 you 0 to 0 manipulate 0 HTML 0 elements 0 and 0 attribute s 0 in 0 a 0 Web 0 document. 0 What 0 do 0 you 0 use 0 to 0 work 0 with 0 the 0 DOM? 0 - 0 ans✔A 0 scripting 0 language 0 such 0 as 0 JavaScript
re 0 that 0 her 0 scripts 0 will 0 run 0 correctly 0 without 0 knowing 0 what 0 user 0 agent 0 a 0 person 0 will 0 us e 0 to 0 view 0 her 0 pages? 0 - 0 ans✔Test 0 her 0 scripts 0 in 0 the 0 latest 0 versions 0 of 0 popular 0 browsers Consider 0 the 0 following 0 code: var 0 myVar 0 = 0 2; myVar 0 += 0 "3"; What 0 is 0 the 0 value 0 of 0 myVar 0 after 0 execution? 0 - 0 ans✔The 0 value 0 will 0 be: 023 Which 0 JavaScript 0 object 0 can 0 trigger 0 the 0 onerror 0 event 0 handler? 0 - 0 ans✔image You 0 have 0 created 0 a 0 new 0 Web 0 site 0 for 0 your 0 company, 0 and 0 you 0 want 0 to 0 add 0 a 0 script 0 so 0 that 0 a 0 "welcome" 0 pop- up 0 box 0 appears 0 to 0 the 0 user 0 as 0 soon 0 as 0 he 0 or 0 she 0 launches 0 the 0 site. 0 Which 0 JavaScrip t 0 method 0 should 0 you 0 use 0 to 0 display 0 the 0 message? 0 - 0 ans✔The 0 alert() 0 method If 0 the 0 JavaScript 0 operator 0 + 0 is 0 used 0 in 0 an 0 arithmetic 0 expression, 0 what 0 is 0 the 0 result? 0 - 0 ans✔The 0 expression 0 treats 0 + 0 as 0 an 0 addition 0 operator 0 and 0 sums 0 the 0 values You 0 are 0 using 0 the 0 0 element 0 to 0 embed 0 a 0 video 0 in 0 your 0 HTML5 0 page. 0 Which 0 att ribute 0 should 0 you 0 use 0 if 0 you 0 want 0 to 0 identify 0 an 0 image 0 to 0 be 0 displayed 0 until 0 the 0 Play 0 b utton 0 is 0 clicked 0 or 0 while 0 the 0 video 0 is 0 downloading? 0 - 0 ans✔The 0 poster 0 attribute Terri 0 is 0 filling 0 in 0 a 0 form 0 on 0 a 0 Web 0 site. 0 She 0 notices 0 that 0 as 0 she 0 types 0 responses 0 in 0 th e 0 form 0 fields, 0 suggestions 0 are 0 made 0 that 0 she 0 could 0 accept 0 for 0 the 0 input. 0 The element 0 is 0 implementing 0 which 0 of 0 the 0 following 0 attributes? 0 - 0 ans✔autocomplete Consider 0 the 0 following 0 code: var 0 yearBirth 0 = 0 "1956"; What 0 variable 0 data 0 type 0 does 0 this 0 snippet 0 of 0 code 0 represent? 0 - 0 ans✔String