DOUBTS IN HTML QUESTIONS

Results 1 to 2 of 2

Thread: DOUBTS IN HTML QUESTIONS

  1. #1
    Join Date
    Dec 1969
    Posts
    717

    Default DOUBTS IN HTML QUESTIONS

    These are the questions, i have doubts in html. Can anyone help me in answering the questions for me. It was asked in an interview.<BR><BR><BR>1. &#060;LINK REL="STYLESHEET" HREF="oceanblue.css"&#062; <BR> When a document containing the above code is loaded, it will ________. <BR>1) error since oceanblue.css should be oceanblue.htm<BR>2) link to oceanblue.css, but then use the style sheet in the source page<BR>3) link to oceanblue.css and display that page instead<BR>4) error because the required &#060;A&#062; element is missing<BR>5) associate the oceanblue.css stylesheet with the current document<BR><BR><BR>2. The &#060;THEAD&#062; element is used to ________. <BR><BR>1) create a standard table header at the top of each printed page<BR>2) create a temporary HEAD section for browsers with frames turned off<BR>3) supplement the HEAD section for dynamically-generated code<BR>4) generate a standard header that always appears at the top of the browser window<BR>5) dynamically convert all &#060;td&#062; elements to &#060;th&#062; within a table row<BR><BR>3.The META element can be used for all of the following EXCEPT to ________. <BR><BR>1) establish keywords for search engines<BR>2) specify the author<BR>3) indicate the language (English, French, etc..) used in the document<BR>4) set the default scripting language<BR>5) set insertion points for images in the document<BR><BR>4.The EASIEST way to submit forms via graphical rather than gray buttons is to<BR> ________. <BR><BR>1) use TYPE=image in the input tag<BR>2) place the image inside an anchor element with TYPE=submit<BR>3) use a client-side image map and then script<BR>4) set the SRC attribute of the submit input element to an image format<BR>5) change the look of the submit button with inline style<BR><BR>5. Which element inserts a line break (or hard return)? <BR><BR>1) &#060;LINE&#062;<BR>2) &#060;BAR&#062;<BR>3) <BR><BR>4) &#060;HR&#062;<BR>5) &#060;P&#062;<BR><BR>6. You can allow users to upload a file of their choice to your server by using<BR> ________. <BR>1) the &#060;FILEUPLOAD&#062; element<BR>2) script to download an ftp client plug-in for use outside the browser<BR>3) the &#060;object&#062; tag or the &#060;embed&#062; tag in older browsers to embed an ftp client in the<BR> document<BR>4) the &#060;INPUT&#062; tag with TYPE="file", and ENCTYPE="multipart/form-data"<BR>5) an anchor that linking to your ftp server within the page<BR><BR>7. The following are valid values for the DISPLAY property used in style sheets<BR> EXCEPT ________. <BR>1) block<BR>2) list-item<BR>3) inline<BR>4) none<BR>5) All<BR><BR>8. P {display: none} P {visibility: hidden} <BR> The difference between the style sheet properties above is that {display: none }<BR> ________. <BR>1) uses no canvas space<BR>2) renders no trace of the element in the browser<BR>3) applies only to attributes<BR>4) leaves an outline on the browser window where the element would have appeared<BR>5) consumes canvas space<BR><BR>9. If DIR=RTL in a &#060;TABLE&#062; element, the table will appear aligned to the ________ in<BR> the document with its first column on the ________ and first row at the ________. <BR><BR>1) right, left, bottom<BR>2) left, right, top<BR>3) left, left, top<BR>4) right, left, top<BR>5) right, right, top<BR><BR>10. All of the following might typically be found within &#060;STYLE&#062; blocks EXCEPT<BR> ________. <BR>1) %class<BR>2) #section2<BR>3) DIV.PAGE<BR>4) .size<BR>5) {font-size: 16pt}<BR><BR>11. Which &#060;FRAME&#062; attribute can be used to prevent the browser from altering the<BR> appearance of a page? <BR>1) NOFRAME<BR>2) NORESIZE<BR>3) NOMODIFY<BR>4) NOCHANGE<BR>5) NOALT<BR><BR>12. &#060;a href="agreement.htm"&#062; <BR> &#060;img src="images/clock.gif" width="142" <BR> height="128" alt="clock.gif"&#062; &#060;/a&#062; <BR><BR>How will the space between the &#060;IMG&#062; and &#060;/A&#062; tags affect the HTML page, in<BR>many browsers? <BR><BR>1) the page will error immediately<BR>2) ahe space will have no effect on the page presentation or functionality<BR>3) an extra space will appear to the right of the image<BR>4) the page will error when the user selects the image<BR>5) an underscore will appear to the right of the image<BR><BR>13. which element holds document-wide styles? <BR><BR>1) &#060;STYLE&#062;<BR>2) &#060;HEAD&#062;<BR>3) &#060;TABLE&#062;<BR>4) &#060;BODY&#062;<BR>5) &#060;FRAMESET&#062;<BR><BR>14. What code creates a table in which the first 20 columns are 50 pixels wide and the<BR> next 10 columns are 30 pixels wide? <BR><BR>1) &#060;TABLE&#062; <BR> &#060;COL span="20" width="50"&#062; <BR> &#060;COL span="10" width="30"&#062; <BR> ... <BR> &#060;/TABLE&#062;<BR>2) &#060;TABLE&#062; <BR> &#060;COLGROUP span="20" width="50"&#062; <BR> &#060;COLGROUP span="30" width="10"&#062; <BR> ... <BR> &#060;/TABLE&#062;<BR>3) &#060;TABLE&#062; <BR> &#060;COLGROUP span="20" width="50"&#062; <BR> &#060;COLGROUP span="10" width="30"&#062; <BR> ... <BR> &#060;/TABLE&#062;<BR>4) &#060;TABLE&#062; <BR> &#060;COLGROUP width="20" span="50"&#062; <BR> &#060;COLGROUP width="10" span="30"&#062; <BR> ... <BR> &#060;/TABLE&#062;<BR>5) &#060;TABLE&#062; <BR> &#060;COL width="20" span="50"&#062; <BR> &#060;COL width="10" span="30"&#062; <BR> ... <BR> &#060;/TABLE&#062;<BR>15. What usually follows a question mark in a URL? <BR><BR>1) a marker<BR>2) a filename<BR>3) a machine name<BR>4) a port number<BR>5) a parameter<BR><BR>16. How to ride a bike: <BR> 1.Purchase bike <BR> 2.Sit on bike <BR> 3.Ride bike <BR>What type of list element was used to create the list above? <BR>1) &#060;DL&#062;<BR>2) &#060;AL&#062;<BR>3) &#060;UL&#062;<BR>4) &#060;OL&#062;<BR>5) &#060;SL&#062;<BR><BR>17. &#060;FORM ACTION="mailto:s@xyz.com" METHOD=POST&#062; <BR> Do you like the website?: <BR> Yes: &#060;INPUT TYPE="RADIO" <BR> NAME="Choice" VALUE="Yes"&#062; <BR> No: &#060;INPUT TYPE="RADIO" <BR> NAME="Choice" VALUE="No"&#062; <BR> Not Sure: &#060;INPUT TYPE="RADIO" <BR> NAME="Choice" VALUE="Not Sure"&#062; <BR><BR> . . . Additional questions <BR> &#060;/FORM&#062; <BR><BR><BR> If the user bypasses the above control on a form, the survey form ________? <BR>1) is emailed to Company XYZ with the &#039choice&#039 field blank<BR>2) will abend and the email will not be sent.<BR>3) is emailed to Company XYZ indicating the user is not sure if they liked the website.<BR>4) is emailed to Company XYZ indicating the user liked the website<BR>5) is emailed to Company XYZ indicating the user did not like the website<BR><BR>18. Which attributes create a buffer around images? <BR><BR>1) HBUFFER, VBUFFER<BR>2) IHEIGHT, IWIDTH<BR>3) HSPACE, VSPACE<BR>4) ROWS, COLS<BR>5) HEIGHT, WIDTH<BR><BR>19. &#060;a href="page1.html" onclick="location.href=page2.html"&#062;Next Page&#060;/a&#062; <BR> <BR><BR><BR>If the user clicks on the anchor tag above, the browser will ________. <BR>1) behave differently depending on the browser<BR>2) load page1.html<BR>3) load page2.html<BR>4) display a scripting error<BR>5) load page2.html and then immediately load page1.html<BR><BR>20. Which element is found only in the &#060;HEAD&#062; section? <BR><BR>1) &#060;A&#062;<BR>2) &#060;LINKABLE&#062;<BR>3) &#060;MAP&#062;<BR>4) &#060;HREF&#062;<BR>5) &#060;LINK&#062;<BR><BR>21. To what value should the TARGET attribute of a frame be set to load the link over<BR> all frames in a window? <BR>1) _parent<BR>2) _blank<BR>3) _self<BR>4) _top<BR>5) _all<BR><BR>22.Which &#060;INPUT&#062; element TYPE uses the attribute SRC? <BR><BR>1) image<BR>2) radio<BR>3) reset<BR>4) text<BR>5) hidden<BR><BR>23.&#060;FORM action="cgi/files" <BR> enctype="multipart/form-data" <BR> method="post"&#062; <BR> &#060;P&#062;What is your name? <BR> &#060;INPUT type="text"&#062; <BR> What files are you sending? <BR> &#060;INPUT type="file"&#062;&#060;/P&#062; <BR> &#060;/FORM&#062; <BR><BR>Which attribute is missing from the &#060;INPUT&#062; elements above? <BR>1) TITLE<BR>2) DEFAULT<BR>3) ALT<BR>4) IDENTITY<BR>5) NAME<BR><BR>24. The ALT attribute is used with the &#060;IMG&#062; element to provide ________. <BR><BR>1) text to use in place of images if the browser does not display images<BR>2) the vertical location of the image<BR>3) the height (or altitude) of the image<BR>4) information about where the image should be placed<BR>5) information about what font to use if the first choice is not supported<BR><BR>25. What usually follows a pound character (#) in a URL? <BR><BR>1) a port number<BR>2) an anchor<BR>3) a parameter<BR>4) a machine name<BR>5) a filename<BR><BR>26. Which table cell attribute is responsible for differing alignment of the letter A in<BR> each cell above? <BR>1) place<BR>2) justify<BR>3) align<BR>4) locate<BR>5) valign<BR><BR>27. Which &#060;FRAME&#062; attribute specifies the first document that the frame will contain? <BR><BR>1) HOME<BR>2) SRC<BR>3) NAME<BR>4) HREF<BR>5) INITDOC<BR><BR>28.&#060;TABLE&#062; <BR> &#060;COLGROUP&#062; <BR> &#060;COL width="30"&#062; <BR> &#060;COLGROUP&#062; <BR> &#060;COL width="30"&#062; <BR> &#060;COL width="0*"&#062; <BR> &#060;COL width="3*"&#062; <BR> &#060;COLGROUP align="center"&#062; <BR> &#060;COL width="2*"&#062; <BR> &#060;COL width="1*" align="char" char=":"&#062; <BR> ... <BR> &#060;/TABLE&#062; <BR><BR><BR>How many total attributes (including duplicates) are listed in the code above? <BR>1) 2 attributes<BR>2) 9 attributes<BR>3) 10 attributes<BR>4) 11 attributes<BR>5) 20 attributes<BR><BR> 29. The following are common uses of URL&#039s EXCEPT to ________. <BR>1) provide keywords to search engines<BR>2) create a frame document<BR>3) include an image in a page<BR>4) link to another document.<BR>5) submit a form<BR><BR>30. What tool can change the presentation of a document without modifying the source<BR> document itself? <BR>1) the bgcolor attribute<BR>2) external style sheets<BR>3) frames<BR>4) &#060;BODY&#062; attributes<BR>5) framesets<BR><BR>31.What &#060;BODY&#062; attribute would you use to set the graphic above as the wallpaper<BR> for a document? <BR><BR>1) class<BR>2) background<BR>3) bgcolor<BR>4) tile<BR>5) wallpaper<BR><BR>32. Which control type would you use to select one of the 50 U.S. states on a form? <BR>1) radio button<BR>2) drop-down list<BR>3) text field<BR>4) hidden text<BR>5) check box<BR><BR>33.Which control type would you use to capture someone&#039s address in a form? <BR>1) drop-down list<BR>2) check box<BR>3) pop-up menu<BR>4) text field<BR>5) radio button<BR><BR>34. What &#060;INPUT&#062; element TYPE attribute sends the form contents to the address<BR> specified in the form&#039s ACTION attribute? <BR>1) forward<BR>2) submit<BR>3) snd<BR>4) send<BR>5) enter<BR><BR>35. Which element creates a grid like the one above? <BR><BR>1) &#060;TABLE&#062;<BR>2) &#060;GRID&#062;<BR>3) &#060;SHEET&#062;<BR>4) &#060;CROSSHATCH&#062;<BR>5) &#060;CROSS&#062;<BR><BR>36. The METHOD attribute of the &#060;FORM&#062; element describes ________. <BR><BR>1) which type of input will be used on the form<BR>2) the language of the script associated with the form<BR>3) the address to which the form data will be sent<BR>4) how form data should be passed<BR>5) a unique name for the element<BR><BR><BR><BR><BR>

  2. #2
    Join Date
    Dec 1969
    Posts
    760

    Default RE: HTML QUESTIONS - WEB 101

    Re: Being a web developer.<BR>While you don&#039t need to know all these answers by heart, you should be able to find the answers you need.<BR>There are a few that are tricky, but you included a bunch of really basic stuff.<BR>If you trim the simple ones (try a few things yourself) and re-post, you will probably get a lot more replies.<BR>-Good Luck

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •