0% found this document useful (0 votes)
10 views

Computer Operator and Programming Assistant P (2)

This document contains a series of multiple-choice questions related to HTML, CSS, and web development concepts, categorized into three levels of difficulty. It covers topics such as HTML tags, attributes, and syntax for creating web pages, as well as the use of CSS for styling. The questions are designed to test knowledge on basic web design principles and coding practices.

Uploaded by

Yeash Kamal
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views

Computer Operator and Programming Assistant P (2)

This document contains a series of multiple-choice questions related to HTML, CSS, and web development concepts, categorized into three levels of difficulty. It covers topics such as HTML tags, attributes, and syntax for creating web pages, as well as the use of CSS for styling. The questions are designed to test knowledge on basic web design principles and coding practices.

Uploaded by

Yeash Kamal
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

Computer Operator and Programming Assistant

Module 12: Designing Static WebPages


Level : 1

1 What is the first tag in html document?

A <html>

B <head>

C <title>

D </html>

2 The <b> tag makes the enclosed text bold, which other html tag is used to make text bold?

A <dark>

B <bold>

C <th>

D <strong>

3 Which html tag is used to display a picture in a web page?

A <src>

B <img>

C <img src>

D <image>

4 What is the full form of HTTP?

A Hyper Text Testing Protocol

B Hyper Text Transfer Protocol

C Hyper Test Transfer Protocol

D Hyper Text Transfer Program

5 Which html tag inserts a line horizontally in a page?

A <r

B <1>

C <hr>

D <line>
6 What is the full form of CSS?

A Computer Style Sheet

B Cascading Style Sheet

C Cascading System Style

D Customized Style Sheet

7 Which html tag is the smallest heading?

A <h1>

B <h2>

C <h6>

D <head>

8 What is the another name of web address?

A URL

B Html

C Http

D Webpage

9 What are the two main parts, available in html document?

A Title and Body

B Head and title

C Head and Body

D Head and document

10 Which character in html is used to indicate end tag?

Al

B/

CI

D<#

11 Which symbols starts with html comments?

A <!

B</

C<#
12. Which is used to publish the webpage to a web hosting server?

A Http

B Php

C Kompozer

D Blogger

Level : 2

1. Which attribute is used with with <td> tag to merge two cell horizontally ?

A Colspan = 2

B Rowspan = 2

C Mergerows

D mergecols

2. Which tag creates a checkbox for a form in html?

A <Check box>

B <input check box>

C <input = check box>

D <input type = check box>

3. Which html tag is used to add in a table?

A <tr> and </tr>

B <cr> and </cr>

C <th> and </th>

D <td> and </td>

3. Which html tag is used to divide a row into data cell?

A <tr> and </tr>

B <cr> and </cr>

C <th> and </th>

D <td> and </td>

4 Which html tag is used to divide a row into data cells?

A <tr> and </tr>

C <th> and </th>


B <cr> and </cr>

D <td> and </td>

5 Which is the correct syntax for adding alternate text for image, if the im- age cannot be displayed?

A <img src = "boat.gif" alt = "big boat"/>

B <img src = "boat.gif" alt text = "big boat"/>

C <img src= "boat.gif" alternate = "big boat"/>

D <img src = "boat.gif" alternate text = "big boat"/>

6 Which is the correct H1 tag for right alignment?

A <h1 align="right">.....</h1>

B <h1 tag align = "right">.....</h1>

C <h1 align = "r">.....</h1>

D <h1 alignment = "right">.....</h1>

7 What is the use of forms in HTML?

A To display a table

B To display a list

C To send the data to server

D To display email contents

8 What is the correct syntax for making a hyperlink?

A <http: // nimi.gov.in"</a>

B <url = "http: // nimi.gov.in">nimi

C <a href = "http://nimi.gov.in">nimi</a>

D <a ref = "http://nimi.gov.in">nimi</a

9 Which is the correct tag for adding iframe in html?

A <iframe http://nimi.gov.in> </iframe>

B <iframe = "http: // nimi.gov.in"></iframe>

C <iframe src="http://nimi.gov.in"></iframe>

D <iframe href = "http://nimi.gov.in"> </iframe>

10 What is the correct html tag for adding a background color?

A <body color = "Yellow">


B <body bgcolor = "Yellow">

C <body background = "Yellow"> D <body bg = "Yellow">

11 How do you add a link which will allow the visitor to send an email from the page?

A <a href="mailto: youraddress">

B <a href = "sendmailtoyour address">

C <a="mailto">

D <href="mailto">

12 What will happen, if the background image is smaller than the screen?

A It will be stretched

B It will leave a blank space at the bottom of the page

C It will leave a blank space at the top of the page

D It will be repeated

13 Which is the correct CSS syntax?

A body: color black;

B body {color; black)

C (body: color: black;}

D {body: color = black;}

14 Which is the correct html tag for making a text input field?

A <text type = "Text">

B <input type = "text">

C <input type = "textfield">

D <input type = "textbox">

15 Which is the correct html tag for creating password field?

A <text type="password">

B <input type = "pwd">

C <input type = "password">

D <input type = "passcode">

16 What is the correct html code for inserting a background image


A <body background = "image jpg">

B <body = "image.jpg">

C <background = "image.jpg">

D <body background = image.jpg>

17 Which option will match, while making bulleted list?

A Square, disc, polygon

B triangle, disc, circle

C triangle, square

D disc, circle, square

18 What is the meaning of increase the cell padding?

A Increase the thickness of table bord

B Increase the space between cells

C Increase the distance between cell and content

D Increase the no of cells

19 Which web language give more control over the HTML elements and al- lows them to
change at any time without returning to the Web server ?

A BML

B XML

C HTML

D DHTML

Level : 3

1 What will be the output of the following HTML code?

<html>

<body>

<p>
<strong>NIMI</strong>

</p> <p>CHENNAI</p>

</body>

</html>

A NIMI CHENNAI

C CHENNAI NIMI

B NIMI CHEΝΝΑΙ

D CHENNAI ΝΙΜΙ

2 "What is the output of the following html?

<html> <body> <h2>NIMI<small>CHENNAI</small> formatting</h2> </body> </html>


<body> <h2>NIMI<small>CHENNAI</small> formatting</h2> </body> </html>"

A NIMI chennai

C NIMI CHENNAI formatting

B NIMI CHENNAI

D NIMICHENNAlformatting

3 "What is the output of the following html code?

<html>

<body>

<p>NIMI<sup>CHENNAI</sup></p>

</body>

</html>

<body>

<p>NIMI<sup>CHENNAI</sup></p>

</body>

</html>

A NIMICHENNAI

C NIMI CHENNAI
B NIMI chennai

D NIMICHEΝΝΑΙ

4 "How will the following html code appear in the browser?

<html>

<body>

<h1> my first heading</h1>

<p>my first paragraph</p>

</body>

</html>

<body>

<h1> my first heading</h1>

<p>my first paragraph</p>

</body>

</html>"

A my first heading my first paragraph

B My first heading My first paragraph

C My first heading My first paragraph

D My first heading My first paragraph

5 Which of the following code is used to add a plain color background to the web page ?

A <body bgcolor = "36, 2437">

B <body color = "#FF000">

C <body bgcolor = "#FF000">

D <bgcolor=blue>

You might also like