jeevan

jeevan

  • NA
  • 8
  • 14.7k

CSS triangles are formed by having height and width of

Nov 20 2018 8:53 PM
Which options are correct for below HTML5,CSS3 interview questions 1) Tables for layout other than tabular data presentation are not preferred in HTML because Options: a) Caching of the layout won't work b) Changing the design needs change of HTML code c) Accessibility won't work d) It's just matter of tradition 2) From the following give the disadvantages of HTML5? i) Cleaner markup ii) Additional semantics of new elements like ,, and iii) New form input types and attributes that will ( and in Opera's case, do) take the hassle out of scripting forms. Options: a) i and ii b) ii and iii c) i,ii and iii d) None of the above 3) If the opacity of parent element is 0.5 and we want the child opacity to be 0.3 , what is the possible value for opacity for child element? Options: a) 0.15 b) 0.27 c) 0.25 d) 0.3 4) Resources mentioned in the manifest file will be downloaded and cached locally for offline access. Options: a) True b) False 5) CSS selector for previous sibling Options: a) + b) > c) ! d) None of them 6) Which is preferred method for drawing like animation and games Options: a) SVG b) Canvas c) Both d) None of them 7) Common challenges faced when designing or developing for multilingual sites are Options: a) Standard text sizes and direction b) Font colours c) App executable size d) Unicode encoding of special characters 8) Which of the following triggers on a mouse double-click Options: a) ondblClick b) onDoubleClick 9) Use_______ for making div not larger than its contents Options: a) float b) absolutely positioned element c) inline-block element d) table element 10) Number pad with a back button for text field can be achieved by Options: a) type=telephone b) type=text and pattern c) type=number and pattern d) Can't be achieved 11) Tables can have tables nested Options: a) TRUE b) FALSE 12) CSS3 allows multiple background images for box elements using Options: a) , b) ; c) Multiple definitions in {} for an element d) Multiple background images are not allowed 13) CSS3 animations is not showing an effect because ___ or ___ not specified Options: a) Name, Duration b) None of the above 14) Preferred methods of optimising a website assets Options: a) File Concatenation b) File Compression c) Offloading assets d) CDN Hosting 15) Which is the permanent and website-specific storage in the following Options: a) Cookies b) Session storage c) Local storage d) None of them 16) Which are restrictions active if sandbox attribute is used? Options: a) All activities are flowing safe path b) Links are prevented from targeting other browsing contexts c) All plugins are disabled d) Markup origin is hidden 17) When table-width=100%, the navigator leaves room for a scrollbar on the right, even If the document does not require scrolling Options: a) TRUE b) FALSE 18) CSS triangles are formed by having height and width of Options: a) Equal values b) 0 c) Height greater than width d) Height lesser than width 19) You are developing a customer web form that indicates the following HTML _______ You need to change the HTML markup so that customers can enter only a valid three-letter country Code. Which HTML should you use? Options: a) b) c) d) 20) Which Boolean attribute if specified, will allow video automatically seek back to start after reaching at the end. Options: a) Autoplay b) Autobuffer c) Loop d) Controls 21) Hosting multiple applications on the same origin is a security flaw Options: a) TRUE b) FALSE 22) We can disable validation of HTML5 form elements by using Options: a) Novalidate b) Invalidate c) Novalidation d) Novalidate="novalidate" 23) Which is best suited for applications with large rendering areas eg: Google maps ? Options: a) SVG b) Canvas c) Both d) None of them 24) Chucknorris string produces red colour when entered as background colour in HTML, why? Options: a) HTML cheatseet have certain random strings mapped to colours and it is one of them b) Chucknorris leaves blood-red backgrounds where ever he goes, including websoies c) HTML is built around intentionally ignoring malformed input d) Browsers substitute non-hex digits with zeros 25) The location of the device could not be determined, the error code is 2 then what will be the constant? Options: a) UNKOWN_ERROR b) PERMISSION_DENIED c) POSITION_UNAVAILABLE d) TIMEOUT 26) In location property what specifies the geographic locations of the device. The location is expressed as a set of geographic coordinates together with information about heading and speed. Options: a) coords.accuracy b) coords. Longitude c) coords d) Coords.altitudeAccuracy 27) Cellspacing of HTML, in equivalent to ____ of CSS Options: a) border-collapse: collapse; b) Border-spacing :X px; c) Padding : X px: d) No such option is available in CSS 28) A mixin with no parameter is more efficient than using extend Options: a) TRUE b) FALSE 29) Which WebSocket attribute indicates the connection ready status Options: a) Socket.readyState b) Socket.statusReady c) Socket.readyStatus d) isSocketReady