বাংলা নিউসপেপার পেজে আপনাকে সাগত / এই সাইট টি সুথু  মাত্র বাংলা নিউস এর জন্য নয় / আমি নেট ঘেটে যখনি ভালো কিছু পাই তখনি এই সাইটে পোস্ট করি যাতে পরবর্তিতে চাইলে একসাথে সব দেখতে পারি / আমার বিশ্বাস আমার ভালোলাগা বিসয়্গুলো আপনার ভালো লাগবে / যদি আপনি খুব বাস্ত না হন এবং আপনার হাতে ২-৩ মিনিট সময় থাকে তাহলে আমি আপনাকে রিকুইস্ট করব সাইট টির হোম (HOME) পেজ ক্লিক করার জন্য যাতে আপনি পুরো সাইট টি দেখতে পারেন / বাংলা নিউসপেপার সাইট টি থেকে যদি আপনাদের এতটুকু সাহায্য করতে পারি  তাহলেই আমার পরিশ্রম সার্থক / আপনাকে আরো একবার আমার অন্তরের অন্তস্থল থেকে ধন্যবাদ জানাচ্ছি / 

20111107

odesk html 4.01 Question & test answers

Cell-padding specifies the space between the cell wall and the contents of the cell.
action attribute specifies the submit URL in a form tag.
The tag which is used to show monospaced text is <th>.

An HTML attribute is additional information included inside a tag.

HTML is case insensitive.

All the HTML4.01 tags must be paired.

Your browser may appear to correctly use newly deprecated code for the present, but its support for deprecated code could be

halted at any time after the browser is updated
XHTML is a stricter and cleaner version of HTML.
XHTML and HTML both are used to generate dynamic content.
XHTML brings together the elements of HTML and the syntax of XML.
In place of button tag we can use input tag.

It is not necessary to give the coordinates for an image or object defined within an area tag, if the value of its shape attribute is default.
<p> tag creates an empty line above its starting line.
<p> tag creates an empty line after its ending line.
The following link is placed on an HTML webpage. <a href=”http://msdn.com/” target=”_blank”> MSDN </a> which will open the page in new window.

<meta> tag is more useful if it is placed in a head element.
<meta> tag can be used to specify the keywords for the search engines.
<meta> tag can be used to redirect users to other URLs.
Optgroup is used to add a list of products in a drop-down list to group the identical products under a category name.
<!– Here is a comment.. –> specify a comment in HTML.

—————–
On one of your Web pages named Listing.html, you specified a target like this:

<a name=”target4″>Old Listing</a>

How will you make a link to the above target?
- <a href=”#target4″>Check Old Listing as well</a>
—————–

The tag which is used to show monospaced text is <th>.



Know about the Applets


Giving Parameters to Applets

The area between the opejning and closing APPLET tag is also used to pass parameters to applets. This is done through the use of the PARAM HTML tag and the getParameter method of the java.applet.Applet class.
To demonstrate this we’ll convert HelloWorldApplet into a generic string drawing applet. To do this we’ll need to pass the applet parameters that define the string to be drawn.


import java.applet.Applet; import java.awt.Graphics; public class DrawStringApplet extends Applet { String input_from_page; public void init() { input_from_page = getParameter("String"); } public void paint(Graphics g) { g.drawString(input_from_page, 50, 25); } }
If you want to follow along, copy this as usual and compile it. Then you need to create an HTML file that will include your applet. The following simple HTML file will do:

<HTML> <HEAD> <TITLE> Draw String </TITLE> </HEAD> <BODY> This is the applet:<P> <APPLET codebase="classes" code="DrawStringApplet.class" width=200 height=200> <PARAM name="String" value="Hmm.. Hmm.. Indeed"> </APPLET> </BODY> </HTML>




Question:-
1. Which of the following items should not be used in the address tag?
  1. physical contact address of the website
  2. contact email address for the web site
  3. contact signature
  4. abbreviations
2. Which attribute (s) of the <table> tag is/are deprecated in HTML 4.01?
  1. align and cellspacing
  2. summary
  3. bgcolor and align
  4. cellspacing
3. You want to display a table listing out customer names and their contact information. The heading of the table is shown is the figure. What is the code for creating for the first line of the table heading?
a. <tr>
<th>customer Name</th>
<th rowspan=3>contact</th>
</tr>

b. <tr>
<th>customer Name</th>
<th colspan=3>contact</th>
</tr>
c. <tr>

<th>customer Name</th>
<th cellpadding=3>contact</th>
</tr>
d. <tr>
<th>customer Name</th>

<th cellspacing=3>contact</th>
</tr>
4. Which of the following statements is correct for a blockquote?
a. It make the text a bit bigger for emphasizing.
b. It defines the start of a long quote.
c. It makes the text slightly bolder.
5. Which form event is fired on the click of a button using a button tag with its type attribute value equal to submit?

  1. onload
  2. onsubmit
  3. onunload
  4. onreset
6. Which of the following is/are not true for a paragraph tag in HTML 4.01?
  1. The text must be enclosed in <p> and </p> tags.
  2. It creates an empty line above its starting line.
  3. It cannot be used within a <td> tag.
  4. It creates an empty line after its ending line.
7. Which of the following tags can be used is place of a button tag?
  1. legend
  2. ol
  3. input
  4. dl
8. Is the following code valid in HTML 4.01 Strict?
<ul> < li ><ol><li>A</li><li>B</li><ul><li>Item 1</li><li>Item 2</li></ul><li>C</li></ol></li></ul>

a. Perfectly valid.
b. Invalid because you should not have three levels of nesting in the lists.
c. Invalid because you should not have an unordered list within an ordered list.
d. Invalid because you should not have an ordered list within an unordered list.
e. Invalid because a <ul> tag should not conflict with an <ol> tag at the same list level.
9. Which of the following is nit correct an action attribute far a tag?

a. The action attribute can be defined at runtime.
b. If the value for action is null (action=””), then the form submits user data to itself.
c. If the url is not provided to the action attribute, the form will not submit user data anywhere.
d. None of above.
10. Which of the following attributes comes in handy when borders have to be put between groups of columns instead of every column?
a. col
b. colgroup
c. rowpan

d. row
11. Which of the following attributes is/are not associated with texterea tag in W3C standard HTML 4.01?
a. warp
b. cols
c. name
d. rows
e. ref
12. Which of the following is true for the <colgroup> tag?

a. The attribute named cols specifies the number of columns in colgroup.
b. It is useful for applying similar formatting to the grouped columns.
c. It can be used anywhere between the body tags.
d. It can be inserted in a <td> tag to include that cell to the group.
13. Which of the following attributes is/are related to the <img> tag?
a. height

b. alt
c. src
d. All of the above
14. You have to add a list of products in a drop-down list. What will you use to group the identical products under a category name?
a. Optgroup
b. Option
c. menu
d. var

e. There is no way to do this
15. Which of the following shows the basic tag structure of an HTML document?
a. <html><head><body></body></html>
b. <html><body></body></html>

c. <html><head></head><body></body></html>
d. <html><head></head></html>
16. What do you infer from the following code?

<a href=”http://www.expertrating.com”>Expert Rating</a>
a. This href is using absolute path for linking.
b. This href is an example of relative path linking.
17. Which of the following values is not valid for the align attribute of a heading tag?
NOTE: The align attribute was deprecated in HTML 4.01 Use styles instead in new coding
a. right

b. left
c. middle
d. center
18. Which of the following font styling tag is not valid?
a. <small>
b. <i>
c. <b>

d. <big>
e. <large>
19. Which of the following statements is correct for the <blockquote> tag?
a. The text under block quote must be enclosed in a block level element in a strict DTD document.
b. The attribute named cite must be specified.

c. Closing the tag is optional.
d. It places an empty line after the text.
20. What the meant by the cellspacing attribute?
a. It makes the cell span more than one column.
b. It specifies the space between the cell wall and the contents of the cell.
c. It specifies the space between two cells.
d. It makes the cell span more than one row.
21. View the following code:

<html>
<frameset cols=”20%,20%*”>
<frame src=”a.html”/><frame src=”b.html”/><frame src=”c.html”/>

</frameset>
</html>
What will be displayed on viewing the above in a browser?
a. An HTML page with three columns of equal width.
b. An HTML page with three rows of equal height.
c. An HTML page with the list columns occupying 60% space.
d. An HTML page with the list columns occupying 40% space.

22. Which of the following set of coordinate values refers to an image defined by the area tag with the value of poly for attribute?
a. cords=”150,217,190,257,150,297,110,257″
b. cords=”150, 190,150,110″
c. cords=”150,217,190,257,150″
d. cords=”150,110,190,220,150,150,120″
23. Which of the following is not an attribute of a meta tag?

a. name
b. content
c. http-equiv
d. type
24. A developer wrote this image:
<img src=”states.gif” width=”330″ height=”406″ alt=”States” usemap=”#statemap”/>

What code should follow this?
a. <map id=”statemap” name=”statemap”>
<area shape=”rect” coords=”0,0,82,126″ href=”state1.html” alt=”state1″/>

</map>
b. <map id=”statemap” name=”statemap”></map>
<area shape=”rect” coords=”0,0,82,126″ href=”state1.html” alt=”state1″/>

</map>
c. <map id=”statemap” name=”statemap”>
<imgarea shape=”rect” coords=”0,0,82,126″ href=”state1.html” alt=”state1″/>

</map>
d. <map id=”statemap” name=”statemap”></map>
<imgarea shape=”rect” coords=”0,0,82,126″ href=”state1.html” alt=”state1″/>

</map>
25. Choose the incorrect statement(s):
a. An HTML attribute is additional information included inside a tag.
b. HTML case sensitive.
c. All the HTML4.01 tags must be paired.
d. Your browser may appear to correctly use newly deprecated code for the present, but its support for deprecate could be halted at any time after the browser is update.
26. While designing the links page of your website, you want the link to open in a new browser window. How will you do this with HTML?

a. <anchor href=”http://www.mailer.com”>Mailer</anchor>
b. <anchor href=”http://www.mailer.com” target=”_blank”>Mailer</anchor>
c. <A HREF=”http://www.mailer.com”>Mailer</A>

d. <a href=”http://www.mailer.com” target=”_blank”>Mailer</a>
27. Which of the following is not a valid input type of form tag?
a. checkbox
b. image
c. hidden

d. button
e. All are valid
28. Which attribute specifies the submit URL in a form tag?
a. method
b. action
c. name
d. id
29. How will you import a style sheet named basic.css in your web page?

a. <import name=”stylesheet” url=”basic.css” >
b. <link rel=”stylesheet” type=”text/css” href=”basic.css”>

c. <style name=”stylesheet” href=”basic.css” />
d. <link item=”stylesheet” type=”text/css” href=”basic.css”>

30. A <!DOCTYPE> defines the documents type of any HTML documents. It can be of three types:
a. Strict, Transitional, or Frameset
b. Strict, Transitional, or Loose
c. Strict, Intermediate, or Loose
d. Strict, Transitional, or Frameset
31. How dose a button created by the <button> tag differ from the one created by an <input> tag?

a. An input tag can be a reset button too.
b. An button tag can be a reset button too.
c. An input tag button can include images as well.
d. An button tag can include images as well.
32. Which event is fired when element loses its focus on a form?
a. onfocus
b. onload
c. onblur

d. onselect
33. A piece of text contains many blank spaces within it. Which of the following tags would be suitable to display the text as originally formatted?
a. td
b. p
c. ls
d. pre
34. Choose the incorrect statement:
a. The <em> tag emphasizes the given text by italicizing it.

b. The <code> tag indicates that the text inside is an example of typed code.
c. The <var> tag indicates that the text inside the tag has been revised.
d. The <strong> tag is for strongly emphasizes the text.
35. Which of the following is/are a valid value for the type attribute of the input tag?

a. text
b. icon
c. reset
d. password
36. A few lines in an HTML paragraph are to be formatted differently from the rest of the line. Which tag will assist in this?
a. div
b. p
c. span

d. format
37. The tag which is used to show monospaced text is:
a. <td>
b. <th>
c. <tt>
d. <b>

38. Which of the following options about the <select> tag is incorrect?
a. The name attribute should be specified.
b. The disabled attribute disables the drop-down list.
c. The multiple attribute allows the user to choose multiple options.
d. The text specified in the value attribute is displayed in the drop-down list.
39. Which of the following is correct regarding the frame attribute is the <table> tag?

a. It is used to add a frame to the table.
b. A hsides value for the frame will show the border lines for horizontal sides only.
c. A hsides value for the frame will not show the border lines for horizontal sides only.
d. A hsides value for the frame will add a scrollable frame on the horizontal sides.
40. Which tag is meant for creating inline frames that display other HTML pages?
a. img
b. frame
c. iframe

d. url

Daily News পরামর্শ মাইক্রোসফট এক্সেল টিউটোরিয়াল Top News পৃথিবীর বাংলা খবর মাইক্রোসফট ওয়ার্ড টিউটোরিয়াল সুস্থ সুন্দর থাকার জন্য CA Study English News বিভিন্ন বিষয়ে টিউটোরিয়াল Bangladesh Local News oDesk test answers ওডেস্ক ফ্রিল্যান্সিং ব্লগার ব্লগ টিউটরিয়াল ঈদূল-আজ-হা অন্যান্য ওয়েবসাইট ডিজাইনিং ঘড়োয়া টুকিটাকি Mobile AD NG ওয়েবসাইট ডেভেলপমেন্ট টিনেজার ব্লগিং গুল অ্যাডসেন্স Eid-ul-Azha IELTS International Photoshop আজকের আলোচিত খেলা ডাউনলোড ফটোশপ লাইফ স্টাইল Admission BCS Preparation Bangla Vedio Song Book Comilla Craigslist Download Elance Facebook Gazipur Google Gre Word IELTS Vocabulary Japan Khulna Math Tutor Money Mymensingh PHP Personal Short Film Shortcut Key Technology Texas Vocabulary Windows Youtube আজ থেকে টানা ৬০ ঘণ্টা হরতাল উইন্ডোজ টিউটোরিয়াল কোরবানীর প্রস্তুতি গ্রী ওয়ার্ড ছবি ঘড় জুমলা বরতমান বৈদেশিক সম্পর্ক মাইক্রোসফট অফিস টিউটোরিয়াল মেহেদি রাজনিতি রুপ-চরচা সাক্ষাৎকার হরতালের আগেই বোমা হামলা
Related Posts Plugin for WordPress, Blogger...