• No results found

HTML multiple choice questions

N/A
N/A
Protected

Academic year: 2021

Share "HTML multiple choice questions"

Copied!
37
0
0

Loading.... (view fulltext now)

Full text

(1)

2-1. <TITLE> … </TITLE> tag must be within ________

A. Title B. Form C. Header D. Body

2-2. Text within <EM> … </EM> tag is displayed as ________

A. bold B. italic C. list D. indented

2-3. Text within <STRONG> … </STRONG> tag is displayed as ________

A. bold B. italic C. list D. indented

2-4. <UL> … </UL> tag is used to ________

A. display the numbered list B. underline the text C. display the bulleted list D. bold the text

2-5. Which tag is used to display the numbered list?

A. <OL></OL> B. <DL></DL> C. <UL></UL> D. <LI></LI>

2-6. Which tag is used to display the large font size?

A. <LARGE></LARGE> B. <BIG></BIG> C. < SIZE ></SIZE> D. <FONT></FONT>

2-7. <SCRIPT> … </SCRIPT> tag can be placed within ________

A. Header B. Body C. both A and B D. none of the above

2-8. using <P> tag will

A. start a new paragraph B. break the line C. end the current paragraph D. none of the above

2-9. <TD> … </TD> tag is used for ________

A. Table heading B. Table Records C. Table row D. none of the above

2-10. Which is true to change the text color to red?

A. <BODY BGCOLOR=RED> B. <BODY TEXT=RED> C. <BODY COLOR=RED> D. none of the above

1-1. What is the full form of HTML?

A. Hyper text markup language B. Hyphenation text markup language C. Hyphenation test marking language D. Hyper text marking language

1-2. What is the full form of HTTP?

A. Hyper text transfer protocol B. Hyper text transfer package C. Hyphenation text test program D. none of the above

1-3. What is a search engine?

A. a program that searches engines B. a web site that searches anything C. a hardware component D. a machinery engine that search data

1-4. What is the full form of TCP/IP?

A. transmission control protocol / internet protocol B. telephone call protocol / international protocol C. transport control protocol / internet protocol D. none of the above

1-5. HTML document start and end with which tag pairs?

A. <HEAD>….</HEAD> B. <BODY>….</BODY> C. <HTML>….</HTML> D. <WEB>….</WEB>

1-6. Which tag is used to create body text in HTML?

A. <HEAD> B. <TEXT> C. <TITLE> D. <BODY>

1-7. “Yahoo”, “Infoseek” and “Lycos” are _________?

A. Search Engines B. Browsers C. News groups D. None of the above

1-8. What does the .com domain represents?

(2)

1-9. In Satellite based communication, VSAT stands for?

A. Very Small Aperture Terminal B. Varying Size Aperture Terminal C. Very Small Analog Terminal D. None of the above

1-10. Outlook Express is a _________

A. E-Mail Client B. Browser C. Search Engine D. None of the above

1. What type of information should you avoid including on your Web site?

A) Links to sites of interest B) Private personal information

C) Work and academic experience D) Graphical

2. Which of the following web elements should you know about before building your

web site?

A) The web audience B) The operating environment of your ISP

C) The operating system of your visitor D) Each consideration should

determine your web design choices

3. What is the language of the Web?

A) Basic B) C++ C) MS Visual Basic D) HTML

4. What does an HTML tag do?

A) It specifies formatting and layout instructions for your web page.

B) It hides programming instructions from view.

C) It determines the organizational structure of your Web site.

D) It connects your web site to an operating environment.

5

. A Web document is broken into sections. What are the tags called that create these

sections?

A) Structure tags B) HTML tags C) Heading tags D) Body tags

6. What should be the first and last pair of tags in your Web document?

A) <html></html> and <body></body>

B) <start><end> and <body></body>

C) <head><body> and <title></title>

D) <title></title> and <body<>/body>

7. When you use a heading tag in a document, what does the Web browser assumes?

A) Heading information is to appear in bold letters

B) Heading information is to appear on its own line

C) Heading information has a hyperlink

D) Heading information is shown as a size six

(3)

8. For every Web document, you can add words that appear in the upper left bar area

of your browser. What set of tags allows you to provide this information?

A) <head></head> B) <head><head> C) <label><label>

D) <title></title>

9. If you wanted to create text that was a different color or font than other text in your

Web page, what type of tag would you use?

A) Layout B) Basic formatting C) Design D) Outline

10. When creating a Web document, what format is used to express an image's height

and width?

A) Centimeters B) Pixels C) Dots per inch D) Inches

1. To see if a website has finished downloading, where should you look?

A Status bar B Toolbar C Address bar D Explorer bar

2. The Internet is a system of computers all over the world that are linked to one

another. This type of system is considered —

A. a local area network (LAN) B an electronic database C a wide area network

(WAN) D a stand alone system

3. To invite your friend online to meet at some place in the evening, you need:

A. a keyword B e-mail C a search engine D a scanner

4. Which would be the best keyword(s) for you to enter to search an electronic

encyclopedia for information about the World Cup soccer tournament?

A. Soccer B. Soccer tournament C. Sports D. World Cup soccer

5. Which of the following is used to explore the Internet?

A Browser B Spreadsheet C Clipboard D Draw

6. A keyword is the —

A main search word B name of a search engine C word used to get rid of

results D style of the search word

7. To determine if a sports website has current information, you should check —

A. how many other sites are listed B. the website address

C. when the site was last updated D. how the site is organized

8. Which domain must be present in the website address (URL) of a university library?

A .org (organization) B .gov (government) B .edu (education) D .com (commercial)

9. While searching on the Internet, you decided to check in more than one search

engine because —

A. that will avoid false information B. that will avoid repetition of information

C. each engine produces different results D. all Web users prefer this technique

(4)

10. What is Internet Explorer?

A. An Icon B. A File Manager C. A Browser D. The Internet

11. What do I need to get onto the Internet?

A. Computer B. Modem C. ISP D. All of the above

12. What is an ISP?

A. Internet System Protocol B. Internal System Program C. Internet Service

Provider D. None of the above

13. Pick an example of a IP address?

A. www.yahoo.com B.

www.cnn.com

C. 1.888.234.3456 D. 123.34.56.225

14. Which is not a domain name extension

A. .com B. .org C. .int D. .ca

15. What is a FTP program used for?

A. Transferring files to and from an Internet server B. Designing a website

C. Connecting to the internet D. None of the above

16. Which is a valid Internet address?

A.

http://www.loksewaexam.com

B. www.my site.com C. http//loksewaexam.com

17. What must you know before you can post pages to a web server?

A. your username and password B. whether the web server supports frames

C. whether the web server supports web folder extensions D. both a and c

18. Which of the following are commonly found on web pages?

A. internet B. hyperlinks C. intranet D. all of the above

1. A homepage is...

A. an index of encyclopedia articles B. where all Internet data is stored

C. required for access to the Internet D. the first page of a website

2. While researching on the Internet, the best way to retrace where you have been is to

A. select the Back button repeatedly B. try to remember the Internet addresses

C. select the Home button D. use the Search button

3. You found out that your favorite football team had a website on the Internet. What do

you need to know in order to visit the team’s website?

A. The city where the team is located

B. What time the team website is open

C. The Internet address of the website _

D. The number of Internet pages of the team’s website

Answer: A

(5)

A. Title B. form

C. Header D. Body

Answer: C

5. Text within <EM></EM> tag is displayed as……

A. bold B. italic

C. list D. indented

Answer: B

6. Text within <STRONG></STRONG> tag is displayed as……

A. bold B. italic

C. list D. indented

Answer: A

7. <UL></UL> tag is used to:

A. display the numbered list B. underline the text

C. display the bulleted list D. bold the text

Answer: C

8. Which tag is used to display the numbered list?

A. <OL></OL> B. <DL></DL>

C. <UL></UL> D. <LI></LI>

Answer: A

9. Which tag is used to display the large font size?

A. <LARGE></LARGE> B. <BIG></BIG>

C. < SIZE ></SIZE> D. <FONT></FONT>

Answer: B

10. <SCRIPT ></SCRIPT> tag can be placed within….

A. Header B. Body

(6)

Answer: C

11. using <P> tag will

A. start a new paragraph B. break the line

C. end the current paragraph D. none of the above

Answer: A

12. <FRAMESET></FRAMESET> tag can be used instead of ….

A. frame tag B. Body tag

C. both A and B D. none of the above

Answer: B

13. <TD></TD> tag is used for ….

A. Table heading B. Table Records

C. Table row D. none of the above

Answer: B

14. Which is true to change the text color to red?

A. <BODY BGCOLOR=RED> B. <BODY TEXT=RED>

C. <BODY COLOR=RED> D. none of the above

Answer: B

15. At your favorite sports website, you wants to go directly to the section on hockey.

Which option should you choose?

A Scroll down the page B Use a search engine

C Select the hockey link D Print the site

Answer: C

1. What is the full form of HTTP?

A. Hyper text transfer protocol

B. Hyper text transfer package

C. Hyphenation text test program

D. none of the above

(7)

2. What is a search engine?

A. a program that searches engines

B. a web site that searches anything in the web

C. a hardware component

D. an engine that search data

Answer: B

3. What is the full form of TCP/IP?

A. transmission control protocol / internet protocol

B. telephone call protocol / international protocol

C. transport control protocol / internet protocol

D. none of the above

Answer: A

4. What is the full form of HTML?

A. Hyper text markup language

B. Hyphenation text markup language

C. hyphenation test marking language

D. hyper text marking language

Answer: A

5. Which tag is used to create body text in HTML?

A. <head> B. <text>

C. <title> D. <body>

Answer: D

6. PPP stands for?

A. Point to Point Protocol

B. Peripheral to Peripheral Protocol

C. Protocol to Protocol Point

D. None of the above

Answer: A

(8)

A. Search Engines B. Browsers

C. New groups D. None of the above

Answer: A

8. The component from where the incoming messages can be retrieved in a mail

account is ……….?

A. Inbox B. Compose

C. Send D. Tools

Answer: A

9. What does the .com domain represents?

A. Education domain B. Commercial domain

C. Network D. None of the above

Answer: B

10. In Satellite based communication, VSAT stands for?

A. Very Small Aperture Terminal

B. Varying Size Aperture Terminal

C. Very Small Analog Terminal

D. None of the above

Answer: A

11. What manages the hypertext links that are used to navigate the web?

A. Netscape Navigator B. Internet Explorer

C. Hypertext Transfer Protocol D. Browser

Answer: C

12. Every web document has a unique address. What is it called?

A. Universal Resource Locator B. IP Address

C. Domain D. Hyperlink

Answer: A

(9)

13. HTML document start and end with which tag pairs?

A. <HEAD<….</HEAD> B. <BODY>…..</BODY>

C. <HTML>……</HTML> D. <WEB>……</WEB>

Answer: C

14. Outlook Express is a ___

A. E-Mail Client B. Scheduler

C. Address Book D. All of the above

Answer: D

15. With regards to e-mail addresses:

A. they must always contain an @ symbol

B. they can never contain spaces

C. they are case-Insensitive

D. [all of the above]

Answer: D

.What does HTML stand for?

Hyperlinks and Text Markup Language

Home Tool Markup Language

Hyper Text Markup Language

Ans: Hyper Text Markup Language

---

2.Who is making the Web standards?

Mozilla

Microsoft

The World Wide Web Consortium

Ans: The World Wide Web Consortium

---

3.Choose the correct HTML tag for the largest heading

<h6>

<heading>

(10)

<h1>

Ans: <h1>

---

4.What is the difference between XML and HTML?

HTML is used for exchanging data, XML is not.

XML is used for exchanging data, HTML is not.

HTML can have user defined tags, XML cannot

Ans: XML is used for exchanging data, HTML is not.

---

5.What is the correct HTML tag for inserting a line break?

<br />

<break />

<lb />

Ans: <br />

---

6.Can a data cell contain images?

Yes

No

Ans: Yes

---

7.How do I add scrolling text to my page?

<scroll>

<marquee>

<ciruler>

Ans: <marquee>

---

8.What is the preferred way for adding a background color in HTML?

<body background="yellow">

<background>yellow</background>

<body style="background-color:yellow">

Ans: <body style="background-color:yellow">

---

9.What does vlink mean ?

(11)

visited link

vlink

active link

Ans: visited link

---

10.Is width=”100” and width=”100%” the same?

Yes

No

Ans: No

---

11.Choose the correct HTML tag to make a text bold

<bold>

<b>

Ans: <b>

---

12.Choose the correct HTML tag to make a text italic

<i>

<italic>

Ans: <i>

---

13.What is extension of html file ?

html

xml

xhtml

Ans: html

---

14.What is the correct HTML for creating a hyperlink?

<a name="">A</a>

<a>B</a>

<a href="http://www.example.com">example</a>

<a url="http://www.example.com">example</a>

Ans: <a href="http://www.example.com">example</a>

---

15.How can we resize the image?

(12)

Using height and width

Ans: Using height and width

---

16.How can you create an e-mail link?

<mail href="a@b">

<mail>a@b</mail>

<a href="a@b">

<a href="mailto:[email protected]">

Ans : <a href="mailto:[email protected]">

---

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

<a href="url" new>

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

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

Ans: <a href="url" target="_blank">

---

18.Which of these tags are all <table> tags?

<table><head><tfoot>

<table><tr><td>

<table><tr><tt>

<thead><body><tr>

Ans: <table><tr><td>

---

19.Choose the correct HTML to left-align the content inside a tablecell

<td valign="left">

<tdleft>

<td leftalign>

<td align="left">

Ans: <td align="left">

---

(13)

20.How can you make a list that lists the items with numbers?

<ul>

<list>

<ol>

<dl>

Ans :<ol>

---

21.How can you make a list that lists the items with bullets?

<ol>

<list>

<ul>

<dl>

Ans: <ul>

---

22.What is the correct HTML for making a checkbox?

<checkbox>

<input type="checkbox" />

<input type="check" />

<check>

Ans: <input type="checkbox" />

---

23.What is the correct HTML for making a text input field?

<input type="textfield" />

<textinput type="text" />

<textfield>

<input type="text" />

Ans: <input type="text" />

---

24.What is the correct HTML for making a drop-down list?

<input type="list" />

<select>

<list>

(14)

Ans: <select>

---

25.What is the correct HTML for making a text area?

<input type="textarea" />

<input type="textbox" />

<textarea>

Ans: <textarea>

---

26.What is the correct HTML for inserting an image?

<image src="image.gif" alt="MyImage" />

<img href="image.gif" alt="MyImage" />

<img src="image.gif" alt="MyImage" />

<img alt="MyImage">image.gif</img>

Ans: <img src="image.gif" alt="MyImage" />

---

27.What is the correct HTML for inserting a background image?

<img src="background.gif" background />

<body background="background.gif">

<background img="background.gif">

Ans: <body background="background.gif">

---

28.When you count to 15 using hexadecimal numbers, the highest number is what

?

F

B

15

Ans: F

---

29.What is the REFRESH meta tag used for ?

(15)

Refresh your content

Redirect to a new domain

rewrite url

Ans: Redirect to a new domain

---

30.colspan=n can be added to only what tag?

<table>

<td>

<tr>

Ans:<td>

---

31.What tag adds a paragraph break after the text ?

<PARAGRAPH>

<P>

<BR>

Ans:<P>

---

32.All HTML tags are enclosed in what ?

<>

<?php and ?>

# and #

<!-- and -->

Ans: <>

(16)

1

Who is known as the father of WWW (World Wide Web) ?

A.

Charles Darwin

B.

Tim Thompson

C.

Tim Berners-Lee

D.

Robert Cailliau

See Answer & Explanation Lets Discuss

2

What does a Markup tag tells the web browser?

A.

How to organize the page

B.

How to display message box on page

C.

How to display the page

D.

None of these

See Answer & Explanation Lets Discuss

3

Which organization defines the Web Standards?

A.

Apple Inc.

B.

World Wide Web Consortium(W3C)

C.

Microsoft Corporation

D.

IBM Corporation

See Answer & Explanation Lets Discuss

4

How will you define a homepage??

A.

Is is an index of encyclopedia articles

B.

It is the first page of a website

C.

It is a place where all the data of internet is stored

D.

It is required for the access of internet

(17)

5

What is the traditional file name of a homepage of a website??

A.

home.html

B.

index.html

C.

web.html

D.

front.html

6

What is the basic fundamental block of an HTML page?

A.

HTML Element

B.

HTML body

C.

HTML Attribute

D.

HTML tag

See Answer & Explanation Lets Discuss

7

What does an HTML tag do?

A.

It determines the organizational structure of your Web site.

B.

It connects your web site to an operating environment.

C.

It hides programming instructions from view.

D.

It specifies formatting and layout instructions for your web page.

See Answer & Explanation Lets Discuss

8

Which one among these connects web pages?

A.

Link

B.

Connector

C.

Hyperlink

D.

None of these

See Answer & Explanation Lets Discuss

(18)

A.

SGML

B.

SGMT

C.

SGMD

D.

None of these

See Answer & Explanation Lets Discuss

10

Amongst these, which one can be used for writing HTML code??

A.

Notepad++

B.

Microsoft Word

C.

Windows Media Player

D.

None of these

See Answer & Explanation Lets Discuss

11

Which among them is the root tag for an HTML document?

A.

HEAD

B.

TITLE

C.

HTML

D.

BODY

See Answer & Explanation Lets Discuss

12

HTML documents are saved in?

A.

ASCII text

B.

Machine language codes

C.

Special Binary format

D.

None of these

See Answer & Explanation Lets Discuss

(19)

A.

Heading information is shown as a size six

B.

Heading information has a hyperlink

C.

Heading information is to appear on its own line

D.

Heading information is to appear in bold letters

See Answer & Explanation Lets Discuss

14

A Web document is broken into sections. What are the tags called that create these

sections?

A.

HTML Tags

B.

Heading tags

C.

Structure tags

D.

Body tags

See Answer & Explanation Lets Discuss

15

What is the extension of an HTML document to be saved?

A.

.hml

B.

.html

C.

.htl

D.

.htnl

16

What is the name of opening tag of HTML?

A.

Pair tag

B.

Ending tag

C.

Starting tag

D.

Closed tag

See Answer & Explanation Lets Discuss

17

The way the browser displays the object can be modified by _________

(20)

B.

modifiers

C.

attributes

D.

None of these

See Answer & Explanation Lets Discuss

18

The default font-size of HTML document is??

A.

6

B.

4

C.

3

D.

2

See Answer & Explanation Lets Discuss

19

Tags that are not directly displayed on the page are written in __________section.

A.

<html>

B.

<head>

C.

<title>

D.

<body>

See Answer & Explanation Lets Discuss

20

What is the correct HTML tag for inserting a line break?

A.

<br>

B.

<break>

C.

<newline>

D.

<lb>

21

HTML is considered as _______ language

A.

Objective oriented Programming Language

(21)

C.

High level Language

D.

Programming Language

See Answer & Explanation Lets Discuss

22

A Web document is broken into sections. What are the tags called that create these

sections?

A.

HTML tags

B.

Body tags

C.

Structure tags

D.

Heading tags

See Answer & Explanation Lets Discuss

23

If you wanted to create text that was a different color or font than other text in your Web

page, what type of tag would you use?

A.

Layout

B.

Basic Formatting

C.

Outline

D.

Design

See Answer & Explanation Lets Discuss

24

To determine if a news website has current information, you should check?

A.

when the website was created

B.

when the website was last updated

C.

how the website is organized

D.

what is the domain name of the website

See Answer & Explanation Lets Discuss

25

Marquee is a tag in HTML to

A.

Display the text with scrolling effect

(22)

C.

mark the list of items to maintain

D.

None of the above

26

Can the element <Head> be replaced with <head>?

A.

True

B.

False

See Answer & Explanation Lets Discuss

27

Which software can read and render HTML documents?

A.

Compiler

B.

Server

C.

Interpreter

D.

Browser

See Answer & Explanation Lets Discuss

28

While searching on the Internet, you decide to check in more than one search engine

because?

A.

all web users prefer this technique

B.

they will avoid repetition of information

C.

each engine produces different results

D.

they will avoid false information

See Answer & Explanation Lets Discuss

29

What does HTML stand for?

A.

Hyper Text Markup Language

B.

Hyper Text Makeup Language

C.

Home Tool Markup Language

D.

Hyperlinks and Text Markup Language

(23)

30

What is the difference between XML and HTML?

A.

HTML is used for exchanging data, XML is not.

B.

HTML is easy, XML is hard

C.

HTML can have user defined tags, XML cannot

D.

XML is used for exchanging data, HTML is not.

31

Can a data cell contain images?

A.

Yes

B.

No

See Answer & Explanation Lets Discuss

32

All HTML tags are enclosed in what ?

A.

<>

B.

<?php and ?>

C.

# and #

D.

<!-- and -->

See Answer & Explanation Lets Discuss

33

What is <tt> tag in HTML?

A.

It renders fonts as teletype text font style.

B.

It renders fonts as truetype text font style.

C.

It renders fonts as truncate text font style.

D.

None of the Above.

See Answer & Explanation Lets Discuss

34

World Wide Web (WWW) is based on which model?

A.

Local Server

(24)

C.

3 Tier

D.

None of these

See Answer & Explanation Lets Discuss

35

Which of the following is the correct regarding meta tag in HTML?

A.

<meta> … </meta>

B.

<meta name = " " />

C.

<metadata> … </metadata>

D.

<metadata name = " " /> See Answer & Explanation

36

The Body tag is usually used after______

A.

title tag

B.

head tag

C.

EM tag

D.

form tag

See Answer & Explanation Lets Discuss

37

Text within <EM> … </EM> tag is displayed as ________

A.

bold

B.

italic

C.

list

D.

indented

See Answer & Explanation Lets Discuss

38

What is the use of iframe in HTML?

A.

to display a web page within a web page.

(25)

C.

to display a web page without browser.

D.

All of the Above.

See Answer & Explanation Lets Discuss

39

What is the full form of HTTP?

A.

Hyper Text Transfer Protocol

B.

Hyper Text Translate Protocol

C.

Home Tool Transfer Protocol

D.

Hiper Text Transform Protocol

See Answer & Explanation Lets Discuss

40

HTML language is a set of markup______

A.

attributes

B.

sets

C.

groups

D.

tags

41 ASCII stands for__________

A. American Standard Code for Informal Interchange

B. American Standard Code for Interchanging Information

C. American Standard Code for Information Interchange

D. American Standard Code for Information Interval

1

Which of the following tags are related to Table in HTML ?

A.

<table> <head> <body>

B.

<table> <row> <column>

C.

<table> <tr> <td>

D.

<table> <header> <footer>

(26)

2

Which of the following is an attribute of <Table> tag?

A.

src

B.

cellpadding

C.

Link

D.

Bold

See Answer & Explanation Lets Discuss

3

Which of the following is not a pair tag?

A.

<p>

B.

<u>

C.

<i>

D.

<img>

See Answer & Explanation Lets Discuss

4

How can you make a bulleted list?

A.

<list>

B.

<ol>

C.

<ul>

D.

<nl>

See Answer & Explanation Lets Discuss

5

Which tag is used to display the large font size?

A.

<LARGE></LARGE>

B.

<SIZE></SIZE>

C.

<BIG></BIG>

D.

<FONT></FONT>

(27)

A.

display the bulleted list

B.

bold the text

C.

underline the text

D.

display the numbered list

See Answer & Explanation Lets Discuss

7

Text within tag is displayed as________

A.

list

B.

italic

C.

indented

D.

bold

See Answer & Explanation Lets Discuss

8

Which tag used to create hypertext relationship between current document and another

document??

A.

<a>

B.

<link>

C.

<l>

D.

<isindex>

See Answer & Explanation Lets Discuss

9

Which tag allows you to add a row in a table?

A.

<td> and </td>

B.

<tr> and </tr>

C.

<cr> and </cr>

D.

<th> and </th>

See Answer & Explanation Lets Discuss

(28)

A.

<img src="http://www.placementyogi.com/yogi.png" alternate="Brand of website"/>

B.

<img src="//http://www.placementyogi.com/yogi.png" alt text="Brand of

website"/>

C.

<img src="http://www.placementyogi.com/yogi.png" alternate text="Brand of

website"/>

D.

<img src="http://www.placementyogi.com/yogi.png" alt = "Brand of website"/>

11

Which tag is used to display the items with bullets?

A.

<list>…</list>

B.

<ul>…</ul>

C.

<bullet>…</bullet>

D.

<ol>…</ol>

See Answer & Explanation Lets Discuss

12

Choose the correct HTML tag for the smallest size heading?

A.

<h6>

B.

<heading>

C.

<h1>

D.

<head>

See Answer & Explanation Lets Discuss

13

Which of the following is the correct way to change font face in Web Page?

A.

<font name = "font name"> … </font>

B.

<font face = "font name"> … </font>

C.

<font = "font name"> … </font>

D.

Font Face cannot change

See Answer & Explanation Lets Discuss

14

Choose the correct HTML tag to make a text bold?

(29)

B.

<bold>

C.

<bb>

D.

<bld>

See Answer & Explanation Lets Discuss

15

<b> tag makes the enclosed text bold. What is other tag to make text bold?

A.

<strong>

B.

<dar>

C.

<black>

D.

<emp> See Answe

16

Choose the correct HTML tag to left-align the content of a cell.

A.

<td valign= “left”>

B.

<td align= “left”>

C.

<tdleft>

D.

<td leftalign>

See Answer & Explanation Lets Discuss

17

To create a combo box (drop down box) which tag will you use?

A.

<list>

B.

<select>

C.

<input type="dropdown">

D.

all of above

See Answer & Explanation Lets Discuss

18

<TITLE></TITLE> tag must be within_____

(30)

B.

title

C.

head

D.

body

See Answer & Explanation Lets Discuss

19

Which tag is used to display Preformatted texts?

A.

<prefor> … </ prefor>

B.

<pre text> … </ pre text>

C.

<pre> … </ pre>

D.

<pre format> … </ pre format> See Answer & Explanation Lets Discuss

20

Which HTML tag would be used to display power in expression (X+Y)6 ?

A.

<sub>

B.

<sup>

C.

<b>

D.

<p>

21

<FRAMESET></FRAMESET> tag can be used instead of_________

A.

body tag

B.

frame tag

C.

both A and B

D.

None of these

See Answer & Explanation Lets Discuss

22

Choose the correct HTML tag for the largest heading.

A.

<h4>

(31)

C.

<h1>

D.

<h6>

See Answer & Explanation Lets Discuss

23

How do I add scrolling text to my page?

A.

<scroll>

B.

<ciruler>

C.

<marquee>

See Answer & Explanation Lets Discuss

24

.Choose the correct HTML tag to make a text italic

A.

<italic>

B.

<i>

See Answer & Explanation Lets Discuss

25

What is the correct HTML for creating a hyperlink?

A.

<a href="http://www.example.com">example</a>

B.

<a name="">A</a>

C.

<a url="http://www.example.com">example</a>

D.

<a>B</a> See Answer & Explan

26

How can you create an e-mail link?

A.

<mail href="a@b">

B.

<mail>a@b</mail>

C.

<a href="a@b">

D.

<a href="mailto:[email protected]">

(32)

27

How can you open a link in a new browser window?

A.

<a href="url" new>

B.

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

C.

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

D.

<a href="url" target="_new">

See Answer & Explanation Lets Discuss

28

Which of these tags are all

tags?

A.

<table><head><tfoot>

B.

<table><tr><td>

C.

<thead><body><tr>

See Answer & Explanation Lets Discuss

29

Choose the correct HTML to left-align the content inside a table cell.

A.

<td valign="left">

B.

<tdleft>

C.

<td leftalign>

D.

<td align="left">

See Answer & Explanation Lets Discuss

30

How can you make a list that lists the items with numbers?

A.

<ul>

B.

<list>

C.

<ol>

(33)

See Answer & Explanation Lets Discuss

31

What is the correct HTML for making a checkbox?

A.

<checkbox>

B.

<input type="checkbox" />

C.

<input type="check" />

D.

<check>

See Answer & Explanation Lets Discuss

32

What is the correct HTML for making a text input field?

A.

<input type="textfield" />

B.

<textinput type="text" />

C.

<textfield>

D.

<input type="text" />

See Answer & Explanation Lets Discuss

33

What is the correct HTML for inserting a background image?

A.

<img src="background.gif" background />

B.

<background img="background.gif">

C.

<body background="background.gif">

D.

<body bgcolor="background.gif"> See Answer & Explanation Lets Discuss

34

What is the correct HTML for making a drop-down list?

A.

<select>

B.

<list>

C.

<input type="list" />

(34)

See Answer & Explanation Lets Discuss

35

What is the correct HTML for making a text area?

A.

<input type="textarea" />

B.

<textarea>

C.

<input type="textbox" /> See Answer & Explanation

36

colspan can be added to only what tag?

A.

<table>

B.

<tr>

C.

<td>

See Answer & Explanation Lets Discuss

37

What tag adds a paragraph break after the text ?

A.

<PARAGRAPH>

B.

<P>

C.

<BR>

See Answer & Explanation Lets Discuss

38

using <P> tag will

A.

start a new paragraph

B.

break the line

C.

end the current paragraph

D.

none of the above

See Answer & Explanation Lets Discuss

39

Linking to another place in the same or another web page requires two A (Anchor) tags,

the first with the ________attribute and the second the________attribute.

(35)

B.

LINK & HREF

C.

HREF & NAME

D.

TARGET & VALUE

See Answer & Explanation Lets Discuss

40

Which tag starts a descriptive list?

A.

<LL>

B.

<DD>

C.

<DL>

D.

<DS>

1

Which of the following HTML code is valid?

A.

<font colour="red">

B.

<font color="red">

C.

<red><font>

D.

All of above are style tags

See Answer & Explanation Lets Discuss

2

Which of the following are attributes of Font tag?

A.

Face

B.

Size

C.

Color

D.

All of above

See Answer & Explanation Lets Discuss

3

Which attribute you’ll use with TD tag to merge two cells horizontally?

A.

merge=colspan2

(36)

C.

colspan=2

D.

merge=row2

See Answer & Explanation Lets Discuss

4

Which attribute is used to name an element uniquely?

A.

class

B.

id

C.

dot

D.

all of the above

See Answer & Explanation Lets Discuss

5

Is negative value allowed to be used when giving a padding property to an element?

A.

True

B.

False

See Answer & Explanation

6

Which property should be used for setting the left margin of an element?

A.

indent

B.

padding-left

C.

margin-left

D.

left

See Answer & Explanation Lets Discuss

7

How to make each word in a sentence start with a capital letter?

A.

font-weight:bold

B.

text-transform:uppercase

C.

text-transform:capitalize

(37)

See Answer & Explanation Lets Discuss

8

How to display the hyperlinks without an underline?

A.

a {underline:hidden;}

B.

a {text-decoration:none;}

C.

a {text-decoration:no-underline;}

D.

a {decoration:hidden;}

See Answer & Explanation Lets Discuss

9

Which CSS property controls the text size?

A.

text-style

B.

text-size

C.

font-size

D.

font-style

See Answer & Explanation Lets Discuss

10

Which CSS property is used to change the text color of an element?

A.

font-color

B.

fgcolor

C.

text-color

D.

color

References

Related documents