C779 Questions and Correct Answers/
Latest Update / Already Graded
Inline CSS Style
Ans: style att. within each html tag
specific section
<p style = "color:blue;"> Text in blue. </p>
Internal CSS style
Ans: styles within style tags in header, to all elements
<head> <style> p{color:blue;}</style></head>
External CSS style
Ans: styles in separate file referred as link in header, industry standard
<head><link rel="stylesheet" href="styles.css"></head>
,2 | Page
use of inline & internal definitions
Ans: reduces number of files web browser must download before
displaying content
not rec. for multiple pages
Property
Ans: color, font-size etc.
Value
Ans: blue, 12px
css key info
,3 | Page
Ans: describes how html elements are displayed
saves a lot of work
control multiple pages at one time
external stylesheets stored in css files
CSS rule positions image to the right of text
Ans: img {float:right; margin-left: 0px}
Video formats for HTML
Ans: ogg web mp4
Tag pair for embedding audio, video and interactive maps in html
Ans: iframe
code for attaching external style sheets to html
, 4 | Page
Ans: <link rel="stylesheet" type="text/css" href="css/mystle.css">
html canvas API supports which shape
Ans: rectangle
Primary use of html5 canvas
Ans: draw graphics, on the fly, via java
which code defines an images map regions
Ans: <area shape="rect" coords="0,0,0,0" href="home.html" alt="home"/>
For a circle hotspot, what do 90,45,30 mean
Ans: center cord & radiu s
Which code to use image as a hyperlink