Hi Howard,
Thanks a lot for the reply.
Here is the example ( It is originally a text file), I have also attached the error:
// question: 1 name: MultipleChoiceQ
::MultipleChoiceQ::[html]Which of the following is NOT CORRECT about plug-ins? {
~Plug-ins provide browsers with additional functionality.
~Plug-ins enable the use of enhanced media types, such as real-time audio.
=IE, Firefox, and Opera are examples of plug-ins.
~When embedding a multimedia file, it will be opened in the browser using the plug-in if it’s installed.
}
// question: 2 name: MultipleChoiceQ
::MultipleChoiceQ::[html]Which of the following is NOT CORRECT about players? {
~Players enable users to run multimedia applications on their computer.
~Flash, Shockwave, and QuickTime are examples of players.
~When linking to a multimedia file, clicking the link will open the file in a compatible player.
=None of the above.
}
// question: 3 name: MultipleChoiceQ
::MultipleChoiceQ::[html]Which is of the following is NOT CORRECT about the following code?<br /><a href&\#61;"file:///C:/mysite.com/media/performance.wmv"> <img src&\#61;"file:///C:/ mysite.com /media/performance.jpg" alt&\#61;"Me Performing"></a> {
~An image is displayed for the user to click on to open the file.
=It references files on the server-at mysite.com.
~The video can play in Windows Media Player if the user has it installed.
~None of the above.
}
// question: 4 name: MultipleChoiceQ
::MultipleChoiceQ::[html]Using the <EMBED> element is not standard and a web page that uses it is not valid. {
=True
~False
}
// question: 5 name: MultipleChoiceQ
::MultipleChoiceQ::[html]When using the <object> tag to embed a video, the type and data attributes are used to… {
=specify the MIME type and location and name of the movie
~set controls of a player
~set the dimensions of a player
~none of the above
}
// question: 6 name: MultipleChoiceQ
::MultipleChoiceQ::[html]The <param> tag is used to… {
~format caption text for table headers
=define parameters or variables for an object element.
~substitute the <object> element
~none of the above
}
// question: 7 name: MultipleChoiceQ
::MultipleChoiceQ::[html]Which of the following is NOT CORRECT about the code below? <object type&\#61;"application/x-shockwave-flash"<br /><br />data&\#61;"http://www.youtube.com/v/TW708ksBw3k" width&\#61;"425" height&\#61;"344"><br /><param name&\#61;"movie" value&\#61;http://www.youtube.com/v/TW708ksBw3k name&\#61;"allowFullScreen" value&\#61;"false" /><br /><param name&\#61;"allowscriptaccess" value&\#61;"always" /><br /></object> {
~Javascript is turned on
~The viewer will not be able to view the video full screen.
=The movie file is located on the user’s local computer
~Flash player is used to play the video
}
// question: 8 name: MultipleChoiceQ
::MultipleChoiceQ::[html]Which of the following is CORRECT about Flash? {
~Flash is an animated image and graphics format.
~Flash files are distributed and published in a file format that has an extension of .swf
~Flash has a comparatively small file size when published.
=All of the above
}
// question: 9 name: MultipleChoiceQ
::MultipleChoiceQ::[html]You can use a <param> tag with the name attribute set to "hidden" and the value attribute set to "true" to completely hide the controller for an embedded audio file. {
=True
~False
}
// question: 10 name: MultipleChoiceQ
::MultipleChoiceQ::[html]When using the <object> element to embed mp3s you must use IE conditional comments to hide the second nested <object> element from IE, so that IE ignores it and only reads the first, outer <object> element. {
=True
~False
}
// question: 11 name: MultipleChoiceQ
::MultipleChoiceQ::[html]Which of the following code correctly inserts an image link that will open the multimedia file when clicked? {
~<a src &\#61;"file:///C:/IWD/Unit6/music_concert.wmv"><img&\#61;"file:///C:/IWD/Unit6/music_concert.jpg" alt&\#61;" Listen to the concert "></a>
~<a src&\#61;"http://mysite.com/media/music_concert.wmv">Listen to the concert</a>
~<a href &\#61;"file:///C:/IWD/Unit6/music_concert.wmv"><img&\#61; file:///C:/IWD/Unit6/music_concert.jpg />
=<a href&\#61;"http://mysite.com/media/music_concert.wmv"> <img src&\#61;"http://mysite.com/media/music_concert.jpg" alt&\#61;"Listen to the concert"></a>
}
// question: 12 name: MultipleChoiceQ
::MultipleChoiceQ::[html]Which of the following code plays the mp3 file as background sound and with no player controls as the page is loaded? {
~<object type&\#61;"audio/mpeg" width&\#61;"110" height&\#61;"16"><br /><param name&\#61;"src" value&\#61;"http://mysite.com/media/music.mp3" /><br /><param name&\#61;"controller" value&\#61;"true" /><br /><param name&\#61;"autoplay" value&\#61;"false" /><br /></object>
=<object type&\#61;"audio/mpeg"data&\#61;"http://mysite.com/media/music.mp3"><br /><param name&\#61;"src" value&\#61;"http://mysite.com/media/music.mp3" /><br /><param name&\#61;"controller" value&\#61;"false" /><br /><param name&\#61;"autoplay" value&\#61;"true" /><br /></object>
~<object type&\#61;"audio/mpeg"data&\#61;"http://mysite.com/media/music.mp3"><br /><param name&\#61;"src" value&\#61;"http://mysite.com/media/music.mp3" /><br /></object>
~<object ><br /><param name&\#61;"src" value&\#61;"http://mysite.com/media/music.mp3" /><br /><param name&\#61;"controller" value&\#61;"false" /><br /><param name&\#61;"autoplay" value&\#61;"true" /><br /></object>
}
// question: 13 name: MultipleChoiceQ
::MultipleChoiceQ::[html]Which of the elements below define the beginning and end of a table? {
~<td></td>
~<tr></tr>
~<tb></tb>
=<table></table>
}
// question: 14 name: MultipleChoiceQ
::MultipleChoiceQ::[html]Which of the elements below define the beginning and end of a table row? {
~<td></td>
~<tbrow></tbrow>
=<tr></tr>
~<tb></tb>
}
// question: 15 name: MultipleChoiceQ
::MultipleChoiceQ::[html]
In the code below, the table consists of ____________ cells?<br /><br /><table> <br /><tr><td>This is data</td></tr> <br /><tr><td></td></tr> <br /><tr><td></td></tr> <br /></table> {
~1
~2
=3
~4
}
// question: 16 name: MultipleChoiceQ
::MultipleChoiceQ::[html]
The ____________ attribute specifies the amount of space between the content of the cell and the edge of the cell. {
~cellspacing
~cellmargin
=cellpadding
~cellwidth
}
// question: 17 name: MultipleChoiceQ
::MultipleChoiceQ::[html]To add a border to a table, the border attribute should be placed… {
~Before the opening table tag.
~After the opening table tag.
=Within the opening table tag.
~Within the first table row tag.
}
// question: 18 name: MultipleChoiceQ
::MultipleChoiceQ::[html]Which code example below correctly creates an invisible table? {
~<table>< border&\#61;"0">
=<table border&\#61;"0">
~<table border&\#61;"none" >
~</table border&\#61;"0">
}
// question: 19 name: MultipleChoiceQ
::MultipleChoiceQ::[html]Which table tag prints enclosed text in a centered bold font? {
~<CAP>
~<TD>
=<TH>
~<TB>
}
// question: 20 name: MultipleChoiceQ
::MultipleChoiceQ::[html]The ALIGN attribute may be used in which of the following tags: {
~<TABLE>
~<TH>
~<TD>
=all of the above
}
// question: 21 name: MultipleChoiceQ
::MultipleChoiceQ::[html]Which of the following is not a valid value for the ALIGN attribute? {
=middle
~left
~center
~right
}
// question: 22 name: MultipleChoiceQ
::MultipleChoiceQ::[html]An HTML table is comprised of ______ and ______. {
~text and a grid
~title and records
=rows and columns
~none of the above
}
// question: 23 name: MultipleChoiceQ
::MultipleChoiceQ::[html]Which is true about the following code: <br /><br /><table border&\#61;"1" width&\#61;"75%"><tr><td>1</td><td>2</td><td>3</td><td>3</td></tr><tr><td>1</td><td>2</td><td>3</td><td>3</td></tr><tr><td>1</td><td>2</td><td>3</td><td>3</td></tr> </table> {
=creates a table with four columns that have three rows.
~creates a table with three columns that have four rows.
~creates a table with three columns that has three rows.
~does not create a table since the above is not valid code.
}
// question: 24 name: MultipleChoiceQ
::MultipleChoiceQ::[html]The colspan attribute allows you to: {
~create new rows in a table.
~Create new columns in a table.
=Straddle a cell across columns.
~Create a set spanned columns.
}
// question: 25 name: MultipleChoiceQ
::MultipleChoiceQ::[html]The width attribute, used in <table width&\#61;"75%"> {
=sets the percentage of the screen that the table occupy.
~sets the width of the table border.
~Sets the percentage of content the table can hold.
~sets the percentage of pixels used for the table.
}
// question: 26 name: MultipleChoiceQ
::MultipleChoiceQ::[html]You can change the background color of individual cells with the ____________ attribute: {
~color
=bgcolor
~tdcolor
~cellcolor
}
// question: 27 name: MultipleChoiceQ
::MultipleChoiceQ::[html]Cellspacing is… {
~a method of resizing table columns.
=the border gap between the cells of a table.
~a method for setting the size of a cell.
~used for text alignment within cells.
}
// question: 28 name: MultipleChoiceQ
::MultipleChoiceQ::[html]Setting the width and the height of a table can be done by... {
~using the size attribute
~using absolute pixel values to set the table dimensions
~setting the percentage of the browser window the table should occupy
=both a and b
~none of the above
}
// question: 29 name: MultipleChoiceQ
::MultipleChoiceQ::[html]Which of the following is CORRECT about the table in the code below?<br /><br /><TABLE ALIGN&\#61;"center" WIDTH&\#61;"50%" HEIGHT&\#61;"50%"> {
~the table's width and height are 50% proportional to the size of the browser window
~As you resize the browser, the table will adjust its size automatically
~The table is centered in the browser display
=all of the above
}
// question: 30 name: MultipleChoiceQ
::MultipleChoiceQ::[html]The ALIGN and VALIGN attributes specify how the content of a row or a cell should be aligned horizontally and vertically {
=True
~False
}
Thanks a lot,
Farzaneh