Web Publication
Web Publication
01 WEB PUBLICATION
Web Page : It is the collection of simple text, formatted text, animated text, add background sound,
background image, background color is called web page.
The language use to developed a web page is called as HTML (Hypertext Markup Language ).
Once the web page is developed in HTML and connected with internet and stored in www (World
Wide Web) library, Then You can access this web page from any where location in world.
Html Defn : Hypertext is ordinary text that has been dressed up with extra feature such as
formatting , Images, Adding sound etc.
Markup is the process of taking ordinary text and adding extra symbol.
a) HTML is Hypertext Markup language.
b) It is not a programming language but it is markup language.
c) Html has it own syntax and rule for communication.
d) HTML code written in any type of Text Editor such as Word-Pad, Not-Pad etc.
e) HTML program code will be run with Web Browser such as Internet-Explorer, Netscape Navigator,
Microsoft Front page is the part of (WEB BROWSER).
f) To access and display HTML document is called Web Browser.
HTML FEATURES :
1) HTML is a document layouts and hyperlinks specification language.
2) HTML defines the syntax and placement of special symbol that aren’t display in web browser, but it
tells the web browser how to display the content of the document, including text, images and other
support media.
3) HTML lets you jump from topic to topic rather than finding and reading information linearly.
HTML ADVANTAGES :
1) Developed HTML document in any text editor. No special software is required.
2) If something is not working, then finding error is very easy
3) HTML document can be created on any Hardware Platform using any text editor.
4) HTML will not cost you anything for it use. There are no expensive licenses to buy or no
upgrades to purchase.
HTML DISADVANTAGES :
1) It is not a programming language, because you can not done simple calculation in HTML.
2) The Web page developed in HTML, but you can not behave like an application.
3) The interactive web page can not be built by HTML.
4) It can not be used to display even date.
TAG :
1) Tag is a unit of markup.
2) It is a set of symbol defined in HTML for special meaning.
3) Tag start with a less then sign (<) and end (conclude) with greater then sign (>).
4) Starting tag are used to begin an effect, and ending tag are used to end the effect.
5) End tag always end with forward slash in front of symbol.
Information Technology 1
Web-Publication
TYPES OF TAG :
There are two types of tag 1) Singular tag 2)Paired tag
1) Singular tag : A tag is said to be a singular tag if it along without a companion tag .
EX : <BR> is a singular tag.
2) Paired Tag : A tag is said to be a paired tag if it along with a companion tag and is also called as
container tag.
EX : <B> tag is a paired tag with it companion tag</B>
TAG Attribute :
1) Attribute is a keyword separated by a space written within angle brackets.
2) The attribute value encloses between double quotation mark, it may be digit or character.
STRUCTURE OF HTML DOCUMENT
The HTML document divided in three section
Document Header
Document Title,
Document Body.
1) The structure of HTML is organized in few tag, such as <HTML> and </HTML>, <HEAD> and
</HEAD>, <TITLE> and </TITLE>, <BODY> and </BODY>.
2) The whole program is enclosed within <HTML> and <HTML> tag.
3) <HTML> and </HTML> tag have two distinct section <HEAD> </HEAD> tags and <BODY>
</BODY> tags
4) <TITLE> tag present inside <HEAD> tag.
<HTML>
<HEAD>
<TITLE>
TITLE OF DOCUMENT
</TITLE>
</HEAD>
<BODY>
ACTUAL CODING
</BODY>
</HTML>
<HTML> Tag : It indicate that the starting of html document. The document is started with <HTML> tag
and end with </HTML>.
<HEAD> Tag : It define the header area of HTML document ( web page) . The <Head> tag written after
<HTML> tag and before <BODY>
<TITLE> Tag : It indicates the title of HTML document. The text enclosed between <TITLE> and
</TITLE> is the title of the web page but is not displayed in web browser window but it displayed in the
title bar of web browser window. Title of HTML document close with </TITLE> tag.
<BODY> tag : It is body tag. The actual content of the web page that will be displayed in web browser will
appear in body section of document. The body section start with <BODY> tag and end with </BODY> tag.
There are some attribute of <Body> tag is as fallows.
Information Technology 2
Web-Publication
ATTRIBUTE OF BODY TAG
i) BGCOLOR :
1) Change the background color of web browser.
2) User can assign directly color name or hexadecimal (RGB) value.
3) Hexadecimal value has 6 digit and add with one additional sign is hash (#) in front of hexadecimal
value.
ii) BACKGROUND :
1) Change the whole background pattern of web browser.
2) It will search background image from absolute or relative location.
iii) ALINK : It define a color for active link text.
iv) VLINK : It define a color for visited link text.
v) LINK : It determines the color of all hyperlinks which are not yet
followed by the user.
vi) TEXT : Change the body text color form its default value to the
specified color. Default color of body text is black.
vii) TITLE :Display the title associated with the background image when the mouse pauses over that
element
How to Create and View HTML document
Step 1 : Open Notepad from accessories
Step 2 : Write HTML coding
Step 3 : Save this file with proper name and extension with .Htm or .Html
Step 4 : To view this in the browser, open Internet Explorer
Step 5 : Give full path of document in address bar of browser you will get the desired Web page.
Information Technology 3
Web-Publication
<S> or <strike>Tag :
1) It is paired tag
2) It called as strike tag
3) The text enclosed between <S> tag and </S> tag will displayed with strike form means draw line
middle through the word.
Ex :- <s> Information technology </s>
Or
<strike> Information technology </strike>
OUTPUT : Information technology
<Big> Tag :
1) It is paired tag
2) The text enclosed between <Big> and </Big> tag is displayed in large font. or text will be
displayed one font size larger than surrounding text.<Big> tag has the same effect as
<Font Size= “+1”>
Ex : <BIG>Computer</BIG>
<Small> Tag :
1) It is paired tag
2) The text enclosed between <Small> and </Small> tag is displayed in Smaller font. <Small> or text
will be displayed one font size smaller than surrounding text. tag has the same effect as
<Font Size= “-1”>
Ex : <small>Computer</small>
Information Technology 4
Web-Publication
Color: It change the color of entire text. User can use directly name of color or color value(hexadecimal
value).
Ex : <font color= “green” or color= ‘#FFGGFF’>Computer</font>
<Sup> Tag :
1) It is paired tag
2) It called as superscript tag.
3) The text enclosed between <Sup> and </Sup> tag is displayed in superscript form. Or The text
enclosed between <Sup> and </Sup> tag gets displayed half a character’s height higher.
Ex : ((A+B)<sup>2</sup>*(A-B)<sup>2</sup>)
OUTPUT : ((A+B)2*(A-B)2)
<Sub> Tag :
1) It is paired tag
2) It called as subscript tag.
3) It is a subscript tag. The text enclosed between <Sub> and </Sub> tag is displayed in subscript
form. Or The text enclosed between <Sub> and </Sub> tag gets displayed half a character’s height
lower.
Ex : H<sub>2</sub>So<sub>4</sub>
OUTPUT : H2SO4
<TT> Tag :
1) It is paired tag
2) The text written between <TT> tag and </TT> tag displayed in a monospaced form.
<Comment> Tag :
1) It is paired tag
2) The comment can be placed within the <COMMENT> tag.
3) Everything between the <Comment> and </Comment> or <!-- and --!> tag is ignored by the Internet
Explorer (Web browser). That information is not displayed in the web browser.
Heading Tag :
1) There are six level of heading. From <H1> to <H6> and all are paired tag.
2) The first level or highest level of heading is <H1>.
3) The last level or lowest level of heading is <H6>.
4) The text enclosed between <H1> and </H1> is displayed in larger (big) font
5) The text enclosed between <H2> and </H2> is displayed in smaller font compare than <H1>.
6) The text enclosed between <H3> and </H3> is displayed in smaller font compare than <H2>.
7) The text enclosed between <H4> and </H4> is displayed in smaller font compare than <H3>.
8) The text enclosed between <H5> and </H5> is displayed in smaller font compare than <H4>.
9) The text enclosed between <H6> and </H6> is displayed in smaller font compare than <H5>.
10) The tag form <H1> to <H6> and <H6> to <H1> displayed information in ascending and descending
order.
a) Explain Heading Tag and why <H1> is called as highest and <H6> is lowest level of heading tag 2M
Information Technology 6
Web-Publication
ATTRIBUTE OF HEADING TAG
Align :The align attribute of heading tag set the alignment for entire text which is written between <H1>
and </H1>.
There are three value Left, Right and Center and default value of align attribute is LEFT.
Ex : <H1 align= “left”> Computer </H1>
If value of align attribute is “left” then information displayed from left corner of the web browser.
Ex : <H1 align= “center”> Computer </H1>
If value of align attribute is “center” then information displayed in the center of the web browser.
Ex : <H1 align= “right”> Computer </H1>
If value of align attribute is “right” then information displayed from right corner of the web browser.
Information Technology 7
Web-Publication
Size : The size attribute of <HR> tag set the vertical width (broadness) of horizontal line. If value of
SIZE attribute assign with % sign then set the value in percentage as per as whole web browser
screen.
Ex : <hr size= “20”>
Noshade : Display line with normal form without shading.
Width : The width attribute of <Hr> tag set the length of horizontal line by horizontal direction.
Ex : <hr width= “30”> OR <hr width= “30%”>
Align :The align attribute set the alignment for horizontal line.
There are three value of align attribute Left, Right and Center and default value of align attribute
is CENTER.
If the value of align attribute is “Left” then the horizontal line displayed from left corner
of web browser.
If the value of align attribute is “Right” then the horizontal line displayed from right
corner of web browser.
If the value of align attribute is “Center” then the horizontal line displayed in center of web
browser.
a) Write a note on Noshade, color, size, and width attribute of <HR> tag 2M
b) Explain <HR> tag with its attribute 2M
Information Technology 8
Web-Publication
<A> (Anchor ) Tag :
1) It is paired tag 2) It called as anchor tag. 3) It is used to create link with text or
image. It creates the link between one page to another page, and one page to many page. First page
is Home page. next is middle page, Last page is interlink with each other. There are two type of
link external link and Internal link. External link indicate the link between different page and
internal link indicated link on the same web page. 4) The any text enclosed within <A> and <A>
tag is a link or clickable message. This link is pointer to another document.
ATTRIBUTE OF <A> TAG
HREF : The HREF attribute of <A> tag.
It Search the specified html file from absolute or relative location. OR It specifies the targeted
URL.
Ex : <A HREF= “exam.html”> Exam Information </A>
Output : Exam Information
The above code search exam.html file or document from entire location and displayed in your web
browser when your mouse pointer click on (Exam Information) Hyperlink.
TARGET : The target attribute of <A> tag specifies the targeted window or frame. There are some magic
value of target attribute.
If target= “_self” then open linked in the same window
If target= “_blank” then open linked in the new window
If target= “_parent” then open linked in the parent window
If target= “_top” then open linked in the full body window
If target= “name of frame” then open linked in the specified frame or window
Link on the same page :
The NAME attribute is used with the <a> tag to create link within the same page. The value of the NAME
attribute is any character string, enclosed in quotation mark. The string must be a unique label, not reused in
any other NAME attribute in the same document. This link jump from topic to topic for reading information
linearly.
Ex : <a name= “ab”> Click Here </a>
<a href= “#ab”> Jump </a>
a) Explain external and Internal Hyperlink. How link is created on the same page 2M
Various type of URL’s used to links :
URL : Every file, document and resources on the web, or on the internet, has a unique address known as its
Uniform Resource Locator (URL).
FTP URL : The File Transfer Protocol (FTP) is used to deliver text or binary files over the internet.
Syntax : ftp :// hostname [:port]/[path]/[filename]
Gopher URL : It is protocol lets you connect to a gopher site and transfer several different types of files.
Syntax : gopher :// hostname [:port]/[gopherype]/[selecter]
News URL : It is used to news group
Syntax : news : newsgroup
Telnet URL : The telnet protocol is a communication facility that lets you log into other computer.
Syntax: telnet : site name
Mailto URL : The mailto URL causes an electronic mail message to be transmitted to a named recipient,
any valid emails address. IT has the format.
a) How many type of image and which is the most popular image 2M
b) Explain <IMG> tag with its attribute 4M
Marquee <Tag> :
1) It is paired tag
2) It is used to display animated information in a document.
3) The entire text between <marquee> and </marquee> will be scroll from right to left direction in
web browser window.
4) Default direction of text is right to left.
ATTRIBUTE OF <MARQUEE> TAG :
Direction: Direction attribute set the scrolling direction of entire text.
There are two value left and right and default is left .
If value is Left then entire text scroll from right to left direction.
If value is Right then entire text scroll from left to right direction
Ex : <marquee direction=right> Technology </marquee>
Bgcolor : The bgcolor attribute of <marquee> Tag change the background color of marquee area.
Ex : <marquee bgcolor=“red” / “#FF00FF”>Technology </marquee>
Height : It determine the size of the marquee area by horizontally.
Ex : <marquee height= “50”> Technology </marquee>
Width : It determine the size of the marquee area by Vertically
Ex : <marquee width= “50”> Technology </marquee>
Loop : It controls the appearance of marquee text means how many times
scroll entire text.
Ex : <marquee loop= ‘2’> Technology </marquee>
Ex : <marquee loop= ‘Infinite’> Technology </marquee>
The above example indicate that the entire text between <marquee> and </marquee>tag scroll in infinite
loop.
Scrollamount : It display the blinking text and increase the speed of moving information.
Ex : <marquee scrollamount= “50”> Technology </marquee>
Scrolldelay : Decrease the speed of moving information.
Ex : <marquee scrolldelay= “50”> Technology </marquee>
Behavior :There are three type of behavior. Such as Alternate, Slide, Scroll.
Alternate attribute scroll text from right to left and left to right.
Slide attribute scroll text from right corner of web browser and stop at the left corner of web
browser.
Scroll attribute give the same effect as <marquee> tag.
Ex : <marquee behavior= “alternate”> Computer </marquee>
Ex : <marquee behavior= “slide”> Computer </marquee>
Ex : <marquee behavior= “scroll”> Computer </marquee>
a) Write a note on Scrollamount, Scrolldelay, Direction, and Bahavior attribute of <Marquee> tag 4M
b) Explain <Marquee> tag with its attribute 4M
Information Technology 11
Web-Publication
PRACTISE PROGRAM FOR <MARQUEE> TAG WITH ATTRIBUTE
<html>
<body>
<marquee bgcolor=red height=50 width=100 scrollamount=200> computer </marquee>
<marquee direction=left loop=4 behavior=slide > computer </marquee>
<marquee behavior=alternate scrolldelay=150> computer </marquee> </body> </html>
<TABLE> TAG :
1) It is paired tag
2) In HTML table can be created by using <TABLE> start tag and </TABLE> end tag.
3) Table tag create the table structure in tabular format or Columns and rows format.
4) Each and every cell of table represents some data. The <Tr>, <Th>, <Td> tag also written with
<table> and </table> tag.
ATTRIBUTE OF <TABLE> TAG :
Cellspacing : Cellspacing attribute of table tag will create the space between border and cell border of table.
Ex : <table cellspacing= “50”>
Cellpadding : Cellpadding attribute of table tag will create the space between each individuals cell and its
entire content.
Ex : <table cellpadding= “50”>
Border : The border attribute of table create the border around the table.
The value (0) is default value of border attribute means no border display with the table.
Ex : <table border= “3”>
Bgcolor : It change the background color of table. User can use color name directly otherwise user
can use color value (hexadecimal value) with bgcolor attribute of table tag.
Ex : <table bgcolor= “red” or bgcolor= “#FF00FF”>
Align :The align attribute of table tag adjust the alignment of table in web browser. There are three type
Left, Right, Center. The left, right, attribute display table left right center of web browser
Ex : <table align= “left/right/center”>
Width:The width attribute of table tag increase the width by horizontal direction and width value assign
with percentage sign or without percentage sign.
Ex : <table width= “40%”> OR <table width= “40”>
Height :The height attribute of table tag increase the height by vertical direction and height value assign
with percentage sign or without percentage sign. The Width of table can be specified as fallows.
Ex : <table height= “40%”> OR <table height= “40”>
Bordercolor : It change the color of table border. You can use color name directly otherwise user can use
color value (hexadecimal value) with bordercolor attribute of table tag.
Ex : <table bordercolor=“red” or bordercolor= “#FF00FF”>
<TR> Tag :
1) It is paired tag
2) <TR> tag is used to create table row in a table and it contain table heading and table data.
ATTRIBUTE OF <TR> TAG :
Bgcolor : It change the background color of table row. User can use color name directly otherwise
color value (hexadecimal value) with bgcolor attribute of table tag.
Information Technology 12
Web-Publication
Align :The align attribute of <TR> tag set the alignment for entire data of table row.
There are three value Left, Right, Center.
The left, right, center value set the individual table row data to left, right, and center.
Ex : <tr align= “left”>
Ex : <tr align= “center”>
Ex : <tr align= “right”>
Bordercolor : It change the border color of table row.
Ex : <tr bordercolor= “red” or bordercolor= “#FF00FF”>
Valign : Set the vertical alignment of table row data to Top, Center, Bottom.
<TD> OR <TH>Tag :
1) It is paired tag
2) <TD> tag is a table date tag.
3) It create a individual cell in table row with simple text.
4) <TH> tag is a table heading tag. It create a individual cell in table row with bold text.
Align :The align attribute of <Td> tag set the alignment for entire data of individual cell of table row
There are three value Left, Right, Center.
Ex : <td align= “left”> ABC </td> OR <th align= “left”> ABC </th>
The above code display the content of individual cell of table row in left corner of individual table cell.
Ex : <td align= “center”> ABC </td> OR <th align= “center”> ABC </th>
The above code display the content of individual cell of table row in left corner of individual table cell.
Ex : <td align= “right”> ABC </td> OR <th align= “right”> ABC </th>
The above code display the content of individual cell of table row in left corner of individual table cell.
Colspan : The Colspan attribute is used to merge one cell with another cell by horizontal direction.
Ex : <td colspan= “2”> ABC </td> OR <th colspan= “2”> ABC </th>
Rowspan : The Rowspan attribute is used to merge one cells with another cell by vertical direction.
Ex : <td rowspan= “2”> ABC </Td> OR <th rowspan= “2”> ABC </th>
<Caption> Tag :
1) It is paired tag
2) The <Caption> tag is used to create caption (heading) on top of or below the table.
ATTRIBUTE OF <CAPTION>TAG :
Align :Set the alignment of caption to the table. There are two value Top and Bottom display heading only
top or bottom of the table
Ex : <caption align= “top” or “bottom”>
<Noframe> Tag : The Internet explorer and netscape are able to display the frames. But some others
browsers still do not support them. The alternative text will be creates by <noframes> tag
<frameset rows=40%,*>
<frame src=table.html>
<frame src=sm.html> </frameset>
<noframe>
<body> sadadas dasdas dasds </body>
</noframe>
If The browser is unable to display the frame then text between <body> ….</body> tag will be displayed.
Information Technology 17
Web-Publication
Diagram :
HTTP CGI
CGI
Web Web Program
Browser Server
Disk Files
Document
s in File
System Data
Base
<Form> Tag :
1) It is paired tag
2) It is the collection of form element or controls.
3) The <form> tag support to collect the information from user and process user input.
4) It is used to create web based form on the web page with form element, such as text box, drop down
list boxes etc and submit the information on the sever.
5) The Name attribute of <form> tag represent the name of form. The <form> tag indicate the
beginning of the form and </form> tag indicate the ending of form.
6) The form can be classified into three part : Form header, Text box, Action button.
<Input> Tag :
1) It is singular tag
2) The <Input> tag create the form element such as text box, radio and checkbox and command button
etc.
ATTRIBUTE OF <INPUT>TAG :
Name : Attribute gives name to the form element.
Value : Attribute initialize the default value to the any form element.
Type : Attribute specifies or indicate the type of form element such as text box, radio button, check box.
Syntax : <input type= ‘form element name’ name= ‘string’ value= ‘string’>
Ex : <input type = “text” name “text1” value= “computer”>
The above code indicate that the form element is a text box and name is text1 and default value of this text
box is computer.
Output : - Computer
Creation of Text box :- It is a single line text entry box and it will accept the input from user and range of
character is 255.
Properties :
Name : Gives name to the text box.
Value : Assign the default value to the text box.
Size : Set the width of text box.
Maxlength : Set the length of string within a text field.
Ex : - <input type = “text” name = ‘txt1’ value=’Computer’ size= ‘20’ maxlength=’10’>
The above code create the single line text entry box name is txt1 represent by Name attribute and default
value is Computer represent by value attribute.. The width of text box is 20 % long because Size attribute
Information Technology 18
Web-Publication
set the width of text box. And the above text box accept only 10 character long because maxlength attribute
set the length of inputed character in the text box.
Output : Computer
Creation of Password field : - It is masked type of entry. The value type in text box will be display in the
form of astrisks.
Properties : -
Name : - Gives name to the password field text box.
Value : - Assign the default value to the password field text box.
Size : - Set the width of password field text box.
Maxlength : - Set the length of string within a password field text field.
Ex : - <input type = “password” name = ‘txt1’ value= ‘Infotech’>
The above code create the password entry box name is txt1 represent by Name attribute and default value
is infotech represent by value attribute.
Output : - ********
Creation of Radio button : - A radio button is a set of button or group of button , you can select only one
item form the group. Create the group of radio button by same name in each <Input> tag of radio button.
Properties : -
Name : - Gives name to the radio button.
Value : - Assign the default value to the radio button.
Checked : - Check current status of radio button when click on radio button.
Defaultchecked :- Check default status of radio button when click on radio button.
Ex : - Male <input type = “radio” name = “t1” checked>
Female <input type = “radio” name = “t1”>
The above all radio buttons that have same name represent by Name attribute belongs to the same set of
buttons and different default value represent by value attribute. The first one is checked by default. If you
check second radio button the first radio button is unchecked.
Output : - Male . Female
Creation of Check box : - It is a set of checkboxes. You can check zero, one or more Checkbox value at a
time. Checked box value is different from each other. It has no group with each other. It is separate for each
other.
Properties : -
Name : - Gives name to the check box.
Value : - Assign the default value to the check box.
Checked : - Check current status of check box when click on check box.
Defaultchecked :- Check default status of radio button when click on radio button.
Ex : - <input type = “checkbox” name “t1” value = “Music” checked >
<input type = “checkbox” name “t2” value = “Drama” checked>
<input type = “checkbox” name “t3” value = “Dance” checked>
The above all statement create the different check box and above all statement have different name represent
by Name attribute and different default value represent by value attribute.
Output : - Music Drama Dance
Information Technology 19
Web-Publication
Creation of Multiple line Text Entry box: - The <Textarea> tag create the multiple line text entry box.
There are two attribute Cols and Rows. The Cols attribute indicate the horizontal length of text entry box
( horizontal region) and Rows attribute indicate that the vertical length of text entry box ( Vertical region) .
Ex : - <textarea cols= “50” rows = “40”>
Output : -
The above code divide the teat area into 50 columns (Horizontally) and 40 rows (Vertically)
Creation Selection List (Drop Down List) : - <Select> tag create option list or drop down menu. Or
selection list.
The Name attribute of <Select> tag assign a name to the list and MULTIPLE attribute display list
with multiple item at a one glance and DISABLED attribute denies access to the selection list.
<Option> tag add the option (item) in selection list. The <option> tag create multiple list or single
list of item. The Name attribute of <option> Tag assign a name to the particular item within a selection
list and SELECTED attribute indicate default selection within selection list Properties : -
Name : - Gives the name to the selection list and item within selection list.
Ex : - <select name= “abc” multiple>
<option name= “a”> maharashtra</option>
<option name= “b” selected> MP</option>
<option name= “c”> Up</option>
<select>
Output : - MP
Maharashtra
Mp
Up
Creation of Command Button : - There are two type of button Submit and reset. The submit button
submit the form content and Reset button clear the form content.
Properties : -
Name : - Gives name to the command button.
Value : - Assign default value to the command button and display on command button.
Ex : - <input type = “button” name = “but1” value= “Submit”>
<input type = “submit” name = “but2”>
<input type = “reset” name = “but3”>
Information Technology 20
Web-Publication
PRACTISE PROGRAM FOR <FORM>, <INPUT>, <TEXTAREA>,
<SELECT> TAG WITH ATTRIBUTE
<html>
<form name = p1>
User Name : <input type = text name=p1 value=xyz><br>
Password : <input type = password name=p2><br>
Gender : <input type=radio name=a checked> male
<input type=radio name=a> female
Address : <textarea cols=30 rows=40> </textarea><br>
City : <select multiple>
<option> Pune </option>
<option selected> Delhi </option>
<option> Madras </option>
</select>
Activity : <input type=checkbox name=a> sport
<input type=checkbox name=b> music
<input type=button value=submit> sport
</html> </body>
<Embed> Tag :
1) It is singular tag
2) <embed> tag is used to add audio as well as video file in the web page.
3) It is used to add embedded control (object) in the web browser window.
Several attribute support to <Embed> tag for adding the sound file in web page is as fallows.
ATTRIBUTE OF <EMBED>TAG :
Src : Attribute search the sound file from absolute or relative location.
Autostart : Attribute set volume of sound, music, or voice file to begin playing automatically when
page is loaded. There are two value TRUE and FALSE and default value is FALSE.
If autostart=true then audio or video file start automatically when page is loaded.
If autostart=false then audio or video file not start automatically when page is loaded.
Loop : Indicates how many time sound file play back.
Starttime : Indicate starting time of sound file.
Endtime : Indicate ending time of sound file.
Volume : Attribute sets volume for sound that is playing.
Width : Attribute display the width of the embedded control.
Height : Attribute display the height of the embedded control.
Hidden : Attribute set the appearance of embedded control. There are two value TRUE and FALSE
and default value is FALSE.
If hidden=true then embedded control displayed in Invisible form when page is loaded.
If hidden=false then embedded control displayed in visible form when page is loaded.
Control : The default value is CONSOLE.
If Controls = [Console | Small Console | Play Button | Pause Button | Stop Button]
Syntax : <Embed Src=[URL] Autostart= [True | False] Loop = [Integer value] Starttime =
[Minutes : Second ] Endtime = [Minutes : Second] Volume = [0-100] Width = [Pixels] Height = [Pixels]
Controls = [Console | Small Console | Play Button | Pause Button | Stop Button] Hidden = [True | False] >
Information Technology 21
Web-Publication
a) Explain <embed> tag with its attribute 4M
b) Write a note on autostart, startime, endtime, control attribute of <embed> tag 4M
Java Applet :
1) Applet is a java program that is typically executed on the client side in a web browser.
2) Web browser Netscape and internet Explore is mini java interpreter build inside them.
3) When a browser access an HTML page that contain a reference to an applet, it load the class file
containing the applet and execute code in it.
<Applet> tag :
1)
It is paired tag
2)
<applet> tag is used to add embedded applet or java class file in the web browser window.
3)
It load the .class file containing the applet and execute code in it.
4)
The applet tag has some required attribute CODE, CODEBASE, WIDTH, HEIGHT, HSPACE,
VSPACE, NAME, ALT.
The Code attribute specifies to the name of java class file.
Codebase attribute specifies URL of already existed javaapplet (.class) file.
Height attribute specifies height of the applet window in pixels.
Width attribute specifies the width of the applet window in pixels.
Hspace sets blank spaces at the left and rigth inside embedded applet.
Vspace sets blank spaces at the above and below inside embedded applet.
Name specifies a name for this instance of applet.
Alt attribute of <applet> tag display the textual description of embedded applet..
Syntax of <Applet> Tag :
<APPLET CODE= “Class file name” HEIGHT=x WIDTH=y ALT = “text string” HSPACE=x VSPACE=y
NAME= “name string”>
<Param> Tag :
1) It is singular tag
2) This tag pass the parameter to the <applet> tag.
3) There are two attribute of param tag NAME and VALUE.
Name attribute specifies parameter name
Value attribute specifies parameter value.
Syntax of <Param> Tag : <param name= “name string” value= “Parameter”>
Ex : - <applet code= ‘t1.class’ width= ‘100’ height= ‘200’>
<param name = count value = ‘2’>
<param name = msgl value = ‘Example of java applet’>
<param name = speed value = ‘10’>
<param name = bgcolor value = ‘60,0,300’>
<param name = txtcolor value = ‘280,200,10’>
The <applet> tag tells browser name and location of java code ( class file “t1.class”). Count specifies
number of messages that applet can handle, mago and msgl contains messages. Parameter speed specifies
scrolling speed. Parameter txtcolor, bgcolor specifies color of messages.
ATTRIBUTE OF <META>TAG :
URL : Search audio or video file from absolute or relative location
Name : It specifies the property name
Content : It specifies the property value.
Syntax : <Meta Name= “name string” content = “integer value” URL = “. Mid file”>
<Bgsound> Tag :
1) It is singular tag
2) The <Bgsound> tag add background sound in HTML document.
SRC attribute of <Bgsound> tag search only audio file from absolute or relative location.
LOOP attribute indicated number of times audio file play back.
Syntax : <Bgsound Src= “Audio file name”>
Information Technology 23
Web-Publication
Logical Style Tag
a) <DFN> Tag : It is used to define a word
Ex : <DFN> HTML IS NOT PROGRAMING LANGUAGE</DFN>
b) <CODE> Tag : It is used to display samples.
Ex : <Code> Private Sub Form_Load() </Cpde>
c) <VAR> Tag : Display value in italic and underline and it indicate name of variable.
Ex : <Var> Name </Var>
d) <CITE> Tag : It is used for displaying a Quote in your web page.
Ex : <Cite> Quotation </Cite>
e) <KBD> Tag : it is used when user is asked to typed in a word or letter.
Ex : <Kbd> Your name </Kbd>
f) <SAMP> Tag : It is used to display computer output or status message.
Ex : <Samp> <Abort, Retry, Fail>? </Samp>
Relative Path Name (Host Name) : If you want to move your site, you may have to check links and make
sure that they work. You have access information by host name
Such as http://njjcs.com
Files and Directories : Files and directories on a computer are for storing information in an organized
manner. A computer file system has a hierarchical structure with individual file stored in directories. A
directory may contain other directories.
When we are transfer own web page to web server then maintain the some file properties is as fallows .
1) Filename restriction : - It is safer to keep short names comprising of only letters and number.
2) Upper/Lower case problem : - You should be careful about upper/lower case letters of your file name.
Information Technology 24
Web-Publication
3) Transferring mode of files : - When you transfer files with FTP, you will be provided with options like
binary or text mode transfer. Remember always to transfer your HTML files, images or other media in
binary format. Even text file can be transferred in binary mode.
Uploading Files : There are two type for uploading your page – through FTP or an HTML editor.
Uploading through FTP : To transfer multiple file at once, open your FTP client with user name and
password. Click the connect button then web server identifies your User Id and password. The file you
created and uploaded through a web browser will be seen there. To Upload additional file , Simply click the
upload button.
Uploading through an HTML Editor : Another option for uploading web site is to use the functionality
built into the HTML editor.
Information Technology 25
Web-Publication
CSS (Cascading style sheet)
1) CSS is generally used for styling of a web page
2) CSS gives the developer more control over the page styling or layout of the document
3) Style sheet can be internal or external file and external file reference used in document through HREF
attribute of <LINK> tag.
<HTML><HEAD>
<LINK rel="Stylesheet" type="text/css" href="basic.css">
</HEAD>
<BODY>
<H2>this is a paragraph giving an explanation about CSS</H2>
</BODY>
</HTML>
4) The external style file is a text file and is saved with extension .css
5) The style can be defined using a <style>.. </style> tag. This tag can be used in HEAD as well as BODY
section of html document.
<HEAD>
<STYLE> H2{
font-family : Comic Sans MS;font-style:italic;background-color:pink;color:red
}
I {font-size:20;color:red;background-color:blue}
</STYLE>
</HEAD>
<BODY>
<H2>Cascading Style Sheet</H2>
<I>This is a paragraph giving an explanation about CSS</I>
</BODY>
Information Technology 26
Web-Publication
4. A CSS rule such as #al 1 {font-size :x-large: f may be applied in HTML through the ID attribute:
<P ID=al l>Welcome</P>
5. Each ID attribute must have a unique value over the document.
6. If scripting is included in web page then id is used to identify each element.
Relative Positioning
1. In relative positioning the element is positioned relative to its usual position on the page.
2. In absolute positioning, the left, right, top, and bottom properties are used to specify the position.
3. However, these properties work in a different way with relative positioning.
4. Absolute positioning allows us to position elements wherever we want on page.
Information Technology 27
Web-Publication
3D layers, Letter-spacing, Text-align, and Text-decoration.
3D layers
1. Layers are a part of HTML that is placed on top of regular page with precision.
2. The layer is created by assigning the position attribute to the style.
3. The position can be either absolute or relative.
4. The position itself is defined with the top and left properties-
5. Finally top layer is defined with the z-index attribute. For example, <htmlxbody>
<div style="position relative; font-size:40px;z-index:2;">Layer 1 </div> <div style= "position: relative
;top:-40;left:5font-size:05px;z-index; 1 ;">Layer 2</div> </body></html>
Letter-Spacing
1. The letter-spacing property defines an amount of space between characters.
2. The value must be in the length format; negative values are permitted.
3. A setting of 0 will prevent justification.
4. The possible values are normal and length. For example
<divstyle="font-size:30px;letter-spacing:30px">LetterSpacing</div>
Text-Align
1. The text-align property aligns the text in an element.
2. The possible values are left, right, center, and justify- For example,
<div style="font-size:30px;text-align:center">Center Alignment</div>
Text-Decoration
The text-decoration property sets effect to the text such as blink, line-through, overline or underline
decorations. For example,
<div style="font-size:30px;text-decoration:blink">TextDecoration</div>
a) Explain the term 3D layer, letter spacing, text align, text decoration 4M
2. .ra (Real Audio) : Real Audio is audio compression and streaming technology that is frequently used on
the internet.
3. .mp3 (Media Picture Experts Group Layer3) : Like Real Audio mp3 is audio compression and
streaming technology that is frequently used on the internet. To use mp3 we must install player such as
WinAMP or the Real Audio Plugin.
4. .midi files (Musical Instrument Digital Interface) : To add music to the site, use midi files (.mid). Midi
files are much smaller than wav files and, if the user has good sound card, the quality can be much better.
Information Technology 28
Web-Publication
Video Formats :
1. .swf files (Shock Wave Flash): These are the file types created by Macromedia's flash program, swf files
are the most compact and widely used among the internet.
2. .wmv files (Windows Media Video): These are Microsoft's Window's Media Video file type.
3. .mov file (Movie) : These are Apple's Quick time Movie Format.
4. .mpeg files (Moving Picture Experts Group): This is the most commonly used formats for the internet.
This is the standard for compression movie files created by the Moving Picture Experts group.
a) Explain Audio and Video file format 4M
Inline style
1. Style may be inlined using the STYLE attribute.
2. The STYLE attribute may be applied to any BODY element.
3. The attribute takes as its value any number of CSS declaration, where each declaration is separated by
a semicolon.
4. For example, <p STYLE="color: red; font-family:Arial">This paragraph is styled in red with the Arial
font</p>
Font Embedding
1. Web pages are created using the fonts available on the end user's machine and thus avoid the use of
any font other than the most common ones. This problem can be solved by embedding fonts into the
web pages.
2. When a page is downloaded over the net, any embedded fonts, are also downloaded without any
conscious intervention by the user.
3. Font embedding is a feature of Microsoft applications such as Word and PowerPoint.
4. It allows the fonts used in the creation of a document.
5. Font embedding technology is built into Microsoft Internet Explorer bringing embedded fonts to the
web.
Microsoft WEFT
1. The Web Embedding Fonts Tool “WEFT”, allows the web authors to create 'font objects' that are
linked to their web pages
2. When an Internet Explorer user views the pages they'll see them displayed in the font style contained
within the font object.
Information Technology 29
Web-Publication
OBJECTIVES
FILL IN THE BLANK
1. The default text alignment of a paragraph in HTML document is ……..
________________________________________ || _____________________________________
2. In Html color value indicated by hexadecimal number is prefixed by …. mark .
________________________________________ || _____________________________________
3. To access HTML documents, we run program called ……… (March 2006, 2008, 2009)
________________________________________ || _____________________________________
4. ………… first conceived hypertext in 1965. (March 2008, 2009)
________________________________________ || _____________________________________
5. ……… is ordinary text that has been dressed up with extra formatting features.
________________________________________ || _____________________________________
6. In table. Row is created by ……….. tag. (March 2006, 2009)
________________________________________ || _____________________________________
7. A tag is said to be …….. tag if it is , along with companion tag,
________________________________________ || _____________________________________
8. To add border ……… attribute is used in <table> lag. (March 2004, 2005, 2008)
________________________________________ || _____________________________________
9. The ….… tag is used to display JAVA Applets in HTML document. (March 2008, 2009)
________________________________________ || _____________________________________
10. A ……. is single unit of mark up.
________________________________________ || _____________________________________
11. ………..code is used to insert " special character in HTML.
________________________________________ || _____________________________________
12. ………. tag ignored by the browsers, which is not support the inline frames.
________________________________________ || _____________________________________
13. The ……… are instructions that are directly written into the text of the document.
________________________________________ || _____________________________________
14. The ………… tag is used to create a web based form.
________________________________________ || _____________________________________
15. …………. code used to give blank space.
________________________________________ || _____________________________________
16. ……….. attribute in HTML anchor tag specifies the URL of targeted hyperlink.
________________________________________ || _____________________________________
17. ……………. is the markup language used to create World Wide Web (www) documents.
________________________________________ || _____________________________________
18. …………… keyword that affects the tag behavior.
________________________________________ || _____________________________________
19. The .………….. tag is used for browsers, which do not support frames.
________________________________________ || _____________________________________
20. The acronym for Hyper Text Markup Language is ………… (March 2005, 2006)
________________________________________ || _____________________________________
21. …………. developed & defined the HTML language.
________________________________________ || _____________________________________
22. ……….. attribute specifies how many rows a cell should take up.
________________________________________ || _____________________________________
Information Technology 30
Web-Publication
23. …….. tells the browser how to display the content (information) of document.
________________________________________ || _____________________________________
24. ………. is process of converting ordinary text into to a hypertext.
________________________________________ || _____________________________________
25. ………. is the document layout & hyperlink specification language.
________________________________________ || _____________________________________
26. Paired tag is also known as ……….. tag. (March 2006, 2005, 2008)
________________________________________ || _____________________________________
27. MIDI stands for ……………………… (March 2008, 2009)
________________________________________ || _____________________________________
28. ………. company that provides is access to the Internet.
________________________________________ || _____________________________________
29. ……….. attribute allows user to open document in the specified window.
________________________________________ || _____________________________________
30. ………… allows web authors to create web font-object.
________________________________________ || _____________________________________
31. The ………..tag is used to pass parameters to an applet. (March 2006, 2007, 2008, 2009)
________________________________________ || _____________________________________
32. ………. tag is used to invoke multimedia items.
________________________________________ || _____________________________________
33. ………… attribute changes the default color of the document hyperlink
________________________________________ || _____________________________________
34. The …….. help to interact the user with the server.
________________________________________ || _____________________________________
35. ……… is the collection of interrelated Web Pages. (March 2009)
________________________________________ || _____________________________________
36. ………. generate © symbol in HTML. (March 2006)
________________________________________ || _____________________________________
37. ………. image contains some regions that are act as links to other document
________________________________________ || _____________________________________
38. …………. image map becomes independent of browser or server. (March 2003)
________________________________________ || _____________________________________
39. Stand alone (singular) tags does not have …………. tags at the ending.
________________________________________ || _____________________________________
40. ………. is window through which we can view HTML documents.
________________________________________ || _____________________________________
41. ………. tag includes video and audio format in web page. (March 2006, 2005, 2008)
________________________________________ || _____________________________________
42. HTML code (program) is written using special delimiters is known as ……………...
________________________________________ || _____________________________________
43. ………..tag is used to format the size. typeface, and color of the enclosed text. (March 2008, 2009)
________________________________________ || _____________________________________
44. User can create and edit True Type font file with the help of …………... (March 2006, 2007)
________________________________________ || _____________________________________
45. ………. tag is used to create bulleted list. (March 2004, 2005, 2006)
________________________________________ || _____________________________________
Information Technology 31
Web-Publication
46. HTTP stands for ………………… . (March 2004, 2005, OCT 2007)
________________________________________ || _____________________________________
47. ……… attribute of <A> tag is used to link within a same web page.
________________________________________ || _____________________________________
48. The default value of autostart attribute in <embed> tag is …….. (March 2008, 2009)
________________________________________ || _____________________________________
49. IIS stands for ……………………. . (March 2004, 2006, 2007, 2009)
________________________________________ || _____________________________________
50. True type fonts can be embedded on the web page with the help of………..tag. (March 2008)
________________________________________ || _____________________________________
51. ………. is the extension of css file.
________________________________________ || _____________________________________
52. Target =………….will open linked file in full page,
________________________________________ || _____________________________________
53. Imagemap files are saved using the extension ………... (March 2004)
________________________________________ || _____________________________________
54. In <frameset rows= "n"> , represent unit of n is ……..
________________________________________ || _____________________________________
55. The symbols used with tags are known as ………. brackets.
________________________________________ || _____________________________________
56. The maximum value of size attribute in ………….. tag is 7.
________________________________________ || _____________________________________
57. An image map has active geometric regions to which the links are assigned is called as …………
________________________________________ || _____________________________________
58. ………… are does not allow data validation.
________________________________________ || _____________________________________
59. The ………. attribute is used when a style only needs to be applied once in any document.
________________________________________ || _____________________________________
60. Style may be inlined using the …………. attribute. (March 2008)
________________________________________ || _____________________________________
61. Using …… attribute in ordered list, you can order the numbering options of the list.(March 2004)
________________________________________ || _____________________________________
62. The ………. tag is used to subscript the text. (March 2004, 2005, 2006)
________________________________________ || _____________________________________
63. …………. allow style information to be specified in many ways. (March 2008)
________________________________________ || _____________________________________
64. …………. is a simple mechanism for adding style in the web page.
________________________________________ || _____________________________________
65. ……… stands for Dynamic Source. (March 2004, 2005)
________________________________________ || _____________________________________
66. In CSS. objects can be layered on top of each other by using the …………
________________________________________ || _____________________________________
67. ………. is used to display a greater than (>) sign.
________________________________________ || _____________________________________
68. Inline frame is also known as ……….. frame in HTML.
________________________________________ || _____________________________________
Information Technology 32
Web-Publication
69. ………. is last level of heading. (March 2007, 2008, 2009)
________________________________________ || _____________________________________
70. The ……….. style sheet should be used when a single document has a unique style.
________________________________________ || _____________________________________
71. The …………..attribute is used to specify the style class to which the element belongs,
________________________________________ || _____________________________________
72. The layers can be created by assigning the …….. attribute to the style. (March 2009)
________________________________________ || _____________________________________
73. <LINK> tag is placed in the HTML document ……….. . (March 2008, 2009)
________________________________________ || _____________________________________
74. ………. tag positions text on equal distance between the left and right from the document.
________________________________________ || _____________________________________
75. …….attribute in <HR> tag give the color to the horizontal line.
________________________________________ || _____________________________________
76. In css file to change the font calligraphy …….. command syntax is used. (March 2009)
________________________________________ || _____________________________________
77. The links created in HTML are called as ………...
________________________________________ || _____________________________________
78. .……… tag is used to scroll the current news or position of different companies in stock market.
________________________________________ || _____________________________________
79. ……… attribute is preceded by # (hash) sign.
________________________________________ || _____________________________________
80. ………. selectors consist of several simple selectors separated by white space. (oct 2008)
________________________________________ || _____________________________________
81. …… tag is a common supporting tag used in <ol> and <ul>. (March 2004, 2005, 2008)
________________________________________ || _____________________________________
82. HTML provides …….. levels of headings. (March 2007, 2008, 2009)
________________________________________ || _____________________________________
83. ……. is largest level of heading. (March 2008, 2009)
________________________________________ || _____________________________________
84. The comments can be placed within html document by ………….tag.
________________________________________ || _____________________________________
85. The ….. tag maintains the original line breaks and spacing inserted in the text.
________________________________________ || _____________________________________
86. The ………… property in css defines an amount of space between characters,
________________________________________ || _____________________________________
87. The ……….. attribute is used to define a unique style for an element.
________________________________________ || _____________________________________
88. A Class always starts with a………in css (March 2008, 2009)
________________________________________ || _____________________________________
89. …………. tag determines what should be displayed in each divided portions or unique region.
________________________________________ || _____________________________________
90. A ……….. is an individual, independently scrolling region in the frame.
________________________________________ || _____________________________________
91. A ………. is a pointer to another document in html.
________________________________________ || _____________________________________
Information Technology 33
Web-Publication
92. Colors can be specified by color code known as ……… code.
________________________________________ || _____________________________________
93. …….. is the protocol that carries web pages between a web server and your browser. (oct. 07)
________________________________________ || _____________________________________
94. For yellow color, RGB value is ……...
________________________________________ || _____________________________________
95. The color of active links can be set by ………attribute in html. (March 2007, 2008)
________________________________________ || _____________________________________
96. The ... tag displays exactly the same format defined in the source of html document. (March 2009)
________________________________________ || _____________________________________
97. The specific areas within the image map are called as …………..
________________________________________ || _____________________________________
98. ……. is the internet standard tool for transferring files to the server.
________________________________________ || _____________________________________
99. ………… attribute of<Area> tag defines coordinates of map area.
________________________________________ || _____________________________________
100. The ……… tag is used to define client-side image map.
________________________________________ || _____________________________________
101. The visited Links color can be set by …….. attribute in html.
________________________________________ || _____________________________________
102. ……..tag specifies the geometric regions of a client-side image map and associated link map.
________________________________________ || _____________________________________
103. …….. name of server that hosts the documents.
________________________________________ || _____________________________________
104. To insert an (inline) image in html the ……… tag is used.
________________________________________ || _____________________________________
105. ………… attribute displays scrollbar to frame.
________________________________________ || _____________________________________
106. The …….. tag is used to give animation to the text in HTML.
________________________________________ || _____________________________________
107. The ………. attribute in the frame tag determine the amount of white spaces to be left from right
and left of the frame.
________________________________________ || _____________________________________
108. The ……… tag includes graphic images in the body of web page.
________________________________________ || _____________________________________
109. ………… are used to create imaginary sections of browser screen in html.
________________________________________ || _____________________________________
110. Floating or inline frames are created by using ……… tag. (March 2006, 2008, 2009)
________________________________________ || _____________________________________
111. ……. tag is used to create links (or hyperlinks). (March 2004, 2006, 2008, 2009)
________________________________________ || _____________________________________
112. Every document or resource on Web has unique address known as its ……... (March 2008, 2009)
________________________________________ || _____________________________________
113. ……… specifies the computer language used to transfer the information.
________________________________________ || _____________________________________
Information Technology 34
Web-Publication
114. The alternative of frame can be created using ……….tag.
________________________________________ || _____________________________________
115. The………… style sheet should be used when a single document has unique style.
________________________________________ || _____________________________________
116. …….. feature of HTML is used for interaction betn web browser & server.
________________________________________ || _____________________________________
117. GIF files are represented with ………. Extension in web page.
________________________________________ || _____________________________________
118. ……….. tag is used to define many form fields in web based form. (March 2006, 2008, 2009)
________________________________________ || _____________________________________
119. The amount of spaces between cell border and cell data can be created by ………. Attribute.
________________________________________ || _____________________________________
120. ……… user implement scripts before your web pages are sent to the web browser.
________________________________________ || _____________________________________
121. Checking the web pages on different browser is called ……………technique.
________________________________________ || _____________________________________
122. ……… file define common definition, which provides uniformity to the web page (March 2006)
________________________________________ || _____________________________________
123. ………… computer that accesses resources available on server.
________________________________________ || _____________________________________
124. The ………. attribute of <FORM> tag gives the URL of the application that is to receive and
process the form's data
________________________________________ || _____________________________________
125. TCP stand for …………. . (March 2004, 2006, 2008)
________________________________________ || _____________________________________
126. The ……… allow a user to enter various type of information.
________________________________________ || _____________________________________
127. ………. method. Web browser submits the form's data as a part of a URL.
________________________________________ || _____________________________________
128. A Text field can be created by using an ………. tag in the form.
________________________________________ || _____________________________________
129. The ………… method. Web browser sends the form's data separately from the URL as a stream
of bits.
________________________________________ || _____________________________________
130. The ……… attribute value retrieves the information based on query.
________________________________________ || _____________________________________
131. The ………. method hides the user information. (March 2007, 2008)
________________________________________ || _____________________________________
132. The………. attribute of <INPUT> tag can be used only with text and password element.
________________________________________ || _____________________________________
133. ………… are used for creating front ends that can contain elements on web page.
________________________________________ || _____________________________________
134. The form can be created using ………. Tag in html.
________________________________________ || _____________________________________
135. The ……. attribute specifies the MIME type of style sheet to import with the <LINK> tag.
________________________________________ || _____________________________________
Information Technology 35
Web-Publication
136. ………. tag allows including extra information (property of HTML document) about a web page
that is normally invisible to visitors.
________________________________________ || _____________________________________
137. The ………. tag is used with <OPTION> tag to give list of items.
________________________________________ || _____________________________________
138. ………. tag gives the information about a web page for search.
________________________________________ || _____________________________________
139. MPEG stands for …………….. (March 2006, 2008, 2009)
________________________________________ || _____________________________________
140. The……….. attribute identifies a name with the meta information.,
________________________________________ || _____________________________________
141. MIDI files have extension as ………. (March 2004, 2006, 2008, 2009)
________________________________________ || _____________________________________
142. ……….. Microsoft web server software for windows 98.
________________________________________ || _____________________________________
143. ……… is used for accessing and viewing any information on the World wide web (www).
________________________________________ || _____________________________________
144. Content that changes with each request is called …… content.
________________________________________ || _____________________________________
145. ……… is a software program that runs on a networked computer.
________________________________________ || _____________________________________
146. A …….. format is best suited for musical instruments.
________________________________________ || _____________________________________
147. The options in the select list are specified with the ……….tag.
________________________________________ || _____________________________________
148. Transferring (storing) the web page to the server is called ……...
________________________________________ || _____________________________________
149. The ………… tag is used to create a text input area i.e. it contains a multiple line of text.
________________________________________ || _____________________________________
150. The ………… is created to extract/read information from text files and then use that information
to prepare reports.
________________________________________ || _____________________________________
TRUE OR FALSE
1. A special type of software used for creating a web page.
________________________________________ || _____________________________________
2. An attribute is a keyword separate by space, within angle brackets.
________________________________________ || _____________________________________
3. Frame divide the web page into number of rectangular region.
________________________________________ || _____________________________________
4. IMAP stands for Internet Message Access Protocol.
________________________________________ || _____________________________________
5. PWS stands for Personal Web Server
________________________________________ || _____________________________________
6. The target attribute is used to display link in another window.
________________________________________ || _____________________________________
Information Technology 36
Web-Publication
7. CSS stands for Cascading Style Sheets.
________________________________________ || _____________________________________
8. NSAPI stands for Netscape Server Application Programming Interface.
________________________________________ || _____________________________________
9. POP stands for Post Office Protocol.
________________________________________ || _____________________________________
10. PERL stands for Practical Extraction Report Language.
________________________________________ || _____________________________________
11. PHP stands for Personal Home Page.
________________________________________ || _____________________________________
12. WSAPI stands for Website Server Application Programming Interface.
________________________________________ || _____________________________________
13. SSI stands for Server Side Include.
________________________________________ || _____________________________________
14. JPEG stands for Joint Photographic Experts Group.
________________________________________ || _____________________________________
15. FAQ stands for Frequently Asked Questions.
________________________________________ || _____________________________________
16. VLINK is an attribute of <body> tag.
________________________________________ || _____________________________________
17. GIF stands for Graphic Interchange Format.
________________________________________ || _____________________________________
18. Font embedding is a feature of Microsoft application.
________________________________________ || _____________________________________
19. WWW stands for World Wide Web.
________________________________________ || _____________________________________
20. CGI stand for Common Gateway Interface.
________________________________________ || _____________________________________
21. RGB stands for Red Green Blue.
________________________________________ || _____________________________________
22. Reset button is used to clear content of form.
________________________________________ || _____________________________________
23. The FTP stands for File Transfer Protocol.
________________________________________ || _____________________________________
24. PNG stands for Portable Network Graphics.
________________________________________ || _____________________________________
25. TCP and IP stand for Transmission Control Protocol and Internet Protocol.
________________________________________ || _____________________________________
26. NIC stands for National Informatics Center.
________________________________________ || _____________________________________
27. <Image> tag is used to insert image file in to html document.
________________________________________ || _____________________________________
28. WEFT stands for Web Embedding Font Tool.
________________________________________ || _____________________________________
29. Cols attribute is used to divide web page horizontally.
________________________________________ || _____________________________________
Information Technology 37
Web-Publication
30. ‘Web publication’ is also called content management.
________________________________________ || _____________________________________
31. VLINK defines the color of active rule in <body> tag.
________________________________________ || _____________________________________
32. <TROW> tag defines a table row.
________________________________________ || _____________________________________
33. Client side image maps are an older version and are not in much use today.
________________________________________ || _____________________________________
34. Web browser is software installed in client computer.
________________________________________ || _____________________________________
35. Styles can be specified inside a single HTML element.
________________________________________ || _____________________________________
36. HTML code can be typed in Word Pad.
________________________________________ || _____________________________________
37. Multiple external style sheets can be referenced in single HTML document.
________________________________________ || _____________________________________
38. External style sheet must contain HTML tags.
________________________________________ || _____________________________________
39. Either REL or REV attribute can be included in a single <LINK> tag.
________________________________________ || _____________________________________
40. Bgcolor attribute used to change text color.
________________________________________ || _____________________________________
41. Checkboxes are used only for single selection.
________________________________________ || _____________________________________
42. Network rules are known as protocol.
________________________________________ || _____________________________________
43. The STYLE attribute may be applied to any BODY element.
________________________________________ || _____________________________________
44. Scrole attribute of frame tag is used to set scrolling to the frame.
________________________________________ || _____________________________________
45. In HTML height and width of image is specified in inches.
________________________________________ || _____________________________________
46. <DL> tag is used for linking database.
________________________________________ || _____________________________________
47. Bgcolor is attribute of <body> tag.
________________________________________ || _____________________________________
48. Internet Explorer supports dynsrc attributes in the <img> tag.
________________________________________ || _____________________________________
49. In HTML. tables can be inserted.
________________________________________ || _____________________________________
50. The thickness or width of a horizontal line in HTML document cannot be changed.
________________________________________ || _____________________________________
51. Only Internet Explorer supports <BGSOUND> tag.
________________________________________ || _____________________________________
52. All major browsers support cascading style sheet.
________________________________________ || _____________________________________
Information Technology 38
Web-Publication
53. HTML document can be saved by -him extension.
________________________________________ || _____________________________________
54. Font embedding technology is built into Microsoft Internet Explorer.
________________________________________ || _____________________________________
55. The functionality of CLASS and ID is different.
________________________________________ || _____________________________________
56. Cascading of two frames is known as inline frames.
________________________________________ || _____________________________________
57. Background attribute of <body> tag is used to change the background color of document.
________________________________________ || _____________________________________
58. USEMAP acts like a pointer to the map file and should always be used with prefix #.
________________________________________ || _____________________________________
59. The hexadecimal code for black color in HTML is #000000.
________________________________________ || _____________________________________
60. Normally in every browser the web site looks and works differently.
________________________________________ || _____________________________________
61. In HTML default font size is 3,
________________________________________ || _____________________________________
62. The character entity starts with and followed by its name and terminated with a semicolon.
________________________________________ || _____________________________________
63. Internet Explorer and Netscape Navigator have same functionality.
________________________________________ || _____________________________________
64. Multiple windows can be viewed at one frame using <frameset>
________________________________________ || _____________________________________
65. Tags cannot be nested within each other.
________________________________________ || _____________________________________
66. Text hyper link and Image hyper link are of two types of hyper links
________________________________________ || _____________________________________
67. The information is sent to the server in plain ASCII text.
________________________________________ || _____________________________________
68. JPEG images can be animated.
________________________________________ || _____________________________________
69. The thickness or width of a horizontal line in html document cannot be changed.
________________________________________ || _____________________________________
70. JPEG files are represented with .jpg extension only.
________________________________________ || _____________________________________
71. <iframe> is used to create floating frame.
________________________________________ || _____________________________________
72. SSL means Secure Socket Layer.
________________________________________ || _____________________________________
73. Long audio files cannot be created using mp3 formats.
________________________________________ || _____________________________________
74. Absolute positioning allows to position elements wherever we want on page.
________________________________________ || _____________________________________
75. All HTML lags are paired.
________________________________________ || _____________________________________
Information Technology 39
Web-Publication
76. HTML is used to create interactive web pages.
________________________________________ || _____________________________________
77. Html code is case sensitive by default.
________________________________________ || _____________________________________
78. The GET method hides the user information.
________________________________________ || _____________________________________
79. HTML tags begin with symbol < and end with >.
________________________________________ || _____________________________________
80. Using CGI we can write program in Perl.
________________________________________ || _____________________________________
81. Singular or stand-atone tag may have a companion tag.
________________________________________ || _____________________________________
82. Most addresses have www after http://.
________________________________________ || _____________________________________
83. Superscript effect can be created with the help of <S> tag.
________________________________________ || _____________________________________
84. CellSpacing specifies the space to the left between the border of cell and its contents.
________________________________________ || _____________________________________
85. We cannot add video files into web page.
________________________________________ || _____________________________________
86. Information in HTML cannot be commented.
________________________________________ || _____________________________________
87. Closing tag in html can have attributes.
________________________________________ || _____________________________________
88. Frame element defines an inline frame.
________________________________________ || _____________________________________
89. <li> tag is a used to break the line.
________________________________________ || _____________________________________
90. Web browser does not ignore white spaces in html code.
________________________________________ || _____________________________________
91. In <FONT> tag, SIZE attribute can be specified in values from 1 to 6.
________________________________________ || _____________________________________
92. Using Windows 98, we can install Personal Web Server.
________________________________________ || _____________________________________
93. <TR> tag is used to create table data.
________________________________________ || _____________________________________
94. A text field contains a multiple line of text.
________________________________________ || _____________________________________
95. All browsers available in market support all HTML tags.
________________________________________ || _____________________________________
96. All HTML tags require closing tags-
________________________________________ || _____________________________________
97. corn domain names are normally used with commercial sites.
________________________________________ || _____________________________________
98. Every form contains at least one element.
________________________________________ || _____________________________________
Information Technology 40
Web-Publication
99. Html is a system programming language.
________________________________________ || _____________________________________
100. Usemap is a valid attribute for <IMG>
________________________________________ || _____________________________________
101. The <!- and --> sequences are used to delimit the comment in all browser.
________________________________________ || _____________________________________
102. The uploading and downloading of files in html is done using the HTTP Protocol.
________________________________________ || _____________________________________
103. Text file can be transferred in binary mode.
________________________________________ || _____________________________________
104. Image maps' are graphic images that have defined hot spots.
________________________________________ || _____________________________________
105. SSL is one form of additional security.
________________________________________ || _____________________________________
106. US is very popular which comes with Windows NT.
________________________________________ || _____________________________________
107. Calculations are possible in HTML.
________________________________________ || _____________________________________
108. HTML allows user to define their own lags.
________________________________________ || _____________________________________
109. The link is clickable in a graphical browser.
________________________________________ || _____________________________________
110. An interpreter executes the Perl scripts.
________________________________________ || _____________________________________
111. <Input type="text" value="IT"> will display a text box with text "IT".
________________________________________ || _____________________________________
112. . Detecting errors is difficult in HTML document.
________________________________________ || _____________________________________
113. Document validation is possible in HTML.
________________________________________ || _____________________________________
114. Notepad is a program, which executes HTML page.
________________________________________ || _____________________________________
115. There are 16 color names in HTML.
________________________________________ || _____________________________________
116. The RGB code "#FFFFFF" gives while color in HTML.
________________________________________ || _____________________________________
117. The browser ignores any "paragraphs" created by pressing Enter key.
________________________________________ || _____________________________________
118. The browser displays HTML tags.
________________________________________ || _____________________________________
119. A Text field is a most common field on a form.
________________________________________ || _____________________________________
120. Empty tags are not necessary to close in a HTML document.
________________________________________ || _____________________________________
121. The <TITLE> tag is always placed inside the <BODY> tag.
________________________________________ || _____________________________________
Information Technology 41
Web-Publication
122. In HTML, <A> stands for Attribute link.
________________________________________ || _____________________________________
123. Information in html cannot be animated.
________________________________________ || _____________________________________
124. HTML doesn't have syntax and rules for communication.
________________________________________ || _____________________________________
125. HTML has 7 different heading sizes.
________________________________________ || _____________________________________
126. In HTML tags are specified using 1 brackets.
________________________________________ || _____________________________________
127. <body bgcolor="#aabb33" background="image.jpg"> is valid in html.
________________________________________ || _____________________________________
128. JPEG images can allow 16 million different colors in images.
________________________________________ || _____________________________________
129. HTML contains powerful formatting facilities.
________________________________________ || _____________________________________
130. Browser ignores the unknown tag.
________________________________________ || _____________________________________
131. HTML-supports .BMP and animated images.
________________________________________ || _____________________________________
132. IIS is a free Window NT server from Microsoft.
________________________________________ || _____________________________________
133. RGB code is always six numbers.
________________________________________ || _____________________________________
134. FTP is used to deliver text or binary files over the Internet.
________________________________________ || _____________________________________
135. RGB uses hexadecimal numbering system.
________________________________________ || _____________________________________
136. Perl is a scripting language.
________________________________________ || _____________________________________
137. <hr> tag displays 3 dimension bar,
________________________________________ || _____________________________________
138. In HTML, tables can be nested. \130. PHP is a language for creating interactive web sites.
________________________________________ || _____________________________________
139. Each hot spot is not a link.
________________________________________ || _____________________________________
140. The RGB code "#FF0000 " is used to apply Red color to the text in HTML.
________________________________________ || _____________________________________
141.CGI send your program output back to the web server.
________________________________________ || _____________________________________
142.Middle attribute of <IMG> tag indicates that the image appears center of the web page.
________________________________________ || _____________________________________
143.Web page can be divide in separate section by using <br> tag.
________________________________________ || _____________________________________
144.Home page is the first page and it can provides with another web page.
________________________________________ || _____________________________________
Information Technology 42
Web-Publication
145.Height attribute specifies the horizontal dimension of the image.
________________________________________ || _____________________________________
146.Pull down menu can be added in the form by using <Select> and </Select> tag.
________________________________________ || _____________________________________
147.Web site is a collection of such web page college profile, company profile etc.
________________________________________ || _____________________________________
148.Width attribute specifies the top and bottom dimension of image.
________________________________________ || _____________________________________
149.The color attribute written with color name or RGB value.
________________________________________ || _____________________________________
150.The HTML document start with <Head> tag.
________________________________________ || _____________________________________
Information Technology 44
Web-Publication
27. usemap is the attribute of____tag.
a. <area> b. <img> c. <;map> d. <body>
________________________________________ || _____________________________________
28. Which attribute is used to set background image for web page.
a. img b. bgcolor c. background d. src
________________________________________ || _____________________________________
29. With <BGSOUND> tag ____ attribute is used to repeat sound certain number of times.
a. repeat b. loop c. control d. number
________________________________________ || _____________________________________
30. ____ attribute of the <applet> tag specifies the amount of vertical spaces in pixels above and
below the applet.
a. hspace b. space c. vspace d. width
________________________________________ || _____________________________________
31. ____ tag defines active area in image map.
a. <fonn> b. <input> c. <body> d. <area>
________________________________________ || _____________________________________
32. A ____ target opens the link in a same frame as it was clicked.
a. _blank b. __self c. _parent d. _top
________________________________________ || _____________________________________
33. Marquee tag has the following attribute
a. Action b. Direction c. Position d. Size
________________________________________ || _____________________________________
34. The Microsoft web server is needed to run ASP pages on windows 2000 server.
a. PWS b. TOMCAT c. IIS d. SAMBHA
________________________________________ || _____________________________________
35. Which of the following are automated development tools
a. Notepad b. WordPad c. Visual Interdev d. Front page
________________________________________ || _____________________________________
36. ____ can be written in any programming language.
a. API b. CGI c. AVI d. URL
________________________________________ || _____________________________________
37. ___ is used to change the color of the visited link.
a. ALINK b. LINK c. VLINK d. Hyperlink
________________________________________ || _____________________________________
38. A …__ target will cause the link to always be loaded in new blank windows.
a. _btank b. _self c. _parent d. _top
________________________________________ || _____________________________________
39. ____ is valid web server for Unix.
a. US b. PWS c. Apache d. ASP
________________________________________ || _____________________________________
40. ____ lets you create documents that collect and process user input.
a. INPUT b. FRAME c. SELECT d. FORM
________________________________________ || _____________________________________
41. Shape contains three or more pair of co-ordinates in image map
a. Polygon b. Rectangle c. Circle d. Triangle
________________________________________ || _____________________________________
Information Technology 45
Web-Publication
42. Pointer will be point to this area to read image map information
a. Usemap b. Ismap c. Map d. Point
________________________________________ || _____________________________________
43. HTML color code of white is
a. #FFFF b. #FFFFFF c. #FF00FF d. #FFFF00
________________________________________ || _____________________________________
44. Internet is the example of
a. wan b. man c. can d. lan
________________________________________ || _____________________________________
45. The last value allowed in heading tag is ____
a. 7 b. 6 c. 5 d. 3
________________________________________ || _____________________________________
46. To display special characters, named entities begin with …….. symbol.
a. @ b. # c. - d. !
________________________________________ || _____________________________________
47. ____ tag is used to add audio as well as video on web page.
a. <Embed> b. <Sound> c. <Audio> d. <Add>
________________________________________ || _____________________________________
48. To horizontal line on web document ____ tag is used.
a. <hr> b. <hm> c. <hl> d. <sl>
________________________________________ || _____________________________________
49. ____ button sends the information of the form to the server for processing.
a. Submit b. Reset c. Value d. Name
________________________________________ || _____________________________________
50. The ____ indicates a server side image map.
a. Ismap b. Map c. Area d. Server
________________________________________ || _____________________________________
51. _____ first conceived hypertext in 1965
a. John Nelson b. Ted Nelson c. Microsoft d. Netscape
________________________________________ || _____________________________________
52. Anchor tag requires ____attribute, which specifies target URL.
a. HREF b. TARGET c. SRC d. URL
________________________________________ || _____________________________________
53. Computer which provides a network resources
a. Server b. Client c. Dumb terminal d. Protocol
________________________________________ || _____________________________________
54. RGB code is always in ____ digit.
a. 6 b. 8 c. 9 d. binary
________________________________________ || _____________________________________
55. Web server uses attribute of the form tag to send the form data to the web server.
a. Method b. Action c. Value d. Name
________________________________________ || _____________________________________
56. ____ is the connection or link for another web page.
a. Hyperlink b. Local link c. Backlink d. Black link
________________________________________ || _____________________________________
Information Technology 46
Web-Publication
57. ____ attribute values retrieves the information based on query.
a. Method b. Post c. Action d. Get
________________________________________ || _____________________________________
58. ____ tag is used to create input box in the form.
a. <Input> b. <Select> c. <option> d. <Box>
________________________________________ || _____________________________________
59. By using ____ you can link one image to multiple hyperlinks.
a. Hyperlinks b. Map links c. Image map d. Image link
________________________________________ || _____________________________________
60. ____ tag is used to create an inline image.
a. <Image> b. <Input> c. <Img> d. <Map>
________________________________________ || _____________________________________
61. <BR> tag is used to break ……..
a. paragraph b. line c. document d. font
________________________________________ || _____________________________________
62. _____is image which contains several hot spots.
a. Inline image b. mage map c. Internal image d. External image
________________________________________ || _____________________________________
63. Global communication network is called____
a. Internet b. Lan c. Intranet marketing d. Wan
________________________________________ || _____________________________________
64. <frameset cols= "*,* "> divides screen into
a. 60%, 40% b. 70%, 30% c. 50%, 50% d. 25%, 75%
________________________________________ || _____________________________________
65. The ____ tag encloses client side image map specification.
a. <Location> b. <Map> c. <Frame> d. <Form>
________________________________________ || _____________________________________
66. ____ is first page of the web site is called by browser
a. Web page b. Host page c. Home page d. Front page
________________________________________ || _____________________________________
67. Correct HTML tag for drop down list.
a. <input> b. <Select> c. <ol> d. <ul>
________________________________________ || _____________________________________
68. ____ element is used to embed multimedia element in web page-
a. URL b. SRC c. DYNSRC d. DYN
________________________________________ || _____________________________________
69. User can set starting value of ordered list by (Mar-2008)
a. Start b. Type c. Compact d. Value
________________________________________ || _____________________________________
70. <pre> tag is used to display ____text block
a. Preview b. Preformatted c. Provision d. Preset
________________________________________ || _____________________________________
71. ____ is used to check one element at a time. (Mar-2008)
a. radio b. checkbox c. submit d. reset
________________________________________ || _____________________________________
Information Technology 47
Web-Publication
72. Clickable area in image map called
a. Map area b. Map c. Area d. Image
________________________________________ || _____________________________________
73. A tag specifies how the screen is divided into frame is called
a. HTML b. document c. frame d. Frameset
________________________________________ || _____________________________________
74. Following symbol indicates a register symbol.
a. (rg) b. © c. ® d.ls
________________________________________ || _____________________________________
75. ____ attribute of <area> tag identifies the coordinates within an image which defines the image
map area.
a. Cords b. Coords c. No d. Coordinate
________________________________________ || _____________________________________
76. PWS is developed by
a. Netscape b. Adobe c. Corel d. Microsoft
________________________________________ || _____________________________________
77. The <marquee> tag in html has attributes
a. behavior b. bgcolor c. position d. both a & b
________________________________________ || _____________________________________
78. A web page must link to the style sheet using the____ tag.
a. <Style> b. <Link> c. <Title> d. <:Body>
________________________________________ || _____________________________________
79. Using ____ attribute you can limit the display size of the text box.
a. name b. width c. size d. resize
________________________________________ || _____________________________________
80. Internet explorer is a
a. CGI b. Web server c. Web browser d. Protocol
________________________________________ || _____________________________________
81. To make a e-mail link ____ URL is used in html.
a. mailto b. mail c. sendto d. send
________________________________________ || _____________________________________
82. The correct html heading tag for largest heading is
a. <hl> b. <h6> c. <heading> d. <head>
________________________________________ || _____________________________________
83. Valid values of behavior attribute of the <marquee> tag in html
a. Slide b. Scrolling c. HR£F d. Alternative
________________________________________ || _____________________________________
84. ____ attribute of<embed> tag is used to hide controls.
a. hidden b. hide c. invisible d. disable
________________________________________ || _____________________________________
85. The items of unordered list are rendered with
a. numbers b. bullets c. alphabets d. space
________________________________________ || _____________________________________
86. The HTML <FONT>tag includes the following valid attributes
a. type b. face c. value d. caption
________________________________________ || _____________________________________
Information Technology 48
Web-Publication
87. Align attribute can be used in
a. <img> b. <p> c. <frame> d. <a>
________________________________________ || _____________________________________
88. The language used to develop WebPages is
a. HTML b. HTTP c. Browser d. Protocol
________________________________________ || _____________________________________
89. ____ tag includes blank line into the text in html document.
a. <> b. <tr> c. <br> d. <hr>
________________________________________ || _____________________________________
90. What is most commonly used name for default page of a website?
a. Front page b. Home page c. First page d. Web page
________________________________________ || _____________________________________
91. Valid type that can be used in HTML <input> tag are
a. <text> b. <check> c. Radio button d. reset
________________________________________ || _____________________________________
92. Choose the correct HTML tag for the smallest heading
a. <head> b. <heading> c. <h6> d. <h1>
________________________________________ || _____________________________________
93. Default scrolling value in <frame> tag is
a. No b. Yes c. On d. Off
________________________________________ || _____________________________________
94. ____ number of coordinates required for rectangle.
a. 2 b. 3 c. 4 d. 8
________________________________________ || _____________________________________
95. ____ attribute of the <Applet> tag specifies the folder location of all necessary class files on the
web server.
a. codebase b. code c. hspace d. codename
________________________________________ || _____________________________________
96. Choose the correct HTML tag to make a text italic
a. <ii> b. <italics> c. <i> d. <it>
________________________________________ || _____________________________________
97. ______ tag is used to display comment in HTML.
a. <!-- -> b. <comment> c. // d. /*
________________________________________ || _____________________________________
98. The valid attributes of<hr> in html is
a. noresize b. height c. width d. clear
________________________________________ || _____________________________________
99. ____attribute of<img> tag indicates the amount of space to the left and right of the image.
a. loop b. leftmargin c. hspace d. vspace
________________________________________ || _____________________________________
100. The correct html tag for largest page heading is
a. <hl> b. <h6> c. <heading> d. <head>
________________________________________ || _____________________________________
101. How can you make a list that lists the items with circles?
a. <list> b. <ol> c. <ul> d. <n>
________________________________________ || _____________________________________
Information Technology 49
Web-Publication
102. Which tag in html is used to group sentences in paragraph
a. <para> b. <p> c. <br> d. <b>
________________________________________ || _____________________________________
103. <TD ROWSPAN=2 COLSPAN=2> will merge totally ____ number of cells.
a. 4 b. 6 c. 8 d. 2
________________________________________ || _____________________________________
104. Choose the correct HTML tag to make a text bold
a. <b> b. <bold> c. <bld> d. <bb>
________________________________________ || _____________________________________
105. A tag interprets blank space, paragraphs and line break as they appear in html source file
a. <pre> b. <tt> c. <html> d. <format>
________________________________________ || _____________________________________
106. Valid physical style for italic
a. <it> b. <i> c. <tt> d. <italic>
________________________________________ || _____________________________________
107. Web pages and online applications are created by using
a. Visual Basic scripting b. MS-Access c. Paint brush d. Photoshop
________________________________________ || _____________________________________
108. The default value of SIZE attribute in <FONT> tag is
a. +3 b. 10 c. 11 d. 5
________________________________________ || _____________________________________
109. Which of the following HTML tags are all related to tables
a. <table><tr><tt> b. <table><td><tr> c. <table><td><tt> d. <table><dt><tt>
________________________________________ || _____________________________________
110. The anchor tag is used in HTML with preference to
a. Hyperlink sources of destination b. Form subdivision
c. Image location fixing d. Table location fixing
________________________________________ || _____________________________________
111. Frames can be interlinked using ____
a. Name and SRC attribute b. SRC and Target attribute
c. SRC and Link attribute d. Name and Target attribute
________________________________________ || _____________________________________
112. What attribute used in HTML for bgcolor for entire page?
a. Bgcolor b. Bodybackground c. Background d. Bodycolor
________________________________________ || _____________________________________
113. Which is one correct option for representing RGB values in HTML page.
a. <___ bgcolor= //3390ff> b. <___ bgcolor= "#3390ff">
c. <___bgcolour- "3399ff"> d. <___bgcolor= "3399ff'>
________________________________________ || _____________________________________
114. To type a single line of text in the text entry field you can use
a. Type=text b. Type= 'alphabet' c. Type= number d. Type= radio
________________________________________ || _____________________________________
115. ____ is not a browser.
a. Netscape navigator b. Mozilla c. Firefox d. Front page
________________________________________ || _____________________________________
Information Technology 50
Web-Publication
116. What is the correct HTML code for making a text area?
a. <input type="textarea"> b. <textarea> c. <input type="textbox"> d. <text>
________________________________________ || _____________________________________
117. ____ tag is used to avoid displaying text o browser.
a. <!-____-> b. <?-____-?> c. </- ____ -> d. <*- ____ *>
________________________________________ || _____________________________________
118. W3C means
a. World Wide Web Consortium b. World Wide Web Consumer
c. World 3 Consortium d. World Class Consortium
________________________________________ || _____________________________________
119. <Title> tag is present inside
a. <head> </head> b. <body></body> c. <form> </form> d. None of these
________________________________________ || _____________________________________
120. A tag is used to provide large editable text input area.
a. Area b. fontarea c. textarea d. text
________________________________________ || _____________________________________
121. In HTML we can't perform the task like
a. Image loading b. Mathematical calculation c. Image mapping d. Playing sound
________________________________________ || _____________________________________
122. Common Formatting of HTML page is
a. tag>...</tag> b. <tag>...</nottag> c. <tag>.,.<tag> d. <tag>...<'nottag>
________________________________________ || _____________________________________
123. URL stands for
a. Uniform resource locator b. Uniform remains locator
c. Uniform reset locator d. Unique Resource locator
________________________________________ || _____________________________________
124. What is the correct HTML for making a checkbox?
a. <input type="checkbox"> b. <input type="check"> c. checkbox> d. <check>
________________________________________ || _____________________________________
125. How can you make an e-mail link?
a. <a href=;"xxx@yyy"> b. <mail>xxx@yyy</mail>
c. <a href="mailto:xxx@yyy"> d. <mail href="xxx@yyy">
________________________________________ || _____________________________________
126. Which of the following syntax opens link in new browser window?
a. <a href="url" target="new"> b. <a href="url" new>
c- <a href="url" target="_blank"> d. <a url="new">
________________________________________ || _____________________________________
127. What is the correct HTML code for making an input field (single entry textbox)?
a. <text input type="text"> b. <input type="text"> c. <textfield> d. <select>
________________________________________ || _____________________________________
128. What is the correct HTML code for making a drop-down list?
a. <input type="list"> b. <input type="dropdown"> c. <select> d. <list>
________________________________________ || _____________________________________
129. What is the correct HTML code for inserting an image?
a.<img>image.gif</img> b.<image src="image.gif> c.<img src="image.gif> d.<img href="image.gif>
________________________________________ || _____________________________________
Information Technology 51
Web-Publication
130. Which tag is used to divide web page horizontally?
a. <Frameset cols="50%.50%"> b. <Frame cols="50%,50%">
c. <Frameset rows="50%,50%"> d. <Frameset rows>
________________________________________ || _____________________________________
131. Cross browser testing help to know____.
a. Difference in rendering of WebPages b. Different web pages
c. Styles the pages d. Design the web pages
________________________________________ || _____________________________________
132. MIME stands for ………..
a. Multipurpose Internet mail extension b. Multi Internet mail extension
c. Multinational Internet mail extension d. Multiple Internet mail extension
________________________________________ || _____________________________________
133. Who is making the Web standards?
a. The World Wide Web Consortium b. Netscape
c. Microsoft d. IBM
________________________________________ || _____________________________________
134. What is the correct HTML for adding a background color?
a. <body bgcolor="yellow"> b. <background>yellow</background>
c. <body color="yellow"> d. <body bg="yellow">
________________________________________ || _____________________________________
135. By using frame tags in html code the browser window can provide a view that is divided
a. Horizontally only b. Vertically only
c. Separator only d. Horizontally, Vertically or both ways
________________________________________ || _____________________________________
136. What is the correct HTML-code for inserting a background image?
a. <body background="background.gif> b. <img src="background.gif'>
c. <img background="background.gif'> d. <body src="background.gif'>
________________________________________ || _____________________________________
137. What is correct HTML used to defined an alternative text for an image?
a. <img src = "image.gif alt = "image is displayed" b. <img alt = "image is displayed">
c. <img alternate = "image is displayed"> d. <img text = "image is displayed">
________________________________________ || _____________________________________
138. For adding image as link, following is a valid tag
a. <p><img src ="abc.bmp></p> b. <a herf="abc.html"><img src="clouds.jpg"></a>
c. <a href="abc.html"><img src=" clouds jpg"x/a> d. None of the above
________________________________________ || _____________________________________
139. What is the correct HTML for making a hyperlink?
a. <a> http://www.w3 schools.corn </a> b. <a urI="http://vvww-w3schools.com">W3Schools.com</a>
c. <a href="http:/Avww.w3schools.com">W3Schools</a>
d. <aname="http://www.w3schools.com">W3 Schools, corn </a>
________________________________________ || _____________________________________
140. The correct way of representing value for color related html attributes are
a. #aabbcc(where aa,bb,cc represents a hex no.)b. =aabbcc( where aa,bb,cc represents a hex no.)
c. color name d. #aacc(where aa,cc represents a hex no.)
________________________________________ || _____________________________________
Information Technology 52
Web-Publication
141. The ----- tag encloses client – side image map specification.
a) <AREA> b) <MAP> c) FRAME> d)None
________________________________________ || _____________________________________
142. You can create and edit True Type font file with the help of -------.
a) Web Font Creator b) <FONT> c) <FONT FACE> d) Font File
________________________________________ || _____________________________________
143. ------ lets you create document that collect and process user input.
a) INPUT b) FRAME c) SELECT d) FORM
________________________________________ || _____________________________________
144. -------- audio tag can only be used with internet explorer
a) BGSOUND b) EMBED c) META d) None of these
________________________________________ || _____________________________________
145. The ------ tag supplies a parameter to an embedded object.
a) <APPLET> b) <PARAM> c) <PARAMETER> d) None of these.
________________________________________ || _____________________________________
146. A ----- distributes HTML document on request.
a) Web Browser. b) Web Server c) Protocol d) URL
________________________________________ || _____________________________________
147. ------ provides the middleware between www servers and external databases and Information
sources.
a) Protocol b) ASP c) CGI d) None of these
________________________________________ || _____________________________________
148. To access and display HTML document, we run program, called -----
a) Browser b) Servers c) Protocols d) URLS
________________________________________ || _____________________________________
149. ------- tag is used to bold the text.
a) <BIG> b) <B> c) <U> d) None
________________________________________ || _____________________________________
150. IIS is ------- server.
a) UNIX b) Windows c) Both a and b d) None of these
________________________________________ || _____________________________________
Information Technology 54
Web-Publication
20. The valid values for the method attribute of the <form> tag in html are
a. Get b. Post c. Get post d. Bring
________________________________________ || _____________________________________
21. Following web browsers are most popular.
a. NCSA Mosaic b. Lynx c. Microsoft IE d. Netscape Navigator
________________________________________ || _____________________________________
22. The <P> tag has one optional attribute, it allow you to specify where the text appear on the
screen.
a) <Size> b) <align= “Top”> c) <align= “left”> d) <align= “Right”>
________________________________________ || _____________________________________
23. Which is the valid List Type of <UL> tag.
a) Circle b) Poly c) Rect d) Square
________________________________________ || _____________________________________
24. Which of the following List Type use with <OL> Tag.
a) Lowercase alphabet b) <OL type= “I”> c) <OL type= “10”> d)<OL type= “A”>
________________________________________ || _____________________________________
25. Which of the following attribute support to <Meta> tag.
a) Name b) Content c) URL d) SRC
________________________________________ || _____________________________________
26. You can upload the file through.
a) FTP b) HTML editor c) Browser d) URL
________________________________________ || _____________________________________
27. Red color in HTML can be specified by
a) # FF 00 00 b) RED c) # 00 FF 00 d) RGB
________________________________________ || _____________________________________
28. The different type of URLs are
a)Link b)FTB c)Gopher d)Telnet
________________________________________ || _____________________________________
29. <TR> tag can include-
a)BGcolor b)VALIGN c)Caption d)TH.
________________________________________ || _____________________________________
30. The control attribute of <Embed> tag work with which type.
a) Console b) Playbutton c) Shape d) Volume
________________________________________ || _____________________________________
Information Technology 56
Web-Publication
15. The values that can be used with TYPE attributes in ordered lists are
a. TYPE = "1" b. TYPE = "a" c. TYPE = "*"
d. TYPE = "DISC" e. TYPE=”i” f. TYPE="J"
________________________________________ || _____________________________________
16. Some common video formats are
a. .swf b. .wmv c. .wav d. .midi e. .mp3 f. .mpeg
________________________________________ || _____________________________________
17. ALIGN attribute in <MARQUEE> tag can have different values
a. Top b. Middle c. Comer
d. Bottom e. Center f. Left
________________________________________ || _____________________________________
18. <BODY> tag can be used with following attributes.
a. BGCOLOR b. BACK c. DATA
d. LINK e. VLINK f. GLINK.
________________________________________ || _____________________________________
19. RGB contains following different colors
a. Red b. Gray c. Green d. Black e. Blue f. Yellow
________________________________________ || _____________________________________
20. The heading tags provide the alignment setting as
a. Left b. Comer c. Center
d. Right e. Bottom f. Top
________________________________________ || _____________________________________
21. Following are the formats that can be used as sound file.
a. Wave formats b. MIDI formats c. IFF
d. MP3 e. Real Audio f. Video Format
________________________________________ || _____________________________________
22. The attributes of the <AREA> tag are as follows.
a. ALT b. COORDS c. POINTS
d. SRC e. MAP f. TARGET
________________________________________ || _____________________________________
23. The Controls used in <BGSOUND> tag are as follows
a. PLAYBUTTON b. BIG COTROL c. CONSOL
d. CLOSEBUTTON e. PAUSEBUTTON f. MUTBUTTON
________________________________________ || _____________________________________
24. Tags of HTML are
a. <HEAD> b. <BODY> c. <PER>
d. <TABLE> e. <OK> f. <TEXT>
________________________________________ || _____________________________________
25. Server side image map requires
a. A map page on server b. A map file c. Image
d. A form element e. Width f. Map ID
________________________________________ || _____________________________________
26. ASP supports following languages
a. VBScript b. Java c. JavaScript
d. Fortran e. Basic f. Color
Information Technology 57
Web-Publication
________________________________________ || _____________________________________
27. To set image alignment by using which attribute.
a) Top b) Left c) Bottom
d) Middle e) Right f) Center
________________________________________ || _____________________________________
28. <Table> tag create table in tabular form by using the help of which Tag.
a) <TD> b) <Caption> c) <TH> d) <TR>
________________________________________ || _____________________________________
29. Which is the valid syntax for <Img> tag.
a) <Img Src= “File name” align = “left”> b) <Img Src= “File name” alt= “abc”>
c) <Img dynsrc= “globe.jpg” align = “center”> d) <Img dynsrc=“v1.avi” Loop= “20”>
________________________________________ || _____________________________________
30. The list tag are-
a) <LI> b) <UL> c) <OL> d) <A>
________________________________________ || _____________________________________
Information Technology 59
Web-Publication
________________________________________ || _____________________________________
11) The sequence of events for creating a form element are as follows
A) <html> B) </head> <body> <form name= "f>
C) <select name= "fruits" multiple> D) <option name= "f2" value= "o"> Orange
E) <option name= "f3" value="b">Banana</select> </form></body> </html>
F) <option name= "fl" value= "m"> Mango G) <head> <title> Select List </title>
________________________________________ || _____________________________________
12) The sequence of events for client side image mapping are as follows .
A) </MAP> B)<BODY>
C) <MAP NAME = "map">
D) <H1 ALIGN = "CENTER">A client-side image map </H1>
E) < IMG SRC = "state.jpg" BORDER = "0" USEMAP = "#map">
F) <AREA SHAPE - CIRCLE COORDS = "300, 125, 25" HREF= "bh.jpg">
G) </BODY>
H) <AREA SHAPE=CIRCLE COORDS = "500, 325, 25" HREF= "sh.jpg">
________________________________________ || _____________________________________
13) The sequence of events for creating a list element
A)<BODY> B) </SELECT>
C) </FORM> D) <OPTION value="Vall"> Pentium I
E) < INPUT TYPE="SUBMIT" value="submit">
F) <OPTION selected value="Val2"> Pentium II
G) <SELECT name="browser">
H) </BODY> I) <FORM METHOD=POST ACTION=abc.asp>
________________________________________ || _____________________________________
14) Sequence of events for creating a multiline text boxes are as follows :
A) <INPUT TYPE="SUBMIT" value="submit"> B) </BODY>
C) <TEXTAREA name="text" COLS="25" rows ="3"><TEXTAREA><P>
D) <HTML> E) <HEAD ><TITLE>Multi. Text boxes</TITLE></HEAD>
F) </FORM> G) <BODY> H) <FORM METHOD-POST ACTION="abc.cgi">
________________________________________ || _____________________________________
15) The sequence of events for using <bgsound> and <meta> tag in html document are as follows.
A) <HEAD><TITLE> Using BGSOUND </TITLE>
B)<BODY> C) </HEAD> D) <HTML> E) <BGSOU ND SRC = "I.mid">
F) </BODY> G) </HTML> H)<META HTTP-EQUIV="refresh" content="5;URL=I.mid">
________________________________________ || _____________________________________
16) Rearrange the following.
A) <ol type="i" > B) <li><b>Web Publication</b></li>
C) <li>A. Basic Tags</li> D) <ol type="l"> E) <li>.B. Frame</li> F) </ol>
G) <li>C. Hyperlinks </li></ol>
________________________________________ || _____________________________________
17) Rearrange the following.
A) <html> <body> B) <table border="l" size="50%">
C) <tr><ld> 1 </td><td>ssc</td><td>23</td>
D) </tr> <tr><td>2</td> E) <td>raj</td> <td>24</td></tr></table></body></html>
F) <tr><th>Sr</th><th>Name</th><th>Age</th></tr>
G) <tr><th colspan="3">Sludent</th></tr>
Information Technology 60
Web-Publication
________________________________________ || _____________________________________
SOLVE THE PROGRAM
Information Technology 61
Web-Publication
Information Technology 62
Web-Publication
Information Technology 63
Web-Publication
1) Write a program in HTML to display <td colspan=2 align=center><h4> India win by 2
embedded control to play audio or video Run </h4></td>
</tr></table>
file </body>
<html><body> </html>
2) Write a program in HTML to display the
<embed src=”c:\a1.wav” hidden=false
output 2.
Autostart=true> </body> </html>
<html>
<body>
<table border=1 width=45%>
<tr>
<td rowspan=2 align=center bgcolor=green>
2) Write a program in HTML to display the <h2>India <br> 301/2</h2></td>
following output. <td align=center bgcolor=red>
<h4> Sachin 109 *</h4></td>
</tr>
<tr>
<td align=center bgcolor=orange><h4> Kartik 53
</h4></td>
</tr>
<tr>
<html> <body> <td rowspan=2 align=center
<table border=1 width=45%> bgcolor=blue><h2>Overs 31.2</h2></td>
<tr>
<td rowspan=2 align=center> <td align=center bgcolor=red><h4> Pak 320
<h2>India <br> 301/2</h2></td> </h4></td>
<td align=center>
</tr>
<h4> Sachin 109 *</h4></td>
</tr> <tr>
<tr> <td align=center bgcolor=orange><h4> Akhtar
<td align=center><h4> Kartik 53 </h4></td>
6.2-0-04 </h4></td>
</tr>
<tr> </tr>
<td rowspan=2 align=center><h2>Overs <tr>
31.2</h2></td>
<td align=center><h4> Pak 320 </h4></td> <td colspan=2 align=center bgcolor=yellow><h4>
</tr> India win by 2 Run </h4></td>
<tr> </tr></table>
<td align=center><h4> Akhtar 6.2-0-04
</h4></td> </body>
</tr> </html>
<tr>
Information Technology 64
Web-Publication
<html>
<body>
<table border=1 width=40% frame=box rules=rows>
<tr bgcolor=yellow align=left>
<th><input type=checkbox>Column0
<th>Column1</th> <th>Column2</th>
<tr> <td><input type=checkbox>abc
<td>abc </td> <td>abc</td>
<tr> <td><input type=checkbox>abc
<td>abc</td> <td>abc</td>
<tr> <td><input type=checkbox>abc
<td>abc </td> <td>abc</td>
<tr> <td><input type=checkbox>abc
<td>abc</td> <td>abc</td>
<tr> <td><input type=checkbox>abc
<td>abc</td> <td>abc</td>
</tr> </table> </body> </html>
Information Technology 65
Web-Publication
<html>
<body>
<table bgcolor=lime cellspacing=10 width=30%>
<tr>
<td bgcolor=red align=center>
<input type=radio name=p1>Red<td>
<td bgcolor=yellow align=center>
<input type=radio name=p1>Yellow<td>
<tr>
<tr>
<td bgcolor=blue align=center>
<input type=radio name=p1 checked>Blue<td>
<td bgcolor=green align=center><input type=radio name=p1>Green<td>
<tr>
</table>
</body> </html>
Information Technology 66
Web-Publication
<html>
<body bgcolor=orange>
<form>
Username : <input type=text> (Not Case Sensitive) <br>
Password : <input type=password> (Not Case Sensitive) <br>
<input type=button value=submit>
</form></body> </html>
<html>
<head>
<title> checkbox </title>
</head>
<body bgcolor=red>
<form>
<fieldset style="width:250">
<legend>Checkbox Properties</legend>
Name : <input type=text><br>
Value : <input type=text> <br>
Checked : <input type=checkbox name=p1><br>
Required <br> Field :
<input type=checkbox name=p2><br>
<input type=button value=Ok>
<input type=button value=Cancel>
</fieldset>
</form>
</body></html>
Information Technology 67
Web-Publication
10) Write a program in HTML to display the output 10.
<html>
<head>
<title>radio button example</title>
</head>
<body bgcolor=green>
<fieldset style="width:200">
<legend>Group 1</legend>
<input type=radio name=p1 checked>Button 1<br>
<input type=radio name=p1>Button 2<br>
<input type=radio name=p1>Button 3<br><br><br>
</fieldset>
<fieldset style="width:200">
<legend>Group 3</legend>
<input type=checkbox name=p2>Button 1<br>
<input type=checkbox name=p3>Button 2<br>
<input type=checkbox name=p4>Button 3<br><br><br>
</fieldset>
</body>
</html>
<html>
<body>
<form>
<p style="background-color:purple">
<font color=red size=+3> Checkbox</font></p>
Name <br>
<input type=text size=30><br>
Value <br>
<input type=text size=30><br>
Selected <input type=checkbox name=p1><br>
<p style="background-color:yellow">
<input type=button value=Ok style="width:200">
<input type=button value=Cancel>
</form>
</body>
</html>
Information Technology 68
Web-Publication
12) Write a program in HTML to display the output 12.
<html>
<body bgcolor=orange>
<form>
<p style="background-color:red"><b>
What are your favorite game?</b></p></br>
<b>Please select your references</b><br>
<select>
<option>1</option>
<option>2</option>
<option selected>3</option>
</select> Football
<select>
<option>1</option>
<option>2</option>
<option>3</option>
<option selected>4</option>
</select> Basketball <br><br>
<select>
<option>1</option> <option>2</option> <option>3</option> <option>4</option>
<option selected>5</option>
</select> Baseball
<select>
<option>1</option> <option>2</option> <option>3</option> </select> Golf
<br><br>
<input type=button value=Continue>Continue with the next survey items<br>
<input type=button value=goback>Return to previously answered items </form> </body> </html>
Information Technology 69
Web-Publication
14) Write a program in HTML to display the output 14.
<html>
<body bgcolor=skyblue>
<input type=text name=p1 style="width:70">
<input type=button name=p2 value=SEARCH style="background-color:yellow"><br><br>
<select>
<option>100</option>
<option selected>200</option>
<option>300</option>
<option>400</option>
</select>Image Per Page<br><br>
<input type=checkbox name=p3 checked>Royalty Free<br>
<input type=checkbox name=p4 checked>Rights Managed
</body>
</html>
<html>
<body bgcolor=blue>
<form>
<font color=red>Choice</font><br>
<input type=text size=40><br>
<input type=checkbox> <font color=yellow> Specify Value</font><br>
<input type=text size=40><br>
<font color=red>Initial State _________________ </font>
<br>
<input type=radio name=x1> <font color=yellow> Selected </font>
<br>
<input type=radio name=x1> <font color=yellow> Not Selected </font>
<br>
<input type=button value=Ok>
<input type=button value=Cancel>
</form>
</body>
</html>
Information Technology 70
Web-Publication
16) Write a program in HTML to display the output 16.
<html>
<body>
<font color=blue size=+2><b>Browser By Category</b></font><br>
<hr color=green size=5>
<table>
<tr>
<td>
<ul type=square>
<li><a href=a.html> Windows </a></td>
<td>
<ul type=square><li><a href=a.html> Office </a></ul></td>
<td>
<ul type=square>
<li><a href=a.html> Developers </a></ul></td>
</tr>
<tr>
<td>
<ul type=square>
<li><a href=a.html> It Professionals </a></td>
<td>
<ul type=square><li><a href=a.html> Business Users </a></ul></td>
<td>
<ul type=square>
<li><a href=a.html> Home Users </a></ul></td>
</tr>
<tr> <td>
<ul type=square>
<li><a href=a.html> Hardware </a></ul</td>
<td>
<ul type=square><li><a href=a.html> Game and Xbox </a></ul></td>
<td>
<ul type=square>
<li><a href=a.html> Game Software </a></ul></td>
</tr><td>
<ul type=square>
<li><a href=a.html> All Products </a></ul</td>
<td>
</a></ul></td>
<td>
</a></ul></td></tr></table></body></html>
Information Technology 71
Web-Publication
17) Write a program in HTML to display the output 17.
<html>
<body bgcolor=yellow>
<form>
<fieldset style="width:300">
<legend>Effect</legend>
<input type=checkbox name=p1> Bold
<input type=checkbox name=p2> Italic
<input type=checkbox name=p3> Underline <br><br>
<input type=checkbox name=p4> Superscript
<input type=checkbox name=p5> Subscript <br><br>
<input type=checkbox name=p6> Strikeformat
</form>
</body>
</html>
Information Technology 72
Web-Publication
20) Write a program in HTML to display the output 20.
<html>
<body>
<center>
<table border=1>
<tr bgcolor=yellow>
<td><a href=a1.html>About Us</a></td>
<td><a href=a2.html>Travel of India</a></td>
<td><a href=a3.html>Air Fares</a></td>
<td><a href=a4.html>Rail Fares</a></td>
<td><a href=a5.html>Bus Fares</a></td>
</tr>
</table>
<font color=red size=+2><u>Air Fares : Within India</u></font><br>
Departure City : Destination City :<br>
<select>
<option>Mumbai</option>
<option>Pune</option>
<option>Madras</option>
</select>
<select>
<option>Delhi</option>
<option>Hyderabad</option>
<option>Nasik</option>
</select><br><br>
<b>Travle Class</b>
<select>
<option>Economy</option>
<option>First-class</option>
<option>Second-class</option>
</select>
</select><br><br>
<b> For Customize fare : <a href=a1.html> Click Here</a></b>
</form>
</body>
</html>
Information Technology 73
Web-Publication
21) Write a program in HTML to display the output 21.
<html>
<body bgcolor=red>
<form>
<fieldset style="width:350">
<legend><h1>Search notmar</h1></legend>
<input type=text value="Enter Chart"> or
<input type=text value="Select Chart"> <br>
<fieldset style="width:145">
<legend>From</legend>
<select style="width:100">
<option>Jan</option>
<option>Feb</option>
<option>Mar</option>
</select><br>
<select style="width:100">
<option>2000</option> <option>2001</option> <option>2002</option> </select> <br>
<select style="width:100">
<option>1</option> <option>2</option> <option>3</option> </select>
</fieldset>
<fieldset style="width:145">
<legend>From</legend>
<select style="width:100">
<option>Nov</option> <option>Dec</option> <option>Oct</option> </select><br>
<select style="width:100">
<option>2005</option>
<option>2006</option>
<option>2007</option>
</select><br>
<select style="width:100">
<option>8</option>
<option>9</option>
<option>10</option>
</select>
</fieldset>
</fieldset>
</form>
</body>
</html>
Information Technology 74
Web-Publication
22) Write a program in HTML to display the output 22.
<html>
<body>
<form>
<b style="background-color:yellow"> Sign in to Gmail with your</b><br>
<font color=green size=+3>G</font>
<font color=red size=+3>o</font>
<font color=maroon size=+3>o</font>
<font color=red size=+3>g</font>
<font color=blue size=+3>l</font>
<font color=maroon size=+3>e</font>
<font color=maroon size=+3>A</font>
<font color=green size=+3>c</font>
<font color=blue size=+3>c</font>
<font color=red size=+3>o</font>
<font color=blue size=+3>u</font>
<font color=maroon size=+3>n</font>
<font color=blue size=+3>t</font><br><br>
Username : <input type=text size=30 style="background-color:yellow"><br>
Password : <input type=text size=30 style="background-color:green"><br>
<input type=checkbox name=a> Remember me on this computer<br>
<input type=button value="Sign in">
</form>
</body>
</html>
<html> <body>
<form>
<h2><font color=red> This is example of Inline frame</font></h2>
<iframe src=inline.html height=100 width=270>
</body> </html>
Information Technology 75
Web-Publication
24) Write a program in HTML to display the output 24.
<html>
<body>
<fieldset style="width:400" style="background-color:yellow">
<legend> Border and Color</legend>
Border Color <input type=button style="background-color:blue;width:20">
Line thickness
<select>
<option>Thickness</option>
<option>Wideness</option>
</select>
<br>
<br>
Fill Color <input type=button style="background-
color:red;width:20">
Line Style
<select>
<option>Solid</option>
<option>Double line</option>
</select>
</fieldset>
<br>
<br>
<fieldset style="width:400" style="background-color:yellow">
<legend> Text </legend>
Font Size
<select>
<option>Auto</option>
<option>12</option>
</select>
Text Color <input type=button style="background-color:blue;width:20">
<br>
<br>
Font
<select style="width:218">
<option>Adobe Pi</option>
<option>Adobe Pi</option>
</select> </fieldset></body></html>
Information Technology 76
Web-Publication
25) Write a program in HTML to display the output 25.
<html>
<body bgcolor=green text=blue>
<center>
<select>
<option>Mar 2007</option>
<option>Mar 2008</option>
<option>Mar 2009</option>
</select>
<table>
<tr>
<th>Sun</th> <th>Mon</th> <th>Tue</th> <th>Wed</th> <th>Thu</th> <th>Fri</th> <th>Sat</th>
</tr>
<td> </td> <td> </td> <td> </td> <td>1</td> <td>2</td> <td>3</td> <td>4</td>
</tr>
</tr>
<td style="color:yellow">5</td>
<td>6</td> <td>7</td> <td>8</td> <td>9</td> <td>10</td> <td>11</td> </tr>
</tr>
<td style="color:yellow">12</td>
<td>13</td>
<td>14</td>
<td>15</td>
<td>16</td>
<td>17</td>
<td>18</td>
</tr>
</tr>
<td style="color:yellow">19</td>
<td>20</td>
<td>21</td>
<td>22</td>
<td>23</td>
<td>24</td>
<td>25</td>
</tr>
</tr>
<td style="color:yellow">26</td>
<td>27</td> <td>28</td> <td>29</td> <td>30</td> <td>31</td>
<td> </td>
</tr>
</table>
</body> </html>
Information Technology 77
Web-Publication
26) Write a program in HTML to display the output 26.
<html>
<body bgcolor=red>
<form>
<b>DAYS IN A WEEK</B><br>
<input type=checkbox name=s1>Sunday<br>
<input type=checkbox name=s2>Monday<br>
<input type=checkbox name=s3>Tuesday<br>
<input type=checkbox name=s4>Wednesday<br>
<input type=checkbox name=s5>Thursday<br>
<input type=checkbox name=s6>Friday<br>
<input type=checkbox name=s6>Saturday<br>
<b>LIST OF COMPUTER</B><br>
<select>
<option>Pentium-i</option>
<option>Pentium-ii</option>
<option>Pentium-iii</option>
</select>
<input type=button value=SUBMIT>
</form>
</body>
</html>
<html>
<body bgcolor=navyblue>
<form>
<B> MY FAVORITE LIST</B><br>
<ul>
<li><input type=checkbox name=s1>SUGAR
<li><input type=checkbox name=s1>RICE
<li><input type=checkbox name=s1>GROUND NUT
<li><input type=checkbox name=s1>MUSTARD
<li><input type=checkbox name=s1>GINGER
</UL
<b>USER REGISTRATION</B><br>
<textarea cols=20 rows=5>
</textarea>
</form>
</body>
</html>
Information Technology 78
Web-Publication
28) Write a program in HTML to display the output 28.
<HTML>
<BODY>
<TABLE BORDER=1 width=15%>
<TR align=center>
<TD bgcolor=orange><font size=+2>a</font></td>
</tr>
<TR align=center>
<TD bgcolor=red><font size=+2>a b</font></td>
</tr>
<TR align=center>
<TD bgcolor=green><font size=+2>a b c</font></td>
</tr>
<TR align=center>
<TD bgcolor=purple><font size=+2>a b c d</font></td>
</tr>
<TR align=center>
<TD bgcolor=lime><font size=+2>a b c d e</font></td>
</tr>
</table>
</body>
</html>
29) Write a program in HTML to display the output 29.
<HTML>
<BODY>
<TABLE BORDER=1 width=15%>
<TR align=center>
<TD bgcolor=orange><font size=+4 color=red>Hello</font></td>
</tr>
<TR align=center>
<TD bgcolor=red><font size=+3 color=blue>Hello</font></td>
</tr>
<TR align=center>
<TD bgcolor=green><font size=+2 color=lime>Hello</font></td>
</tr>
<TR align=center>
<TD bgcolor=purple><font size=+1 color=pink>Hello</font></td>
</tr>
<TR align=center>
<TD bgcolor=lime><font size=1 color=purple>Hello</font></td>
</tr>
</table>
</body></html>
Information Technology 79
Web-Publication
30) Write a program in HTML to display the output 30.
<HTML>
<BODY>
<TABLE BORDER=1 width=15%>
<TR align=center>
<TD bgcolor=orange><font size=1 color=red>Hello</font></td>
</tr>
<TR align=center>
<TD bgcolor=red><font size=+1 color=blue>Hello</font></td>
</tr>
<TR align=center>
<TD bgcolor=green><font size=+2 color=lime>Hello</font></td>
</tr>
<TR align=center>
<TD bgcolor=purple><font size=+3 color=pink>Hello</font></td>
</tr>
<TR align=center>
<TD bgcolor=lime><font size=+4 color=purple>Hello</font></td>
</tr>
</table>
</body> </html>
31) Write a program in HTML to display the output 31.
<HTML>
<BODY>
<TABLE BORDER=1 width=15%>
<TR align=center>
<TD bgcolor=orange><font size=+2>a b c d e</font></td>
</tr>
<TR align=center>
<TD bgcolor=red><font size=+2>a b c d</font></td>
</tr>
<TR align=center>
<TD bgcolor=green><font size=+2>a b c</font></td>
</tr>
<TR align=center>
<TD bgcolor=purple><font size=+2>a b</font></td>
</tr>
<TR align=center>
<TD bgcolor=lime><font size=+2>a</font></td>
</tr>
</table>
</body>
</html>
Information Technology 80
Web-Publication
32) Write a program in HTML to display the following output.
<html>
<body>
<form>
<input type=checkbox name=s1 checked>Cheese<br>
<input type=checkbox name=s2 checked>Lettuce<br>
<input type=checkbox name=s3 checked>Pickles<br>
<input type=checkbox name=s4 checked>Ketchup<br>
<input type=checkbox name=s5 checked>Bacon<br>
<input type=checkbox name=s6>Mayonnaise<br>
<input type=button value=order style="width:200">
</form>
</body>
</html>
<html>
<body>
<form>
<h3>Please Login</h3>
User Name : <input type=text value=hemant><br>
User Name : <input type=password value=hemant><br>
File to Upload : <input type=text>
<input type=button value=Browse...>
</form>
</body>
size=+7>[A+B]<sup>2</sup>[A-B]<sup>2</sup></font>
</body>
Information Technology 81
Web-Publication
</html>
36) Write a program in HTML to display the following output.
<html>
<frameset cols=50,50 rows=50,50>
<frame src="left.html">
<frame src="right.html">
<frame src="btl.html">
<frame src="btr.html">
</frameset>
8) What is image map? How can you create a client – side image map. 4M
Information Technology 83
Web-Publication
ANSWER KEY [Q1] FILL IN THE BLANK
1. left 51. .css 101. vlink
2. hash 52. =foo 102. <area>
3. web browser 53. .map 103. domain
4. ted nelson 54. pixel 104. <img>
5. hypertext 55. angle 105. scrolling
6. <tr> 56. <font> 106. <marquee>
7. paired 57. hotspots 107. marginwidth
8. border 58. html 108. <img>
9. <applet> 59. id 109. frames
10. tag 60. style 110. <iframe>
11. " 61. start 111. <a>
12. <iframe> 62. <sub> 112. url
13. tag 63. style sheets 113. protocol
14. <form> 64. css 114. <noframes>
15. 65. dynsrc 115. internal
16. href 66. 3d layer 116. forms
17. html 67. > 117. .gif
18. attribute 68. floating 118. <input>
19. <noframes> 69. <h6> 119. cellpadding
20. html 70. internal 120. livewire
21. burners lee 71. class 121. cross browser testing
22. rowspan 72. position 122. cgi
23. tag 73. <head> 123. client
24. markup 74. <center> 124. action
25. html 75. color 125. transmission control
protocol
26. container 76. family 126. forms
27. Musical instrument 77. hyperlinks 127. post
digital interface
28. isp 78. <marquee> 128. <input>
29. target 79. Id 129. get
30. weft 80. contextual 130. get
31. param 81. <li> 131. post
32. <embed> 82. six 132. type
33. link 83. <h1> 133. forms
34. forms 84. <comment> 134. <forms>
35. website 85. <pre> 135. type
36. © 86. letter-spacing 136. <meta>
37. mapped 87. id 137. <select>
38. combined client server 88. period 138. <meta>
39. companion 89. <frame> 139. motion picture expert group
40. web browser 90. frame 140. name
41. <embed> 91. link 141. .mid
42. angle brackets 92. RGB 142. pws
43. <font> 93. HTTP 143. web browser
Information Technology 84
Web-Publication
44. weft 94. #ffff00 144. dynamic
45. <ul> 95. alink 145. web server
46. Hyper text transfer 96. <pre> 146. midi
protocol
47. name 97. hotspots 147. <option>
48. false 98. FTP 148. hosting
49. internet information 99. coords 149. <textarea>
service
50. weft 100. <map> 150. perl
Information Technology 85
Web-Publication
ANSWER KEY [Q3] SELECT ONE CORRECT ALTERNATIVES
1. a 26. a 51. b 76. d 101. c 126. c
2. c 27. b 52. a 77. d 102. b 127. b
3. a 28. c 53. a 78. b 103. a 128. c
4. c 29. b 54. a 79. c 104. a 129. c
5. b 30. c 55. a 80. c 105. a 130. a
6. a 31. d 56. a 81. a 106. b 131. a
7. d 32. b 57. d 82. a 107. d 132. a
8. a 33. b 58. a 83. a 108. a 133. a
9. b 34. c 59. a 84. a 109. b 134. a
10. a 35. c 60. c 85. b 110. a 135. d
11. c 36. b 61. b 86. b 111. d 136. a
12. c 37. c 62. b 87. b 112. a 137. a
13. d 38. a 63. a 88. a 113. c 138. b
14. b 39. c 64. c 89. c 114. a 139. c
15. a 40. d 65. b 90. d 115. d 140. a
16. a 41. a 66. c 91. d 116. b 141. b
17. a 42. a 67. b 92. c 117. a 142. a
18. b 43. b 68. c 93. a 118. a 143. d
19. c 44. a 69. a 94. c 119. a 144. a
20. d 45. b 70. b 95. a 120. c 145. b
21. a 46. b 71. a 96. c 121. b 146. b
22. a 47. a 72. a 97. b 122. a 147. c
23. c 48. a 73. d 98. c 123. a 148. a
24. b 49. a 74. c 99. c 124. a 149. b
25. d 50. a 75. b 100. a 125. c 150. c
ANSWER KEY [Q4] SELECT TWO CORRECT ALTERNATIVES
1. a,b 6. a,c 11. b,d 16. a,c 21. c,d 26. a,b
2. a,c 7. a,c 12. a,d 17. a,b 22. c,d 27. a,c
3. a,d 8. b,c 13. a,c 18. a,d 23. a,d 28. c,d
4. a,b 9. a,d 14. a,c 19. a,d 24. b,d 29. a,b
5. a,d 10. a,b 15. a,d 20. a,b 25. a,b 30. a,b
ANSWER KEY [Q5] SELECT THREE CORRECT ALTERNATIVES
1. a,c,f 6. a,b,d 11. a,b,c 16. a,b,f 21. a,b,e 26. a,b,c
2. b,c,e 7. a,c,d 12. a,c,d 17. a,b,d 22. a,b,f 27. b,c
3. a,b,d 8. a,b,d 13. b,e,f 18. a,d,e 23. a,c,e 28. a,c,d
4. a,b,c 9. a,c,d 14. a,b,d 19. a,c,e 24. a,b,d 29. a,c,d
5. a,d,e 10. a,b,d 15. a,b,e 20. a,c,d 25. a,b,c 30. a,b,c
Information Technology 87