Web technology mcq question bank web designing development wpd html javascript css

WEB TECHNOLOGY MCQ WITH ANSWERS


Q.1. HTML stands for?

A.Hyper Text Markup Language

B.High Text Markup Language

C.Hyper Tabular Markup Language

D.None of these


Q.2. which of the following tag is used to mark a begining of paragraph ?

A.<TD>

B.<br>

C.<P>

D.<TR>


Q.3. Correct HTML tag for the largest heading is

A.<head>

B.<h6>

C.<heading>

D.<h1>


Q.4. The attribute of <form> tag

A.Method

B.Action

C.Both (a)&(b)

D.None of these


Q.5. Markup tags tell the web browser

A.How to organise the page

B.How to display the page

C.How to display message box on page

D.None of these


Q.6. www is based on which model?

A.Local-server

B.Client-server

C.3-tier

D.None of these


Q.7. Which of the following attributes of text box control allow to limit the maximum character?

A.size

B.len

C.maxlength

D.all of these


Q.8. Web pages starts with which ofthe following tag?

A.<Body>

B.<Title>

C.<HTML>

D.<Form>


Q.9. From which tag the descriptive list starts?

A.<LL>

B.<DD>

C.<DL>

D.<DS>


Q.10. How can you open a link in a new browser window?

A.< a href = "url" target = "new">

B.<a href = "url" target= "_blank">

C.<a href = "url".new>

D.<a href = "url" target ="open">


Q.11. The tag used to create a new list item and also include a hyperlink is

A.<LI>

B.<DL>

C.<DD>

D.<UL>


Q.12. The latest HTML standard is

A.XML

B.SGML

C.HTML 4.0

D.HTML 5.0


Q.13. Main container for <TR>, <TD> and <TH> is

A.<TABLE>

B.<GROUP>

C.<DATA>

D.All of these


Q.14. The body tag usually used after

A.Title tag

B.HEAD tag

C.EM tag

D.FORM tag


Q.15. How can you make an e-mail link?

A.<mail href +"xxx@y.com">

B.<a href ="mail to: xxx@y.com">

C.<a href = "xxx@y.com">

D.Both (b) and (c)


Q.16. Which tag creates a number/order list?

A.<UL>

B.<OL>

C.<OT>

D.None of these


Q.17. The web standard allows programmers on many different computer platforms to dispersed format and display the information server. These programs are called

A.Web Browsers

B.HTML

C.Internet Explorer

D.None of these


Q.18. The <Font> tag is similar to ____

A.<BIG>tag

B.<SMALL>tag

C.<MARQUEE>tag

D.<BIG>and<Small> tags


Q.19. The HTML and HTTP standard are defined by ____

A.Web client

B.Internet association

C.WWW consortium

D.WWW


Q.20. The tag used to add images to the HTML document is ____

A.<FONT>

B.<HR>

C.<HI>

D.<IMG>


Q.21. What is the abbreviation of HTTP?

A.Hypertext tag path

B.Hyper Text Transfer Protocol

C.Hypertext transfer path

D.None


Q.22. GIF is the abbreviation for ___

A.Graphics Interchange Format

B.Graphics Instruction Format

C.Graphics Item Format

D.Graphics Information Format


Q.23.If we want define style for an unique element, then which css selector will we use ?

A.Id

B.text

C.class

D.name


Q.24. Which of the following selector matches a element based on its id?

A.The Id Selector

B.The Universal Selector

C.The Descendant Selector

D.The Class Selector


Q.25. Which of the following defines a measurement in inches?

A.in

B.mm

C.pc

D.pt


Q.26.How to add a background color in HTML?

A.<marquee bg color: "red">

B.<marquee bg-color = "red">

C.<marquee bgcolor = "red">

D.<marquee color = "red">


Q.27. Which Is The Correct CSS Syntax?

A.Body:color=black

B.{body;color:black}

C.{body:color=black(body}

D.Body {color: Black}


Q.28. Which CSS Property Is Used For Controlling The Layout?

A.Header

B.Footer

C.Display

D.None Of The Above


Q.29. What Should Be The Table Width, So That The Width Of A Table Adjust To The Current Width Of The Browser Window?

A.640 Pixels

B.100.00%

C.Full-screen

D.1024 Px


Q.30.Which CSS Property Is Used To Control The Text Size Of An Element ?

A.Font-style

B.Font-size

C.Text-size

D.Text-style


Q.31. The "function" and " var" are known as:

A.Keywords

B. Data types

C. Declaration statements

D. Prototypes


Q.32. Inside which HTML element do we put the JavaScript?

A.<script>

B.<head>

C.<meta>

D.<style>


Q.33. How we write "Hello World" in an alert box?

A.alertBox("Hello World");

B.msgBox("Hello World");

C.msg("Hello World");

D.alert("Hello World");


Q.34. Is JavaScript is the same as Java?

A.Yes

B.No


Q.35. ____________operator is used to assign a value to a variable?

A.*

B.x

C.=

D.+


Q.36. JavaScript is case-sensitive. True or False?

A.True

B.False



Q.37. Javascript was designed for which of the following purposes

A.To Style HTML Pages

B.To Perform Server Side Scripting Opertion

C.To add interactivity to HTML Pages

D.To Execute Query Related to DB on Server


Q.38. Which of the following option terminates Java Statement?

A.Semicolon

B.Full Stop

C.Comma

D.Slash


Q.39. Which of the following element is responsible for making the text bold in HTML?

A.<pre>

B.<a>

C.<b>

D.<br>


Q.40.Which of the following defines a measurement in points?

A.in

B.mm

C.pc

D.pt


ANSWER KEY : 

Q.1. Ans. A.Hyper Text Markup Language

Q.2. Ans. C.<P>

Q.3. Ans. D.<h1>

Q.4. Ans. C.Both (a)&(b)

Q.5. Ans. B.How to display the page

Q.6. Ans. B.Client-server

Q.7. Ans. C.maxlength

Q.8. Ans. C.<HTML>

Q.9. Ans. C.<DL>

Q.10 .Ans. B.<a href = "url" target= "_blank">

Q.11. Ans. A.<LI>

Q.12. Ans. D.HTML 5.0

Q.13. Ans. A.<TABLE>

Q.14. Ans. B.HEAD tag

Q.15. Ans. B.<a href ="mail to: xxx@y.com">

Q.16. Ans. B.<OL>

Q.17. Ans. A.Web Browsers

Q.18. Ans. D.<BIG>and<Small> tags

Q.19. Ans. C.WWW consortium

Q.20. Ans. D.<IMG>

Q.21. Ans. B.Hyper Text Transfer Protocol

Q.22. Ans. A.Graphics Interchange Format

Q.23. Ans. A.Id

Q.24. Ans. A.The Id Selector

Q.25. Ans. A.in

Q.26. Ans. C.<marquee bgcolor = "red">

Q.27. Ans. D.Body {color: Black}

Q.28. Ans. C.Display

Q.29. Ans. B.100.00%

Q.30. Ans. B.Font-size

Q.31. Ans. C. Declaration statements

Q.32. Ans. A.<script>

Q.33. Ans. D.alert("Hello World");

Q.34. Ans. B.No

Q.35. Ans. C.=

Q.36. Ans. C.=

Q.37. Ans. C.To add interactivity to HTML Pages

Q.38. Ans. A.Semicolon

Q.39. Ans. C.<b>

Q.40. Ans. D.pt


Comments

Popular posts from this blog