HTML
HTML
following.
1.____________tag is used for superscript in HTML.
(ii) <SUP>
(iii) <UP>
(iv) <SUPERSCRIPT>
3.To display defination lists on your web page _________ tag is used.
(i) <DLIST>
(ii) <OL>
(iii) <LI>
(iv) <DL>
Ans : (iv) <DL>
(i) FF0000
(ii) FFFFFF
(iii) 00000F
(iv) 000000
6. Which of the following color name is not allowed to used in HTML _____________
(i) OLIVE
(ii) PURPLE
(iii) ORANGE
(iv) FUCHSIA
Ans. : (iii) ORANGE
(ii) <BR>
(iii) <P>
(iv) <TI>
8. To place the image into an HTML file _________________ attribute is used in IMG tag.
(i) <URL>
(ii) <ALT>
(iii) <SRC>
(iv) <HREF>
(ii) InternetExplorer
(iii) Both
(iii) Oracle
(iv) C++
(ii) <MARQUEE>
(iii) HR
(iv) None of these
2) HTML stands for HyperText Mark-up Language, used to create world wide web document.
3) Using this language user can create web pages which can be viewed in any web browser
such as Netscape Navigator , Internet Explorer, chrome, firefox, Microsoft Edge, Opera etc.
4) Hypertext is ordinary text with extra features such as formatting, images, multimedia and
links to other documents.
5) Mark-up is the process of taking ordinary text and adding extra symbols, such as editor’s
Proof reading symbols. Each of the symbol used for mark-up in HTML is command that tells
the browser how to display the text.
6) Mark-up languages are special type of computer languages. They are concerned with only
Parts of documents according to their functions.
7) They indicate which part of document is title, which is subheading, which is author’s name
and so on.
8) HTML is essentiallly a set of instructions to web browser for formatting and lay out of pages.
1) Hypertext Markup Language or HTML is a set of codes that is used to create document and
then it can be published on the World Wide Web (www) .
2) HTML lets user jump from topic rather than finding and reading information linearly
7) it defines the syntax and placement of special embedded directions which are not displayed
by the browser but it tells the browser how to display the contents of the document.
9) HTML support forms which make it possible to create documents that collect and process
users input.
10) It tells how to make a document interactive through special hypertext links.
1) For creating HTML document, only text editor is needed. No special software is needed.
2) HTML document can be created on any hardware platform using any text editor.
5) Required HTML pages can be updated easily, without changing whole document.
7) Independent work can be done and need not to worry about editing programs.
9) HTML will not cost anything for its use. There are NO expensive licenses to buy or no need
to upgrade to purchase.
10) Learning HTML is simple than any Programming language.
6) The web pages developed in HTML do not have their own interface.
7) Hyperlink is provided in HTML. But for that we need a trip to server at each step.
STUDY OF TAGS
2) HTML stands for HyperText Mark-up Language, used to create world wide web document.
3) Using this language user can create web pages which can be viewed in any web browser
such as Netscape Navigator , Internet Explorer, chrome, firefox, microsoft edge, etc.
4) Hypertext is ordinary text with extra features such as formatting, images, multimedia and
links to other documents.
5) Mark-up is the process of taking ordinary text and adding extra symbols, such as editor’s
Proof reading symbols. Each of the symbol used for mark-up in HTML is command that tells
the browser how to display the text.
6) Mark-up languages are special type of computer languages. They are concerned with only
Parts of documents according to their functions.
7) They indicate which part of document is title, which is subheading, which is author’s name
and so on.
8) HTML is essentiallly a set of instructions to web browser for formatting and lay out of pages.
1) For creating HTML document, only text editor is needed. No special software is needed.
2) HTML document can be created on any hardware platform using any text editor.
5) Required HTML pages can be updated easily, without changing whole document.
7) Independent work can be done and need not to worry about editing programs.
9) HTML will not cost anything for its use. There are NO expensive licenses to buy or no need
to upgrade to purchase.
6) The web pages developed in HTML do not have their own interface.
7) Hyperlink is provided in HTML. But for that we need a trip to server at each step.
1) A tag is a single unit of mark-up. It is a set of symbols defined in HTML to have special
meaning. Tags are instructions that are written directly into text edition.
2) Tags start with a less than sign (<) followed by a keyword and end with greater than (>) sign.
These symbols together known as angle brackets.
3) The tag part is a code usually one or two letter, that specify the type of effect.
There are two types of tags in HTML :
(i) Start tags
(ii) End tags
4) Start tags are used tq begin an effect, and end tags are used to end that effect. Name of
end
tag is same as that of start tag but the name of end tag is preceded by a forward slash (/).
The text written between start tag <I> and end tag </I>
HTML
<I> HTML </I>
Here, the word ‘HTML’ will be displayed in italics.
HTML
<B> <I> Hello </I> </B>
2) The primary part of an HTML document are denoted by <HTML>, <HEAD> , <BODY> and
tags. Each of these tags are known as Document Structure Tags.
3) HTML file always starts with <HTML> tag. Similarly ended with </HTML> tag. It declare text
within web page viewed in a web browser.
(a) The head : It is like an introduction to the page. It generally consists of title of the page To
define head, add <HEAD> tag at beginning and </HEAD> tag at end of heading.
(b) The body : In this user enters the text images and other tags that will actually appear the
web page.
To define the body, place <BODY> tag at beginning and </BODY> tag at the end after the head
section.
(i)<HTML>
(ii)<HEAD>
(iii)<TITLE>
(iv) <BODY>
Ans: The essential and basic tags of HTML code are <HTML> , <HEAD>, <TITLE> and <BODY>
(i) <HTML>
1) In order for the browser to open the HTML file, it must be told that the file is an HTML file.
2) This can be done by making the beginning of the file with <HTML> tag and end of file with
</HTML> tag.
3) All other tags must inside within the <HTML> ….. </HTML> tag.
4) The following example beginning and ends a document with HTML tag.
HTML
<HTML>
<BODY>
This is HTML file,
</BODY>
</HTML>
(ii) <HEAD> :
1) <HEAD> tag defines the header area of the page which is not displayed within the page
itself in the browser.
2) In the <HEAD> section, <TITLE> tag can be used for give the title for the web page. The end
tag </HEAD> ends the header area of the page.
3) For example :
HTML
<HTML>
<HEAD>
<TITLE> WELCOME TO FIRST WEB SITE</TITLE>
</HEAD>
<HTML>
(iii) <TITLE> :
2) The title should be discriptive as it is frequently used by web indexing and searching
programs to name your web page.
3) There should not be extra space between title tag and text of title.
iv) <BODY> :
2) The body section starts with <BODY> tag and ends with </BODY> tag.
3) There are several optional attributes for this tag, such as set background images, change
the font of text by using attributes.
4) The <BODY> …. </BODY> section defines the actual instructions for laying out graphics, text,
multimedia and other elements in the browser’s work’s area.
Q.9 Explain the procedure to prepare and view
HTML document.
Ans : The procedure to prepare and view HTML document is as follows :
Step 1 : Open a text editor e.g. : Notepad.
Step 2 : Write the appropriate HTML code.
Step 3: Save the HTML code in a file having extension HTML.
Step 4: Open the Browser e.g.: Internet Explorer.
Step 5: Browse the file or type in the appropriate address of the HTML file in the address bar,
view the HTML page.
2) A paragraph can be created by enclosing text within paragraph codes <p> and </p>
3) The browser ignores the paragraph created by user while writing codes by pressing, ‘Enter’. User must specifically
define a paragraph in the code by using a Paragraph tag.
4) The <p> tag has one optional attribute called align. It is used to specify where the text appear on screen.
HTML
(i) <P align = left> Left alignment like normal text. </P>
(ii) <P align = right> Text is aligned to right margin, but not justified to left. </P>
(iii) <P align = center> Text is centered. </P>
(iv) <P align = Justify> Text is justified to left and right margin. </P>
2) It tells the browser to wrap the text that follows onto a new line without inserting any extra space between the lines.
3) e.g.
HTML
Sonia Gandhi, <BR> 10 Janpath, <BR> New Delhi.
4) For an entire blank line <BR> tag on that line. For multiple blank lines, just count them and type
<BR> tag on every expected blank line.
3) The <HR> tag takes several optional attribution. For example, to specify line width and how much of the browser’s
window it should span (as a percentage) such as
HTML
<HR SIZE = "6" COLOR="red" WIDTH = "60%">
This displays a line of six pixels thick that spans 60 percent of the browsers windows: The default is to center in the
window.
(3) This tag displays the text in exactly same format as the character and line spacing format defined in source HTML
document.
HTML
<PRE>
1
1 1
1 2 1
1 3 3 1
</PRE>
To give additional emphasis to the text, HTML provides bold face, italics and underlining the words. This can be done
by using <B> , <I> and <U> tags as :
HTML
e.g. <B> Bold Text </B>
<I> is italic tag. The text appearing between start tag (<I>) and end tag (</I>) will be displayed in italics.
HTML
e.g. <I> Italic Text </I>
HTML
e.g.<U> underline text </U>.
(1) It is used for scrolling the text and images on screen from right to left.
(2) The text written between start <marquee> tag and end </marquee> will scroll on screen in horizontal line.
HTML
For e.g. :
<marquee> computer science </marquee>
(3) There are several attributes associated with such as BGCOLOR, HEIGHT and WIDTH.
(4) This is used to scroll the current news or position of different companies in stock market.
HTML
<marquee behavior="scroll" direction="right" scrollamount="5" bgcolor="yellow" width="90%">
This text will scroll from left to right within a yellow background.
</marquee>
(b) <SUP> :
Asked in Board Exam (March 2004) Important
1) <SUP> is superscript tag.
2) The text enclosed within <SUP> (start tag) and </SUP> (end tag) is displayed in superscipt form.
HTML
For eg. : 2 <SUP> 2 </SUP> = 4
It will be displayed as : 2² = 4
(c) <HR> :
(1) <HR> tag is horizontal rule tag, also called as horizontal line.
(2) A web page can be divided into separate sections by using horizontal rule <HR> tag
(4) <HR> tag takes several attributes such as COLOR, SIZE, WIDTH etc.
For e.g. :
HTML
<HR SIZE = "6" COLOR="black" WIDTH = "60%">
This displays a line of six pixels thick that spans 60 percent of the browser’s window.
1) <EM> is emphasis tag. The text appearing between start tag (<EM>) and end tag (</EM>) will be displayed in
italics. This tag is used to empasize the text.
2) The main difference between <EM> tag and <I> tag is that text to speech browsers given spoken emphasis to the
text within emphasis tags, while no such emphasis is given to text within italic tags.
HTML
For eg: . <P> you <EM> must </EM> handover the money to him </P>
Q. 14 What is <Strong> tag ? What is the difference
between <Strong> and <B> tags?
Ans :
(1) <Strong> is strong tag. The text appearing between start tag (<Strong>) and end tag (</Strong>) will be displayed
in bold.
(3) The main difference between <Strong> and <B> tags is that the text to speech reader gives
strident pronunciation to the strong text, while no such strident pronunciation given to bold
text.
HTML
For eg.
<P> If they don't give me that raise <STRONG> tomorrow </STRONG>, I quit </P>
2) Unordered lists requires start and end tags (<UL> and </UL>)
4) Unordered list are bulleted lists, They can be preceded by one of the several bullet styles
like a
Closed Circle:
Open Circle
Square
HTML
<UL>
<LI> Eggs </LI>
<LI> Milk </LI>
<LI> Apples </LI>
</UL>
5) Both <UL> and <LI> and has same set of attributes given below.
TYPE = “CIRCLE”
TYPE = “DISC”
TYPE.= “SQUARE”
The CIRCLE attribute value is used for hollow circle (🔘), the DISC type creates a solid
bullet (⚫) while SQUARE value creates a solid block (◼). The default appearance for a list is
with disc.
6) The end tag (</UL>) is always required at the end of unordered list. Also use </LI> at the end
of each list item.
2) Ordered lists are numbered in some fashion. Ordered lists can be preceded by Arabic
numerals, upper case or lower case Roman numerals, or upper case or lower case
alphanumeric characters.
3) The tags for an ordered list are <OL> (starting tag) and </OL> (ending tag). Also <LI> tag is
used to indicate actual list element.
4) e.g
HTML
<TITLE>
Shopping List
</TITLE>
<BODY>
<OL>
<LI> Eggs </LI>
<LI> Milk </LI>
<LI> Apples </LI>
</OL>
<BODY>
7) There is another attribute START, which allows us to establish the beginning of list’s
number, sequence. It has the form – START = “number”
3) The text or image enclosed between starting tag (<A>) and ending tag (</A>) is a link.
5) With most browsers, the text within these tags is displayed in a different colour and
underlined.
HTML
e.g :
<A HREF = "http:\ \www.rosecards.com">
More Cards </A>
6) The object to which the link has to be made is defined by the HREF attribut. HREF refers to
hypertext reference.
2) <SUB> tag
Asked in Board Exam (March 2004, 2008 ; Oct. 2004, 2005, 2007) Important
1) <SUB> is subscript tag.
2) The text enclosed within <SUB> and </SUB> is displayed in subscript form.
HTML
e.g :
H <SUB> 2 </SUB> O
2) The text enclosed within ed in start tag (<SUP>) and end tag (</SUP>) will be displayed in
superscript form.
HTML
e.g.
E = mc<SUP> 2 </SUP>
It will be displayed as : E = mc 2
4) <FONT> tag:
2) It is used to format the size, type face and colour of enclosed text.
3) The <FONT> tag can be used with three different attributes : SIZE, FACE and COLOR.
4) The SIZE attribute can be specified in absolute or relative values ranging from 1 to 7. Using a
relative font size i.e. by putting plus or minus sign before the number will change the font size
relative to the default size.
5) The COLOR attribute is specified with a RGB code or specify a color name.
6) The FACE attribute specifies a type face that is used for the text enclosed by the font
element.
5) <BIG> tag :
2) The text enclosed within starting tag (<BIG>) and ending tag (</BIG>) is displayed in larger
font.
2) The text enclosed in <SMALL> (starting tag) and </SMALL> (ending tag) is displayed in
smaller font.
7) <STRIKE> tag :
2) The text enclosed within the tags <STRIKE> and </STRIKE> or <S> and </S> would have a
line drawn through the middle of the text.
HTML
e.g. <S> You are mad </S>
8) <HREF> :
3) This attribute marks the anchor as the start of a link to another document or resource or to
a particular place in another document.
4) For e.g.
HTML
<A HREF = "http://www.rediff.com">
Enter your Email-id </A>
In the above e.g. “Enter your Email-id” is the hypertext link to the website indicated URL
specified i.e. rediff.com.
2) In RGB codes, R stands for Red, G stands for Green and B stands for Blue.
3) There are 16 color names is a HTML. They are BLACK, SILVER, GRAY, WHITE, MAROON, RED,
PURPLE, FUCHSIA, GREEN, LIME, OLIVE, YELLOW, NAVY BLUE, TEAL and AQUA.
4) RGB codes are always 6 numbers. First two numbers specify amount of red. Next two
numbers specify amount of green and last two numbers specify amount of blue.
5) By mixing these three primary colors in different amount, it is possible to derive any colors.
7) For Red color, RGB code is # FFOOOO, for Blue color RGB code is # OOOOFF and for green
color, RGB code is # OOFFOO.
8) Yellow is the combination of maximum red and maximum green. Hence, RGB code of
yellow is #FFFFOO.
9) Similarly, RGB code for Black color is # OOOOOO and RGB code for White is # FFFFFF.
i) Inline images : It occur in the middle of a line of text. If a image is large one, then the line
becomes very tall.
ii) Floating images : It cause text to wrap around the image. The paragraph will flow around
the image for several lines, if the image is large.
HTML
e.g (1) :
<P>
<IMG SRC = "C : \My Documents \Lion.jpg" />
</P>
Or
e.g (2) :
<P>
<IMG SRC = "https://source.unsplash.com/200x200/?computer" />
</P>
4) Generally SRC and ALT attribute are always used with <IMG> tag. SRC attribute includes
appropriate path of image file for searching. For any browser, that is not displaying images the
alternate text contained inside the ALT attribute is displayed instead of images.
e.g
HTML
<IMG SRC ="https://source.unsplash.com/200x200/?tree" ALT = "Tree">
5) In addition attribute and sizing attribute are used with <IMG> tag as.
a) For Inline images, alignment attribute has three attribute values that, are ALIGN =”TOP”,
ALIGN = “Middle” and ALIGN = “Bottom”
b) For Floating images there are two attribute values which are ALIGN = “LEFT” and ALGIN =
“RIGHT”
HTML
<IMG SRC = "https://source.unsplash.com/800x600/?water" WIDTH = "200" HEIGHT = "200">
4. Cellspacing Creates space between the cells. <table border = “4” cellspacing = “4″>
5. Bgcolor To give the background color to the table <table border = “4″ bgcolor = “red’”>
7. Align Decides the alignment of the table. Default is left. <table align = “center”>
1) <CAPTION> tag :
HTML
e.g. <TABLE>
<CAPTION ALIGN = "TOP">
Yesterday's Weather
</CAPTION>
</TABLE>
2) <TR> tag:
(March 2005)
1) <TR> is table row tag. The start tag is and end tag is <TR> and tag is </TR>
2) It creates a horizontal row of cells and contains table headings or table data.
3) Each use of a table row element (tag) begins a new table row.
4) A row must contain atleast one table data element or table heading element.
(Mar 2013)
1) <TH> is table heading tag. The start tag is <TH> and the end tag is <TH>.
4) It has ALIGN, VALIGN, CELLSPACING, CELLPADDING etc. attribute to set the heading content
(LEFT, RIGHT, CENTER)
4) <TD> tag :
1) <TD> is table data tag. The start tag is and the end tag is <TD> and the end tag is </TD> .
1) COLSPAN and ROWSPAN are special attributes that can be used with<TH> and <TD> tags.
2) There may be some situation, in which one cell of table to span more than one row or
column. For such situations, COLSPAN and ROWSPAN attributes may be used.
3) The COLSPAN attribute can be used to make cell contents merge with another cell.
eg.
e.g.
Ans :
1) In HTML, link is created to jump from one document to other, or image or any local or Web
pages by using special tag ie. <A> anchor tag. </A>
Syntax : <A HREF="URL"> name or image which can be treated as link . </A>
Here by clicking on Click Here link, destination page i.e. ab.html will be displayed which ;
specified in the path given.
Q. 24 What is script ? Explain VB script. Give one
example.
Ans :
1) A script means a series of commands that will be executed by host environment (or server).
3) By integrating script, make static HTML page active or dynamic, so that it is called as DHTML
ie. dynamic hyper text markup language.
4) Scripting languages are special programming languages. These are used on web page to
control different elements of the page including controls frames and browser interface.
6) VB Script allows web author to write small scripts, that will be executed on users browsers
rather than on the servers.
e.g. An application collects data from a form and then sends it to the server. If it can validate
the data for completeness and correctness before sending it to the server, it will greatly
improve the performance of browsing section. Since data is sent to server only if it is verified
as correct.
HTML
<HTML>
<HEAD>
<TITLE>HELLO WORLD</TITLE>
<SCRIPT LANGUAGE="VBSCRIPT">
SUB can()
Msgbox "HELLO WORLD"
END SUB
</SCRIPT>
</HEAD>
<BODY>
<FORM NAME="FORM1">
<INPUT TYPE="BUTTON" NAME="B1" VALUE="CLICK" ONCLICK="can()">
</FORM>
</BODY>
</HTML>
Q. 26 Give the advantages (features) of VBScript.
Ans :
(i) VBScript designed to be fast :
VB Script does not support any strict data type (i.e. integer, character, float etc.). The only
data type available is varient. It is a special all purpose data type, which can be used to store
any kind of data.
e.g. If we want to create array of top ten students in a class, it would make Sense to to state
array from 1. But we must start array from zero.
ii) VB Script cannot create user defined data type : VB Script p reviges ee Sesser Object and
collections, but does not give provision for a user to teat user defined data type.
(iii) Dynamic data exchange (D.D.E.) : Is not supported in VB Script, as it may violet the
intergit of server.
Q. 28 Write HTML code to create a birthday card.
The card must have appropriate message an link
to www.archiesonline.com
HTML
<!DOCTYPE html>
<html>
<head>
<title>BIRTHDAY CARD</title>
</head>
</html>
<head>
<title>C++ Data types</title>
</head>
<body>
<h2 align="center">
C++ Data types
</h2>
<ol type="1">
<li> Built in
<ol type="1">
<li> Integral
<ol type="1">
<li> Integer </li>
<li> Char </li>
</ol>
</li>
<li> Floating
<ol type="1">
<li> Float </li>
<li> Double </li>
</ol>
</li>
<li> Void </li>
</ol>
</li>
<li> User defined
<ol type="1">
<li> Structure </li>
<li> Class </li>
<li> Union </li>
<li> Enumeration </li>
</ol>
</li>
<li> Derived
<ol type="1">
<li> Arrays </li>
<li> Functions </li>
<li> Pointers </li>
</ol>
</li>
</ol>
</body>
</html>
HTML
<!DOCTYPE html>
<html>
<head>
<title>A-HTML</title>
</head>
<body>
<table border="3">
<caption align="top">
CRICKET ANALYSIS
</caption>
<tr>
<th>COUNTRY</th>
<th>PLAYED</th>
<th>WON</th>
<th>LOSE</th>
</tr>
<tr>
<td><a href="B.HTML">INDIA</a></td>
<td>30</td>
<td>23</td>
<td>07</td>
</tr>
<tr>
<td><a href="B.HTML">AUS</a></td>
<td>24</td>
<td>19</td>
<td>05</td>
</tr>
<tr>
<td><a href="B.HTML">PAK</a></td>
<td>18</td>
<td>02</td>
<td>16</td>
</tr>
<tr>
<td><a href="B.HTML">ZIM</a></td>
<td>10</td>
<td>07</td>
<td>03</td>
</tr>
</table>
</body>
</html>
<HEAD>
<TITLE> COURSES IN COMPUTER SCIENCE
</TITLE>
</HEAD>
<BODY>
<TABLE BORDER="1">
<TR>
<TH COLSPAN="2">
YESHWANT COLLEGE, NANDED
</TH>
</TR>
<TR>
<TH> Course </TH>
<TH> Capacity </TH>
</TR>
<TR>
<TD> B.Sc (comp) </TD>
<TD> 80 </TD>
</TR>
<TR>
<TD> B.Sc (C.A.) </TD>
<TD> 80 </TD>.
</TR>
<TR>
<TD> M.Sc (comp) </TD>
<TD> 30 </TD>
</TR>
<TR>
<TD> M.C.M. </TD>
<TD> 40 </TD>
</TR>
</TABLE>
</BODY>
</HTML>
HTML
<!DOCTYPE html>
<html>
<head>
<title>Merks list</title>
</head>
<body>
<table border="2">
<tr>
<th rowspan="2">Sr. No.</th>
<th rowspan="2">Student<br>Name</th>
<th colspan="3">Marks Obtained</th>
<th rowspan="2">Total</th>
</tr>
<tr>
<th>Test 1</th>
<th>Test 2</th>
<th>Test 3</th>
</tr>
<tr>
<td>1</td>
<td>Maheshwari</td>
<td>150</td>
<td>150</td>
<td>150</td>
<td>450</td>
</tr>
<tr>
<td>2</td>
<td>Akanksha</td>
<td>129</td>
<td>130</td>
<td>131</td>
<td>390</td>
</tr>
<tr>
<td>3</td>
<td>Asma</td>
<td>125</td>
<td>115</td>
<td>120</td>
<td>360</td>
</tr>
</table>
</body>
</html>
HTML
<!DOCTYPE html>
<html>
<head>
<title>Celled Table</title>
</head>
<body>
<table border="3" cellspacing="50">
<tr>
<td>Sunday</td>
<td>Monday</td>
<td>Tuesday</td>
</tr>
<tr>
<td>First</td>
<td>Second</td>
<td>Third</td>
</tr>
</table>
</body>
</html>
HTML
<!DOCTYPE html>
<html>
<head>
<title>Sales Analysis</title>
</head>
<body>
<table border="5" width="100%" cellspacing="0">
<tr>
<td width="40%" colspan="2" rowspan="2"></td>
<td width="60%" colspan="3" align="center">
<b>YEAR</b>
</td>
</tr>
<tr>
<td width="20%" align="center">
<b>1998</b>
</td>
<td width="20%" align="center">
<b>1999</b>
</td>
<td width="20%" align="center">
<b>2000</b>
</td>
</tr>
<tr>
<td width="20%" rowspan="2" align="center">
<b>Sales</b>
</td>
<td width="20%" align="center">
<b>Units</b>
</td>
<td width="20%" align="center">
500
</td>
<td width="20%" align="center">
400
</td>
<td width="20%" align="center">
100
</td>
</tr>
<tr>
<td width="20%" align="center">
<b>Income</b>
</td>
<td width="20%" align="center">
1000
</td>
<td width="20%" align="center">
800
</td>
<td width="20%" align="center">
2000
</td>
</tr>
</table>
</body>
</html>
<head>
<title>Local time and day</title>
</head>
<body>
<h1>Local time is ..</h1>
<hr>
The local time is now
<script language="VBScript">
document.write(Time() + " on " + MonthName(Month(Now), false) + " " + Day(Now) + ", " + Year(Now));
</script>
</body>
</html>
Q. 37 Write the extract output of the following
HTML code with font specifications in brackets :
<body>
<h1>LIST OF BOOKS</h1>
<hr>
<ul type="circle">
<li>C++ Programming</li>
</ul>
<ol type="A">
<li>Microprocessor Programming</li>
<li>Networking Essentials</li>
<li>Microcontrollers</li>
</ol>
</body>
HTML
<HTML>
<HEAD>
<TITLE>Weather Table</TITLE>
</HEAD>
<BODY>
<TABLE BORDER=2>
<CAPTION>
Yesterday's Weather
</CAPTION>
<TR>
<TH>City</TH>
<TH>High</TH>
<TH>Low</TH>
<TH>Wind</TH>
</TR>
<TR>
<TD>Mumbai</TD>
<TD>33</TD>
<TD>24</TD>
<TD>West</TD>
</TR>
<TR>
<TD>Pune </TD>
<TD>34</TD>
<TD>25</TD>
<TD>South</TD>
</TR>
<TR>
<TD>Latur</TD>
<TD>32</TD>
<TD>20</TD>
<TD>South</TD>
</TR>
</TABLE>
</BODY>
</HTML>
<head>
<title>Introduction</title>
</head>
<body>
<h2><b>Terms in Computer</b></h2>
<dl>
<dt>Software</dt>
<dt>Hardware</dt>
<dd>The electronic components used in the computer system are called <b>Hardware</b></dd>
</dl>
</body>
</html>
Software :
Software is a set of programs which is required to run the system. ← (Text size default
regular font is used)
Hardware :
The Electronic component used in the computer used in the computer system is called
as Hardware.
Q.40 Write the exact output of the following HTML
code with font specification in brackets:
Asked in Board Exam (October 2003) Important
<html>
<title>Introduction</title>
<body>
<hr>
<hr>
</body>
</html>
SCHAUM’S OUTLINE SERIES ← (text size is default, Regular, Default font is used)
HTML
<!DOCTYPE html>
<html>
<body>
<table border="1" cellpadding="20" cellspacing="10">
<tr>
<th colspan="3" align="center">SCIENCE</th>
</tr>
<tr>
<td>FY BSc</td>
<td>SY BSc</td>
<td>TY BSc</td>
</tr>
<tr>
<td align="center">300</td>
<td align="center">100</td>
<td align="center">25</td>
</tr>
<tr>
<th colspan="3">ARTS</th>
</tr>
<tr>
<th>FY BA</th>
<th>SY BA</th>
<th>TY BA</th>
</tr>
<tr>
<td align="center">200</td>
<td align="center">150</td>
<td align="center">40</td>
</tr>
<tr>
<th colspan="3">COMMERCE</th>
</tr>
<tr>
<th>FY BCom</th>
<th>SY BCom</th>
<th>TY BCom</th>
</tr>
<tr>
<td align="center">100</td>
<td align="center">70</td>
<td align="center">50</td>
</tr>
</table>
</body>
</html>
HTML
<!DOCTYPE html>
<html>
<head>
<title>Sales and Income Data</title>
</head>
<body>
<table border="1" cellpadding="20">
<tr>
<th rowspan="2" colspan="2"></th>
<th colspan="3">Year</th>
</tr>
<tr>
<th>1999</th>
<th>2000</th>
<th>2001</th>
</tr>
<tr>
<th rowspan="2">Sales</th>
<th>Units</th>
<td>300</td>
<td>750</td>
<td>1,200</td>
</tr>
<tr>
<th>Income</th>
<td>Rs. 3,000</td>
<td>Rs. 7,500</td>
<td>Rs. 12,000</td>
</tr>
</table>
</body>
</html>
Q.44 Write the exact output for the following code
Asked in Board Exam (Oct. 2004) Important
<html>
<head>
</head>
<body>
</body>
</html>
Ans: Output is as follows with font and RGB colors specification in bracket :
Title : XYZ Computers Ltd. ← (Text size in h3, bold. Default font is used default text color)
Address : Shakti Complex, Aurgangabad. ← (Text size is default, regular, Default font is used.
Default text color)
Dealers in : all types of peripherals. ← (Text size in h1, italic, Default font is used, Default text
colour)
HTML
<HTML>
<HEAD>
<TITLE> Celled Table </TITLE>
</HEAD>
<BODY>
<TABLE BORDER=2 CELLSPACING=50>
<TR>
<TD> Sachine </TD>
<TD> Saurav </TD>
<TD> Laxman </TD>
</TR>
<TR>
<TD> First </TD>
<TD> Second </TD>
<TD> Third </TD>
</TR>
</TABLE>
</BODY>
</HTML>
<body>
<ol>
<li>
<li>
<li>
</ol>
<hr noshade>
<ol>
<li>
</ol>
<hr>
</body>
</html>
Ans :
1. Operating systems
2. Data Structurs ← (Textsize regular, default font is used)
3. C++ programming
4. HTML
↑ (Horizontal line with default width)
HTML
<!DOCTYPE html>
<html>
<head>
<title>COMPUTER PAPER ANALYSIS</title>
</head>
<body>
<table border="2" width="100%" cellspacing="15">
<tr>
<td width="25%" rowspan="2" align="center">
COMPUTER <br> SCIENCE
</td>
<td width="25%" align="center">
PAPER - I
</td>
<td width="25%" align="center">
PAPER - II
</td>
<td width="25%" align="center">
TOTAL
</td>
</tr>
<tr>
<td width="25%" align="center">
100
</td>
<td width="25%" align="center">
100
</td>
<td width="25%" align="center">
200
</td>
</tr>
</table>
</body>
</html>